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-- Bug #28822 (ArrayObject::offsetExists() works inverted) --FILE-- <?php $array = ..

Decoded Output download

--TEST--
Bug #28822 (ArrayObject::offsetExists() works inverted)
--FILE--
<?php

$array = new ArrayObject();
$array->offsetSet('key', 'value');
var_dump($array->offsetExists('key'));
var_dump($array->offsetExists('nokey'));

?>
--EXPECT--
bool(true)
bool(false)

Did this file decode correctly?

Original Code

--TEST--
Bug #28822 (ArrayObject::offsetExists() works inverted)
--FILE--
<?php

$array = new ArrayObject();
$array->offsetSet('key', 'value');
var_dump($array->offsetExists('key'));
var_dump($array->offsetExists('nokey'));

?>
--EXPECT--
bool(true)
bool(false)

Function Calls

None

Variables

None

Stats

MD5 4a015657668fac4d28518da53be95ff6
Eval Count 0
Decode Time 86 ms