summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionMethod_006.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-161-2/+2
|
* Always throw TypeException on throwing zpp failuresNikita Popov2015-04-061-4/+2
| | | | | | | | | | | | | | Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
* Fixed ReflectionFunction, ReflectionMethod and ReflectionParameter.Danack2015-03-011-17/+14
|
* MFH:Felipe Pena2009-01-071-19/+19
| | | | | | - New parameter parsing - Removed METHOD_NOTSTATIC_NUMPARAMS
* Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and ↵Ant Phillips2008-11-181-0/+100
Linux 64 bit).