summaryrefslogtreecommitdiff
path: root/Zend/tests/class_alias_010.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Change the error message for colliding class/interface/trait names to be a ↵Kalle Sommer Nielsen2015-03-261-1/+1
| | | | | | | little more clearer. C:\> php -r "interface stdClass { }" Error: Cannot declare interface stdClass, because the name is already in use in Command Line Code on line 1
* Change "Cannot redeclare class X" into "Cannot redeclare ↵Kalle Sommer Nielsen2015-03-251-1/+1
| | | | | | | | | | | class/interface/trait X", meaning that the following: C:\> php -r "trait A { } trait A { }" Will now properly print "Cannot redeclare trait A" instead of "Cannot redeclare class A" to make error messages a tiny bit clearer. Admittedly, a better solution can most likely be made by actually telling what the colliding object is a type of. Internally this adds a new function: zend_get_object_type()
* - New testsFelipe Pena2008-05-121-0/+14