|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-11-30 02:52 UTC] laruence@php.net
-Status: Open
+Status: Feedback
[2015-11-30 02:52 UTC] laruence@php.net
[2015-11-30 08:06 UTC] richarddeloge at gmail dot com
-Status: Feedback
+Status: Open
[2015-11-30 08:06 UTC] richarddeloge at gmail dot com
[2015-11-30 08:44 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2015-11-30 08:44 UTC] requinix@php.net
[2015-11-30 11:36 UTC] richarddeloge at gmail dot com
[2015-11-30 11:45 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
Description: ------------ Hi, Since few day, each TypeError exceptions generates also an error message on the stderr output, even if the error has ben catched by a try/catch bloc or if error reporting has been disabled. Test script: --------------- error_reporting(0); $a = function (string $b) {}; try { $a(array()); } catch (TypeError $e){ } Actual result: -------------- TypeError: Argument 1 passed to {closure}() must be of the type string, array given, called in Command line code on line 1 in Command line code on line 1 Call Stack: 0.0001 377264 1. {main}() Command line code:0 0.0002 378088 2. {closure:Command line code:1-1}($b = array ()) Command line code:1