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 RECV: default arguments with type checks --INI-- opcache.enable=1 opcache.ena..

Decoded Output download

--TEST--
JIT RECV: default arguments with type checks
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--
opcache
--FILE--
<?php
function test(int $a = 1, int $b = 2)
{
	var_dump($a, $b);
}
test(3);
?>
--EXPECT--
int(3)
int(2)

Did this file decode correctly?

Original Code

--TEST--
JIT RECV: default arguments with type checks
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--
opcache
--FILE--
<?php
function test(int $a = 1, int $b = 2)
{
	var_dump($a, $b);
}
test(3);
?>
--EXPECT--
int(3)
int(2)

Function Calls

test 1
var_dump 1

Variables

$a 3
$b None

Stats

MD5 0101eda421d95c43b882a01c1c15819f
Eval Count 0
Decode Time 87 ms