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_DIM: 006 --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_up..
Decoded Output download
--TEST--
JIT ASSIGN_DIM: 006
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo($s) {
$s = "123";
for($i = 0; $i < 5; $i++) {
$x = $s[-5] = "x";
}
var_dump($x);
}
foo("123");
?>
--EXPECTF--
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
NULL
Did this file decode correctly?
Original Code
--TEST--
JIT ASSIGN_DIM: 006
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo($s) {
$s = "123";
for($i = 0; $i < 5; $i++) {
$x = $s[-5] = "x";
}
var_dump($x);
}
foo("123");
?>
--EXPECTF--
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
NULL
Function Calls
foo | 1 |
var_dump | 1 |
Stats
MD5 | 481955e0493d123caf2c5ed1f1af22c0 |
Eval Count | 0 |
Decode Time | 96 ms |