summaryrefslogtreecommitdiff
path: root/vendor/symfony/var-exporter/Tests/Fixtures/hard-references-recursive.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/var-exporter/Tests/Fixtures/hard-references-recursive.php')
-rw-r--r--vendor/symfony/var-exporter/Tests/Fixtures/hard-references-recursive.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/symfony/var-exporter/Tests/Fixtures/hard-references-recursive.php b/vendor/symfony/var-exporter/Tests/Fixtures/hard-references-recursive.php
new file mode 100644
index 0000000000..e62d0f2aa2
--- /dev/null
+++ b/vendor/symfony/var-exporter/Tests/Fixtures/hard-references-recursive.php
@@ -0,0 +1,16 @@
+<?php
+
+return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
+ $o = [],
+ [
+ $r = [],
+ $r[1] = [
+ &$r[1],
+ ],
+ ],
+ [],
+ [
+ &$r[1],
+ ],
+ []
+);