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-- Create a SplFixedArray from an array using the fromArray() function don't try to ..
Decoded Output download
--TEST--
Create a SplFixedArray from an array using the fromArray() function don't try to preserve the indexes.
--CREDITS--
Philip Norton [email protected]
--FILE--
<?php
$array = SplFixedArray::fromArray(array(1 => 1,
2 => '2',
3 => false),
false);
var_dump($array);
?>
--EXPECT--
object(SplFixedArray)#1 (3) {
[0]=>
int(1)
[1]=>
string(1) "2"
[2]=>
bool(false)
}
Did this file decode correctly?
Original Code
--TEST--
Create a SplFixedArray from an array using the fromArray() function don't try to preserve the indexes.
--CREDITS--
Philip Norton [email protected]
--FILE--
<?php
$array = SplFixedArray::fromArray(array(1 => 1,
2 => '2',
3 => false),
false);
var_dump($array);
?>
--EXPECT--
object(SplFixedArray)#1 (3) {
[0]=>
int(1)
[1]=>
string(1) "2"
[2]=>
bool(false)
}
Function Calls
None |
Stats
MD5 | b010f54d3921d2d9e10b2f094e2768e3 |
Eval Count | 0 |
Decode Time | 89 ms |