|
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-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 04:00:01 2025 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.