Re: svn: /php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/ bug48204.phpt
| From: | Kalle Sommer Nielsen | Date: | Tue, 22 Sep 2009 09:17:43 +0000 |
| Subject: | Re: svn: /php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/ bug48204.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-60463@lists.php.net to get a copy of this message | ||
Hi Dmitry
> +<?php if (!defined('PHP_MAXPATHLEN') && !substr(PHP_OS, 0, 3) ==
> "WIN" && !stristr(PHP_OS, 'linux')) print "skip unknown
> PHP_MAXPATHLEN"; ?>
This looks wrong:
!substr(PHP_OS, 0, 3) == "WIN"
The substr will always be false unless the value returned by substr() is 0
--
regrads,
Kalle Sommer Nielsen
kalle@php.net