|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-07 00:41 UTC] aidan@php.net
[2020-02-07 06:11 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Feb 13 16:00:02 2026 UTC |
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.