mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
19 lines
200 B
PHP
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
|