note 97260 added to function.max
| From: | AlexRath at osu1 dot php dot net | Date: | Sat, 10 Apr 2010 18:27:28 +0000 |
| Subject: | note 97260 added to function.max | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168110@lists.php.net to get a copy of this message | ||
Notice that whenever there is a Number in front of the String, it will be used for Comparison.
<?php
max('7iuwmssuxue', 1); //returns 7iuwmssuxu
max('-7suidha', -4); //returns -4
?>
But just if it is in front of the String
<?php
max('sdihatewin7wduiw', 3); //returns 3
?>
----
Server IP: 69.147.83.197
Probable Submitter: 84.166.38.229
----
Manual Page -- http://www.php.net/manual/en/function.max.php
Edit -- https://master.php.net/note/edit/97260
Del: integrated -- https://master.php.net/note/delete/97260/integrated
Del: useless -- https://master.php.net/note/delete/97260/useless
Del: bad code -- https://master.php.net/note/delete/97260/bad+code
Del: spam -- https://master.php.net/note/delete/97260/spam
Del: non-english -- https://master.php.net/note/delete/97260/non-english
Del: in docs -- https://master.php.net/note/delete/97260/in+docs
Del: other reasons-- https://master.php.net/note/delete/97260
Reject -- https://master.php.net/note/reject/97260
Search -- https://master.php.net/manage/user-notes.php