--TEST--
Test function getservbyname() by substituting argument 1 with int values.
--FILE--
<?php


echo "*** Test substituting argument 1 with int values ***\n";

$protocol = "tcp"; 


$variation_array = array (
    'int 0' => 0,
    'int 1' => 1,
    'int 12345' => 12345,
    'int -12345' => -2345,
    );


foreach ( $variation_array as $var ) {
  var_dump(getservbyname( $var ,  $protocol ) );
}
?>
--EXPECTF--
*** Test substituting argument 1 with int values ***
bool(false)
bool(false)
bool(false)
bool(false)
