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 #49700 (memory leaks in php_date.c if garbage collector is enabled) --INI-- d..

Decoded Output download

--TEST--
Bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
--INI--
date.timezone=GMT
--FILE--
<?php
gc_enable();
$objs = array();
$objs[1] = new DateTime();
gc_collect_cycles();
unset($objs);
echo "OK
";
?>
--EXPECT--
OK

Did this file decode correctly?

Original Code

--TEST--
Bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
--INI--
date.timezone=GMT
--FILE--
<?php
gc_enable();
$objs = array();
$objs[1] = new DateTime();
gc_collect_cycles();
unset($objs);
echo "OK\n";
?>
--EXPECT--
OK

Function Calls

gc_enable 1

Variables

None

Stats

MD5 402789558520f9408942187e739478e9
Eval Count 0
Decode Time 85 ms