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_function_add() closer and doc_comment from closure --SKIPIF-- <?php if(!e..

Decoded Output download

--TEST--
runkit_function_add() closer and doc_comment from closure
--SKIPIF--
<?php
	if(!extension_loaded("runkit") || !RUNKIT_FEATURE_MANIPULATION) print "skip";
	if(version_compare(PHP_VERSION, '5.3.0', '<')) print "skip";
?>
--INI--
display_errors=on
--FILE--
<?php
runkit_function_add('runkit_function',
                    /** new doc_comment */
                    function () {});
$r1 = new ReflectionFunction('runkit_function');
echo $r1->getDocComment(), "
";
?>
--EXPECT--
/** new doc_comment */

Did this file decode correctly?

Original Code

--TEST--
runkit_function_add() closer and doc_comment from closure
--SKIPIF--
<?php
	if(!extension_loaded("runkit") || !RUNKIT_FEATURE_MANIPULATION) print "skip";
	if(version_compare(PHP_VERSION, '5.3.0', '<')) print "skip";
?>
--INI--
display_errors=on
--FILE--
<?php
runkit_function_add('runkit_function',
                    /** new doc_comment */
                    function () {});
$r1 = new ReflectionFunction('runkit_function');
echo $r1->getDocComment(), "\n";
?>
--EXPECT--
/** new doc_comment */

Function Calls

extension_loaded 1

Variables

None

Stats

MD5 8c1847cd613cc4802ec7bddfd75e792e
Eval Count 0
Decode Time 82 ms