php-8.0.30-src/tests/lang/operators/operator_identical_recusion...

12 lines
150 B
PHP

--TEST--
Test === operator : False recursion detection
--FILE--
<?php
$n = 0;
$a = [[$n]];
$b = [&$a];
var_dump($a === $b);
?>
--EXPECT--
bool(false)