summaryrefslogtreecommitdiff
path: root/tests/lang/engine_assignExecutionOrder_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/engine_assignExecutionOrder_002.phpt')
-rw-r--r--tests/lang/engine_assignExecutionOrder_002.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lang/engine_assignExecutionOrder_002.phpt b/tests/lang/engine_assignExecutionOrder_002.phpt
index c090a452c3..dbb0c0aba4 100644
--- a/tests/lang/engine_assignExecutionOrder_002.phpt
+++ b/tests/lang/engine_assignExecutionOrder_002.phpt
@@ -28,7 +28,7 @@ $g3 = array(30,30);
$g = array($g1,$g2,$g3);
list($e[$f++],$e[$f++]) = $g[2];
// expect 30,30
-var_dump($e);
+var_dump($e);
$i1 = array(1,2);
@@ -38,7 +38,7 @@ $i4 = array(array(1000,2000),3000);
$i = array($i1,$i2,$i3,$i4);
$j = array(0,0,0);
$h = 0;
-// a list of lists
+// a list of lists
list(list($j[$h++],$j[$h++]),$j[$h++]) = $i[3];
var_dump($j);
@@ -50,7 +50,7 @@ list(list($l,$m),$n) = $k;
echo "L=$l M=$m N=$n\n";
-// expect $x and $y to be null - this fails on php.net 5.2.1 (invalid opcode) - fixed in 5.2.3
+// expect $x and $y to be null - this fails on php.net 5.2.1 (invalid opcode) - fixed in 5.2.3
list($o,$p) = 20;
echo "O=$o and P=$p\n";
@@ -65,7 +65,7 @@ list(list(list($r,$s,,$t),list($u,$v),,$w),,$x) = $q4;
echo "$r $s $t $u $v $w $x\n";
-// expect y and z to be undefined
+// expect y and z to be undefined
list($y,$z) = array();
echo "Y=$y,Z=$z\n";
@@ -77,7 +77,7 @@ echo "AA=$aa\n";
list($cc,,$dd) = array(10,20,30,40);
echo "CC=$cc DD=$dd\n";
-// expect the inner array to be defined
+// expect the inner array to be defined
$ee = array("original array");
function f() {
global $ee;