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-- Check for call user class static method with param --SKIPIF-- <?php if (!extensio..
Decoded Output download
--TEST--
Check for call user class static method with param
--SKIPIF--
<?php if (!extension_loaded("timeout")) print "skip"; ?>
--FILE--
<?php
class Test {
public static function called_func($id){
echo $id,"
";
return "Test::called_func";
}
}
$ret = call_func_with_timeout(array('Test', 'called_func'), 1000, array(1024));
echo $ret,"
";
?>
--EXPECT--
1024
0
Did this file decode correctly?
Original Code
--TEST--
Check for call user class static method with param
--SKIPIF--
<?php if (!extension_loaded("timeout")) print "skip"; ?>
--FILE--
<?php
class Test {
public static function called_func($id){
echo $id,"\n";
return "Test::called_func";
}
}
$ret = call_func_with_timeout(array('Test', 'called_func'), 1000, array(1024));
echo $ret,"\n";
?>
--EXPECT--
1024
0
Function Calls
extension_loaded | 1 |
Stats
MD5 | 515fd96369de433a8533cc587591de9e |
Eval Count | 0 |
Decode Time | 156 ms |