mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
14 lines
176 B
Plaintext
14 lines
176 B
Plaintext
|
--TEST--
|
||
|
Identical comparison of array with references
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$foo = 42;
|
||
|
$array1 = [&$foo];
|
||
|
$array2 = [$foo];
|
||
|
var_dump($array1 === $array2);
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
bool(true)
|