|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-27 09:54 UTC] derick@php.net
[2008-05-27 10:25 UTC] kingoleg at mail dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jun 18 21:00:01 2026 UTC |
Description: ------------ In same cases type hinting cause Fatal Error. I think that in one case NullPoinor will be better. Reproduce code: --------------- function foo(stdClass $a) { } foo(null); Expected result: ---------------- Exception is thrown Actual result: -------------- Fatal error