Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change the error message for colliding class/interface/trait names to be a ↵ | Kalle Sommer Nielsen | 2015-03-26 | 1 | -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 Nielsen | 2015-03-25 | 1 | -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 tests | Felipe Pena | 2008-05-12 | 1 | -0/+14 |