mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +08:00
23 lines
282 B
PHP
23 lines
282 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";
|
|
?>
|
|
--EXPECTF--
|
|
string(5) "space"
|
|
string(5) "space"
|
|
string(5) "space"
|
|
Done
|