mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
19 lines
198 B
PHP
19 lines
198 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";
|
|
?>
|
|
--EXPECT--
|
|
NULL
|
|
NULL
|
|
Done
|