2016-08-03 11:34 GMT+02:00 Christoph Becker <[email protected]>:
> 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
[email protected]
--
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php