|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-20 13:29 UTC] OrminAPO at gmail dot com
[2008-12-20 15:55 UTC] colder@php.net
[2008-12-28 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 13:00:01 2025 UTC |
Description: ------------ It doesn't returns bool type properly when bool type inserted into return. Reproduce code: --------------- function isLogged() { if(is_numeric($this->ID)) return true; else return false; } $log = isLogged(); // Returns NULL Expected result: ---------------- $log = bool(false); Actual result: -------------- $log = null;