note 123529 added to function.strval
| From: | AlexanderBehling@php.net | Date: | Fri, 18 Jan 2019 13:24:34 +0000 |
| Subject: | note 123529 added to function.strval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210075@lists.php.net to get a copy of this message | ||
When using this with a bool value the result isn't obvious.
strval(false) leads to "" whereas strval(true) leads to "1".
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.142 (proxied: 92.252.100.232)
----
Manual Page -- http://php.net/manual/en/function.strval.php
Edit -- https://master.php.net/note/edit/123529
Del: integrated -- https://master.php.net/note/delete/123529/integrated
Del: useless -- https://master.php.net/note/delete/123529/useless
Del: bad code -- https://master.php.net/note/delete/123529/bad+code
Del: spam -- https://master.php.net/note/delete/123529/spam
Del: non-english -- https://master.php.net/note/delete/123529/non-english
Del: in docs -- https://master.php.net/note/delete/123529/in+docs
Del: other reasons-- https://master.php.net/note/delete/123529
Reject -- https://master.php.net/note/reject/123529
Search -- https://master.php.net/manage/user-notes.php