ID: 35132 Updated by: [EMAIL PROTECTED] Reported By: false dot hopes at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2005-11-07 00:39:14] false dot hopes at gmail dot com Description: ------------ On line 5 of Example 1 on php.net/dl, the following: if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { should be: if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { So that == 'WIN' is checked against the strtoupper()'d string. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35132&edit=1