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-- runkit_method_add() function --SKIPIF-- <?php if(!extension_loaded("runkit") || !..

Decoded Output download

--TEST--
runkit_method_add() function
--SKIPIF--
<?php if(!extension_loaded("runkit") || !RUNKIT_FEATURE_MANIPULATION) print "skip"; ?>
--INI--
error_reporting=E_ALL
display_errors=on
--FILE--
<?php
class runkit_class {
}

runkit_method_add('runkit_class', 'runkit_method', '$a, $b = "bar"', 'echo "a is $a
b is $b
";'); 
runkit_class::runkit_method('foo','bar');
?>
--EXPECT--
a is foo
b is bar

Did this file decode correctly?

Original Code

--TEST--
runkit_method_add() function
--SKIPIF--
<?php if(!extension_loaded("runkit") || !RUNKIT_FEATURE_MANIPULATION) print "skip"; ?>
--INI--
error_reporting=E_ALL
display_errors=on
--FILE--
<?php
class runkit_class {
}

runkit_method_add('runkit_class', 'runkit_method', '$a, $b = "bar"', 'echo "a is $a\nb is $b\n";'); 
runkit_class::runkit_method('foo','bar');
?>
--EXPECT--
a is foo
b is bar

Function Calls

extension_loaded 1

Variables

None

Stats

MD5 543953b84c331ca9d6ac4537653ef113
Eval Count 0
Decode Time 69 ms