note 114926 added to function.boolval
| From: | bozzolonospam at gmail dot com | Date: | Mon, 28 Apr 2014 15:36:06 +0000 |
| Subject: | note 114926 added to function.boolval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199362@lists.php.net to get a copy of this message | ||
And also possible as.....
<?php
// Hack for old php versions to use boolval()
if (!function_exists('boolval')) {
function boolval($val) {
return ($val == true);
}
}
?>
I really don't see the point of increase the number of funtions to the infinite!
----
Server IP: 72.52.91.14
Probable Submitter: 181.55.25.153
----
Manual Page -- http://php.net/manual/en/function.boolval.php
Edit -- https://master.php.net/note/edit/114926
Del: integrated -- https://master.php.net/note/delete/114926/integrated
Del: useless -- https://master.php.net/note/delete/114926/useless
Del: bad code -- https://master.php.net/note/delete/114926/bad+code
Del: spam -- https://master.php.net/note/delete/114926/spam
Del: non-english -- https://master.php.net/note/delete/114926/non-english
Del: in docs -- https://master.php.net/note/delete/114926/in+docs
Del: other reasons-- https://master.php.net/note/delete/114926
Reject -- https://master.php.net/note/reject/114926
Search -- https://master.php.net/manage/user-notes.php