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-- SplFixedArray::setSize() with a float param --CREDITS-- PHPNW Testfest 2009 - Adr..
Decoded Output download
--TEST--
SplFixedArray::setSize() with a float param
--CREDITS--
PHPNW Testfest 2009 - Adrian Hardy
--FILE--
<?php
$fixed_array = new SplFixedArray(2);
$fixed_array->setSize(3.14159);
var_dump($fixed_array);
?>
--EXPECT--
object(SplFixedArray)#1 (3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
Did this file decode correctly?
Original Code
--TEST--
SplFixedArray::setSize() with a float param
--CREDITS--
PHPNW Testfest 2009 - Adrian Hardy
--FILE--
<?php
$fixed_array = new SplFixedArray(2);
$fixed_array->setSize(3.14159);
var_dump($fixed_array);
?>
--EXPECT--
object(SplFixedArray)#1 (3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
Function Calls
None |
Stats
MD5 | 99ec58be5f55df8832809bd0b71d120a |
Eval Count | 0 |
Decode Time | 97 ms |