note 129981 added to function.trim
| From: | yannouche3407@gmail.com | Date: | Thu, 16 Jan 2025 15:39:06 +0000 |
| Subject: | note 129981 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221796@lists.php.net to get a copy of this message | ||
"fun" behavior from trim
var_dump(trim(true));
will display string (1) '1'
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 147.161.181.78)
----
Manual Page -- https://php.net/manual/en/function.trim.php
Edit -- https://main.php.net/note/edit/129981
Del: integrated -- https://main.php.net/note/delete/129981/integrated
Del: useless -- https://main.php.net/note/delete/129981/useless
Del: bad code -- https://main.php.net/note/delete/129981/bad+code
Del: spam -- https://main.php.net/note/delete/129981/spam
Del: non-english -- https://main.php.net/note/delete/129981/non-english
Del: in docs -- https://main.php.net/note/delete/129981/in+docs
Del: other reasons-- https://main.php.net/note/delete/129981
Reject -- https://main.php.net/note/reject/129981
Search -- https://main.php.net/manage/user-notes.php