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-- Clone ArrayObject using other with STD_PROP_LIST --FILE-- <?php $a = new ArrayOb..
Decoded Output download
--TEST--
Clone ArrayObject using other with STD_PROP_LIST
--FILE--
<?php
$a = new ArrayObject([1, 2, 3], ArrayObject::STD_PROP_LIST);
$b = new ArrayObject($a);
$c = clone $b;
var_dump($c);
?>
--EXPECT--
object(ArrayObject)#3 (1) {
["storage":"ArrayObject":private]=>
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
}
Did this file decode correctly?
Original Code
--TEST--
Clone ArrayObject using other with STD_PROP_LIST
--FILE--
<?php
$a = new ArrayObject([1, 2, 3], ArrayObject::STD_PROP_LIST);
$b = new ArrayObject($a);
$c = clone $b;
var_dump($c);
?>
--EXPECT--
object(ArrayObject)#3 (1) {
["storage":"ArrayObject":private]=>
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
}
Function Calls
None |
Stats
MD5 | 5cb86b79396f7e1fad4eb8b3e8ddefeb |
Eval Count | 0 |
Decode Time | 147 ms |