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 #65275: Calling exit() in a shutdown function does not change the exit value ..
Decoded Output download
--TEST--
Bug #65275: Calling exit() in a shutdown function does not change the exit value in CLI
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');
exec($php . ' ' . __DIR__ . '/bug65275.inc', $output, $exit_status);
var_dump($exit_status);
?>
--EXPECT--
int(111)
Did this file decode correctly?
Original Code
--TEST--
Bug #65275: Calling exit() in a shutdown function does not change the exit value in CLI
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');
exec($php . ' ' . __DIR__ . '/bug65275.inc', $output, $exit_status);
var_dump($exit_status);
?>
--EXPECT--
int(111)
Function Calls
getenv | 1 |
Stats
MD5 | 19f20c1b532e9d422d530c819c72d9ca |
Eval Count | 0 |
Decode Time | 59 ms |