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 #41874 (Separate STDOUT and STDERR in exec functions) --CREDITS-- Venkat Rama..

Decoded Output download

--TEST--
bug #41874 (Separate STDOUT and STDERR in exec functions)
--CREDITS--
Venkat Raman Don
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) != 'WIN' ) {
        die('skip windows only test');
}
?>
--FILE--
<?php
system('cd 1:\non_existent; dir nonexistent');
?>
--EXPECT--
The system cannot find the drive specified.

Did this file decode correctly?

Original Code

--TEST--
bug #41874 (Separate STDOUT and STDERR in exec functions)
--CREDITS--
Venkat Raman Don
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) != 'WIN' ) {
        die('skip windows only test');
}
?>
--FILE--
<?php
system('cd 1:\\non_existent; dir nonexistent');
?>
--EXPECT--
The system cannot find the drive specified.

Function Calls

None

Variables

None

Stats

MD5 912853692bf59a4650837e94ace21400
Eval Count 0
Decode Time 90 ms