| Newsgroups |
php.notes |
| Message-ID |
<[email protected]> |
BcMath\Number is one of those classes that overloads boolean casting.
If $z = new BcMath\Number(0) then $z is considered falsy (and hence, for example, empty($z)==true) even though it is a genuine Number object.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 222.153.169.88)
----
Manual Page -- https://php.net/manual/en/class.bcmath-number.php
Edit -- https://main.php.net/note/edit/130182
Del: integrated -- https://main.php.net/note/delete/130182/integrated
Del: useless -- https://main.php.net/note/delete/130182/useless
Del: bad code -- https://main.php.net/note/delete/130182/bad+code
Del: spam -- https://main.php.net/note/delete/130182/spam
Del: non-english -- https://main.php.net/note/delete/130182/non-english
Del: in docs -- https://main.php.net/note/delete/130182/in+docs
Del: other reasons-- https://main.php.net/note/delete/130182
Reject -- https://main.php.net/note/reject/130182
Search -- https://main.php.net/manage/user-notes.php