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-- Test function getservbyname() by substituting argument 2 with int values. --FILE-..
Decoded Output download
*** Test substituting argument 2 with int values ***
Did this file decode correctly?
Original Code
--TEST--
Test function getservbyname() by substituting argument 2 with int values.
--FILE--
<?php
echo "*** Test substituting argument 2 with int values ***\n";
$service = "www";
$variation_array = array (
'int 0' => 0,
'int 1' => 1,
'int 12345' => 12345,
'int -12345' => -2345,
);
foreach ( $variation_array as $var ) {
var_dump(getservbyname( $service, $var ) );
}
?>
--EXPECT--
*** Test substituting argument 2 with int values ***
bool(false)
bool(false)
bool(false)
bool(false)
Function Calls
getservbyname | 1 |
Stats
MD5 | fa762c9315210a12398bf8e278dfef08 |
Eval Count | 0 |
Decode Time | 72 ms |