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 <ka...@php.net> wrote: > > Hey > > 2016-08-03 17:09 GMT+02:00 Christoph Becker <cmbecke...@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 > ka...@php.net -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php