Re: getservby(port|name) does not return FALSE

From: Date: Wed, 12 Jun 2013 17:24:03 +0000
Subject: Re: getservby(port|name) does not return FALSE
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-66889@lists.php.net to get a copy of this message
Hi Pavel, I've run all the tests you've recently reported about on Ubuntu Oneiric x86_64 using a recent php 5.3 from git. All of them are passing here. It would be useful to know what platform you're testing with and what your ./configure looks like. Cheers On 12/06/2013 18:38, Pavel Kačer wrote: > 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. > -- Matteo Beccati Development & Consulting - http://www.beccati.com/

« previous php.qa (#66889) next »