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: DoublyLinkedList: Iterator --FILE-- <?php $a = new SplDoublyLinkedList(); $a..

Decoded Output download

--TEST--
SPL: DoublyLinkedList: Iterator
--FILE--
<?php
$a = new SplDoublyLinkedList();
$a->push(1);
$a->push(2);
$a->push(3);

$a->rewind();
while ($a->valid()) {
    var_dump($a->current(), $a->next());
}
?>
--EXPECT--
int(1)
NULL
int(2)
NULL
int(3)
NULL

Did this file decode correctly?

Original Code

--TEST--
SPL: DoublyLinkedList: Iterator
--FILE--
<?php
$a = new SplDoublyLinkedList();
$a->push(1);
$a->push(2);
$a->push(3);

$a->rewind();
while ($a->valid()) {
    var_dump($a->current(), $a->next());
}
?>
--EXPECT--
int(1)
NULL
int(2)
NULL
int(3)
NULL

Function Calls

None

Variables

None

Stats

MD5 84614302b6b9e22ebbd6616fd52993c5
Eval Count 0
Decode Time 93 ms