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-- Handling of auto globals during preloading --INI-- opcache.enable=1 opcache.enabl..
Decoded Output download
--TEST--
Handling of auto globals during preloading
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
opcache.preload={PWD}/preload_globals.inc
--EXTENSIONS--
opcache
--SKIPIF--
<?php
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
?>
--FILE--
<?php
$x = 123;
var_dump(get_x());
?>
--EXPECT--
int(123)
Did this file decode correctly?
Original Code
--TEST--
Handling of auto globals during preloading
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
opcache.preload={PWD}/preload_globals.inc
--EXTENSIONS--
opcache
--SKIPIF--
<?php
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
?>
--FILE--
<?php
$x = 123;
var_dump(get_x());
?>
--EXPECT--
int(123)
Function Calls
None |
Stats
MD5 | 825dadf2428a6246506a682f353e6375 |
Eval Count | 0 |
Decode Time | 87 ms |