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 #78106: Path resolution fails if opcache disabled during request --EXTENSIONS..

Decoded Output download

--TEST--
Bug #78106: Path resolution fails if opcache disabled during request
--EXTENSIONS--
opcache
--CONFLICTS--
server
--FILE--
<?php

include __DIR__ . "/php_cli_server.inc";
php_cli_server_start(getenv('TEST_PHP_EXTRA_ARGS'));

echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );

?>
--EXPECT--
included
done
included
done
included
done

Did this file decode correctly?

Original Code

--TEST--
Bug #78106: Path resolution fails if opcache disabled during request
--EXTENSIONS--
opcache
--CONFLICTS--
server
--FILE--
<?php

include __DIR__ . "/php_cli_server.inc";
php_cli_server_start(getenv('TEST_PHP_EXTRA_ARGS'));

echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test2.php" );
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/bug78106_test1.php" );

?>
--EXPECT--
included
done
included
done
included
done

Function Calls

None

Variables

None

Stats

MD5 e869d9a60284b17830e44e22c71b4de4
Eval Count 0
Decode Time 75 ms