php-src/Zend/tests/assign_to_var_004.phpt
2018-10-14 12:07:20 -03:00

23 lines
280 B
PHP

--TEST--
complex cases of variable assignment - 004
--FILE--
<?php
$var = "intergalactic";
$var1 = "space";
$var2 = &$var1;
$var = $var2;
var_dump($var);
var_dump($var1);
var_dump($var2);
echo "Done\n";
?>
--EXPECT--
string(5) "space"
string(5) "space"
string(5) "space"
Done