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-- JIT ASSIGN_OBJ: Assign property on null --INI-- opcache.enable=1 opcache.enable_c..
Decoded Output download
--TEST--
JIT ASSIGN_OBJ: Assign property on null
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--EXTENSIONS--
opcache
--FILE--
<?php
function test1($o) {
$o->x = new stdClass;
}
function test2($o) {
$o->x += new stdClass;
}
try {
test1(null);
} catch (Error $e) {
echo $e->getMessage(), "
";
}
try {
test2(null);
} catch (Error $e) {
echo $e->getMessage(), "
";
}
?>
--EXPECT--
Attempt to assign property "x" on null
Attempt to assign property "x" on null
Did this file decode correctly?
Original Code
--TEST--
JIT ASSIGN_OBJ: Assign property on null
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--EXTENSIONS--
opcache
--FILE--
<?php
function test1($o) {
$o->x = new stdClass;
}
function test2($o) {
$o->x += new stdClass;
}
try {
test1(null);
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
try {
test2(null);
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Attempt to assign property "x" on null
Attempt to assign property "x" on null
Function Calls
None |
Stats
MD5 | 77e44ff3606ca4062e14dfe45cd47a60 |
Eval Count | 0 |
Decode Time | 100 ms |