Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #70573 (Cloning SplPriorityQueue leads to memory leaks) --FILE-- <?php $q1 = ..
Decoded Output download
--TEST--
Bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
--FILE--
<?php
$q1 = new SplPriorityQueue();
$a = 1;
$q1->insert([$a], 1);
$q1->insert([$a], 2);
$q2 = clone $q1;
echo "ok
";
?>
--EXPECT--
ok
Did this file decode correctly?
Original Code
--TEST--
Bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
--FILE--
<?php
$q1 = new SplPriorityQueue();
$a = 1;
$q1->insert([$a], 1);
$q1->insert([$a], 2);
$q2 = clone $q1;
echo "ok\n";
?>
--EXPECT--
ok
Function Calls
None |
Stats
MD5 | 9f8c61abbbb7873ef462d7c8d049d7d1 |
Eval Count | 0 |
Decode Time | 94 ms |