summaryrefslogtreecommitdiff
path: root/Zend/tests/array_with_refs_identical.phpt
blob: a7c6567189b329558573c014a64788155c2f6f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Identical comparison of array with references
--FILE--
<?php

$foo = 42;
$array1 = [&$foo];
$array2 = [$foo];
var_dump($array1 === $array2);

?>
--EXPECT--
bool(true)