|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-23 21:14 UTC] nikic@php.net
[2018-03-10 14:27 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Package: Feature/Change Request
+Package: *General Issues
-Assigned To:
+Assigned To: cmb
[2018-03-10 14:27 UTC] cmb@php.net
[2018-06-24 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 21:00:01 2025 UTC |
Description: ------------ hello is possibile to define errors/exceptions handlers reserved to namespaces? because argument 2 is optional maybe it is hard to write set_error_handler("debug", E_ALL, __NAMESPACE__); so: // for functions: set_error_handler(array("", "debug", __NAMESPACE__)); // for classes (static way): set_error_handler(array("myclass", "debug", __NAMESPACE__)); // for objects: set_error_handler(array($this, "debug", __NAMESPACE__)); thank you