写出下面PHP代码运行的输出结果___。echo 'Testing ' . 1 + 2 . '45';
举一反三
- 写出下面PHP代码运行的输出结果____。$a = -1;$b = (bool)$a;$c = $b + (int)"12.6p";echo $c;
- 写出下面PHP代码运行的输出结果____。$price = 12.567;echo sprintf("%'a5.2d", $price);
- 写出下面PHP代码运行的输出结果____。$a = -016;$b = 0x16;$c = $a + $b;echo $c;
- 写出下面PHP代码运行的输出结果____。$a = true;$b = -$a;$c = $b + "12.6p";echo $c;
- 写出下面PHP代码运行的输出结果____。$x = 456;$s = 'abc\$\'123 $x 789';echo $s;