php-src/Zend/tests/assign_to_var_003.phpt
2008-03-11 10:40:37 +00:00

19 lines
200 B
PHP

--TEST--
complex cases of variable assignment - 003
--FILE--
<?php
$var = 0.213123123;
$var1 = &$var;
$var = $var[1];
var_dump($var);
var_dump($var1);
echo "Done\n";
?>
--EXPECTF--
NULL
NULL
Done