We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e570196 commit 3a37aebCopy full SHA for 3a37aeb
Cloner/VarCloner.php
@@ -28,7 +28,6 @@ protected function doClone($var)
28
$pos = 0; // Number of cloned items past the minimum depth
29
$refsCounter = 0; // Hard references counter
30
$queue = [[$var]]; // This breadth-first queue is the return value
31
- $indexedArrays = []; // Map of queue indexes that hold numerically indexed arrays
32
$hardRefs = []; // Map of original zval ids to stub objects
33
$objRefs = []; // Map of original object handles to their stub object counterpart
34
$objects = []; // Keep a ref to objects to ensure their handle cannot be reused while cloning
0 commit comments