Re: Re: Test failure of 5.6.24 on OS X 10.11.6

From: Date: Wed, 03 Aug 2016 10:07:04 +0000
Subject: Re: Re: Test failure of 5.6.24 on OS X 10.11.6
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-67771@lists.php.net to get a copy of this message
2016-08-03 11:34 GMT+02:00 Christoph Becker <cmbecker69@gmx.de>: > On 03.08.2016 at 09:20, Peter West wrote: > >> With a straight ./configure, make, make test I get a failure. >> >> ===================================================================== >> FAILED TEST SUMMARY >> --------------------------------------------------------------------- >> mixed stream_socket_enable_crypto(resource $stream , bool $enable [, int $crypto_type [, >> resource $session_stream ]] ) ; [ext/standard/tests/streams/stream_socket_enable_crypto-win32.phpt] >> Check cli_process_title support on Unix [sapi/cli/tests/cli_process_title_unix.phpt] >> >> Does this matter? > > The first test[1] is supposed to be run on Windows systems only. I'm > rather surprised that apparently your system reports the following to be > false: > > substr(PHP_OS, 0, 3) != 'WIN' Could be a casing issue? I believe we usually check for Windows like: if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { // Win32 } -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.qa (#67771) next »