note 124195 added to language.operators.errorcontrol

From: Date: Fri, 13 Sep 2019 12:15:05 +0000
Subject: note 124195 added to language.operators.errorcontrol
Groups: php.notes 
Request: Send a blank email to php-notes+get-212177@lists.php.net to get a copy of this message
Please be aware that the behaviour of this operator changed from php5 to php7. The following code will raise a Fatal error no matter what, and you wont be able to suppress it <?php function query() { $myrs = null; $tmp = @$myrs->free_result(); return $tmp; } var_dump(query()); echo "THIS IS NOT PRINT"; ?> more info at: https://bugs.php.net/bug.php?id=78532&thanks=3 ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.168 (proxied: 87.191.35.218) ---- Manual Page -- http://php.net/manual/en/language.operators.errorcontrol.php Edit -- https://master.php.net/note/edit/124195 Del: integrated -- https://master.php.net/note/delete/124195/integrated Del: useless -- https://master.php.net/note/delete/124195/useless Del: bad code -- https://master.php.net/note/delete/124195/bad+code Del: spam -- https://master.php.net/note/delete/124195/spam Del: non-english -- https://master.php.net/note/delete/124195/non-english Del: in docs -- https://master.php.net/note/delete/124195/in+docs Del: other reasons-- https://master.php.net/note/delete/124195 Reject -- https://master.php.net/note/reject/124195 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#212177) next »