Re: Test failure of 5.6.24 on OS X 10.11.6
| From: | Peter West | Date: | Thu, 04 Aug 2016 05:09:09 +0000 |
| Subject: | Re: Test failure of 5.6.24 on OS X 10.11.6 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-67775@lists.php.net to get a copy of this message | ||
Make that “Darwin”.
P
> On 4 Aug 2016, at 3:07 pm, Peter West <lists@pbw.id.au> wrote:
>
> PHP_OS is indeed DARWIN on my Mac. (Checked with interactive PHP CLI, after I cleared the stuff
> that has been broken by SIP._
>
>> On 4 Aug 2016, at 1:16 am, Kalle Sommer Nielsen <kalle@php.net> wrote:
>>
>> Hey
>>
>> 2016-08-03 17:09 GMT+02:00 Christoph Becker <cmbecker69@gmx.de>:
>>> Yes, that should indeed be fixed. However, in the case Peter reported,
>>> apparently PHP_OS starts with "WIN", and that would almost certainly be
>>> a bug for OS X. OTOH, the other test would have been skipped in this
>>> case, so I'm somewhat confused.
>>>
>>> The only thing I can faintly imagine, is that PHP_OS would be 0 on this
>>> machine (0 == "WIN" in PHP), but that would also certainly be a bug.
>>
>> At first I suspected it could be that OSX would report itself as
>> DARWIN and it somehow got matched up there. PHP_OS on Windows is
>> hardcoded to WINNT, and anywhere else its the output of uname unless a
>> few rare cases where its hardcoded (see configure.in).
>>
>> Sorry I cannot be of more assistance =(
>>
>>
>>
>> --
>> regards,
>>
>> Kalle Sommer Nielsen
>> kalle@php.net
>
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>