-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
There is a common need to access the type name or class name of a zval for exception messages. This involves a Z_TYPE() check in a ternary, followed by an access of the class name string or zend_get_type_by_const(). for non-object types. Turning this into a macro would clean up some code.
- is depended on by
-
PHPC-1071 Report class name in exception for unexpected object values
- Closed