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-- SPL FixedArray can reduce size of array --CREDITS-- PHPNW TestFest 2009 - Ben Lon..

Decoded Output download

--TEST--
SPL FixedArray can reduce size of array
--CREDITS--
PHPNW TestFest 2009 - Ben Longden
--FILE--
<?php
$array = new SplFixedArray(5);
$array[0] = 'a';
$array[1] = 'b';
$array[2] = 'c';
$array[3] = 'd';
$array[4] = 'e';
$array->setSize(3);
print_r($array);
?>
--EXPECT--
SplFixedArray Object
(
    [0] => a
    [1] => b
    [2] => c
)

Did this file decode correctly?

Original Code

--TEST--
SPL FixedArray can reduce size of array
--CREDITS--
PHPNW TestFest 2009 - Ben Longden
--FILE--
<?php
$array = new SplFixedArray(5);
$array[0] = 'a';
$array[1] = 'b';
$array[2] = 'c';
$array[3] = 'd';
$array[4] = 'e';
$array->setSize(3);
print_r($array);
?>
--EXPECT--
SplFixedArray Object
(
    [0] => a
    [1] => b
    [2] => c
)

Function Calls

None

Variables

None

Stats

MD5 748f45d0e2785fdadb8b96fc8dd3b440
Eval Count 0
Decode Time 82 ms