summaryrefslogtreecommitdiff
path: root/tests/lang/operators/operator_identical_recusion-01.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/operators/operator_identical_recusion-01.phpt')
-rw-r--r--tests/lang/operators/operator_identical_recusion-01.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lang/operators/operator_identical_recusion-01.phpt b/tests/lang/operators/operator_identical_recusion-01.phpt
new file mode 100644
index 0000000000..70a7605bae
--- /dev/null
+++ b/tests/lang/operators/operator_identical_recusion-01.phpt
@@ -0,0 +1,10 @@
+--TEST--
+Test === operator : False recursion detection
+--FILE--
+<?php
+$n = 0;
+$a = [[$n]];
+$b = [&$a];
+var_dump($a === $b);
+--EXPECT--
+bool(false)