getservby(port|name) does not return FALSE

From: Date: Wed, 12 Jun 2013 16:38:21 +0000
Subject: getservby(port|name) does not return FALSE
Groups: php.qa 
Request: Send a blank email to php-qa+get-66888@lists.php.net to get a copy of this message
Hi, another failing testcases. In files ext/standard/tests/general_functions/getservbyname_variation10.phpt ext/standard/tests/general_functions/getservbyname_variation9.phpt ext/standard/test/general_functions/getservbyport_variation1.phpt The issue is always the same. Those functions should return FALSE according to the documentation. But they return number even in cases the second parameter is not 'tcp' or 'udp' which should be only allowed values. I could not find a bug report for this. Should I report one or is perhaps the documentation wrong? PHP VERSION: 5.3.17. -- Pavel Kačer QA Automation Engineer SUSE pkacer@suse.com (+420) 284 084 221 Be polite to everyone. You never know when your life or life of someone close to you might depend on this person.

« previous php.qa (#66888) next »