|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-09-13 12:18 UTC] bugreports at gmail dot com
[2019-09-13 12:25 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
[2019-09-13 12:25 UTC] nikic@php.net
[2019-09-13 12:37 UTC] jcmargentina at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 04:00:01 2025 UTC |
Description: ------------ I noticed that the Error Control Operator is behaving different in php7 than php5 Test script: --------------- <?php function query() { $myrs = null; $tmp = @$myrs->free_result(); return $tmp; } var_dump(query()); echo "Another output"; Expected result: ---------------- NOTHING (as of php5) Actual result: -------------- Fatal error: Uncaught Error: Call to a member function free_result() on null in [...][...]:6 Stack trace: #0 [...][...](11): query() #1 {main} thrown in [...][...] on line 6