note 124897 rejected from function.boolval by sobak
| From: | sobak@php.net | Date: | Sat, 18 Apr 2020 19:00:45 +0000 |
| Subject: | note 124897 rejected from function.boolval by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214499@lists.php.net to get a copy of this message | ||
Note Submitter: mhagers at lennoc dot com
----
It's unexpected and somewhat disappointing that boolval("false") will return true.
When I upload a boolean value from javascript, it ends up as a string in the php script.
I couldn't find that information in this page (at least not explicitly), which is why I submit
this comment.