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 #53502 (strtotime with timezone memory leak) --INI-- date.timezone=UTC --FILE..

Decoded Output download

--TEST--
Bug #53502 (strtotime with timezone memory leak)
--INI--
date.timezone=UTC
--FILE--
<?php
for ($i = 0; $i < 1000; $i++) {
    strtotime('Monday 00:00 Europe/Paris');    // Memory leak
}
echo "Nothing, test only makes sense through valgrind.
";
?>
--EXPECT--
Nothing, test only makes sense through valgrind.

Did this file decode correctly?

Original Code

--TEST--
Bug #53502 (strtotime with timezone memory leak)
--INI--
date.timezone=UTC
--FILE--
<?php
for ($i = 0; $i < 1000; $i++) {
    strtotime('Monday 00:00 Europe/Paris');    // Memory leak
}
echo "Nothing, test only makes sense through valgrind.\n";
?>
--EXPECT--
Nothing, test only makes sense through valgrind.

Function Calls

strtotime 1

Variables

$i 0

Stats

MD5 7bada681466eda3c66595f7e14439f8f
Eval Count 0
Decode Time 82 ms