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-- Test that the Directory extension constants are correctly defined. --SKIPIF-- <?p..

Decoded Output download

--TEST--
Test that the Directory extension constants are correctly defined.
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') {
    die('skip.. only for Windows');
}
?>
--FILE--
<?php

echo DIRECTORY_SEPARATOR;

echo "
";

echo PATH_SEPARATOR;

echo "
";

echo "done";

?>
--EXPECT--
;
done

Did this file decode correctly?

Original Code

--TEST--
Test that the Directory extension constants are correctly defined.
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') {
    die('skip.. only for Windows');
}
?>
--FILE--
<?php

echo DIRECTORY_SEPARATOR;

echo "\n";

echo PATH_SEPARATOR;

echo "\n";

echo "done";

?>
--EXPECT--
\
;
done

Function Calls

None

Variables

None

Stats

MD5 b4a64cbde7151b78304eb5fc85c383e7
Eval Count 0
Decode Time 80 ms