标签:string-literals

  • PHP在字符串文字中动态引用变量 - php

    时间:2020-8-28

    我有多个PHP变量的形式 $number1, $number2, $number3 and so on... 我想在循环内部动态引用这些变量以从它们检索信息,但是不确定如何动态引用静态变量。例如: for($i = 1; $i <= 10; $i++) { //The first number to be printed should be the v […]