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

From: Date: Wed, 12 Jun 2013 17:48:27 +0000
Subject: Re: getservby(port|name) does not return FALSE
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-66890@lists.php.net to get a copy of this message
On 06/12/2013 10:24 AM, Matteo Beccati wrote:
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.
Since PHP 5.3 is approaching end-of-life and only critical fixes are being merged, testing a newer PHP version would be better. Also, some existing test suite portability improvements may not have been merged back to 5.3. Submitting patches would be great: Tests - http://git.php.net/?p=php-src.git Doc - https://wiki.php.net/doc/howto/gettingstarted) Regarding known issues, you can see what other people are experiencing at http://qa.php.net/reports/ Chris
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.
-- christopher.jones@oracle.com http://twitter.com/ghrd Free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

« previous php.qa (#66890) next »