Commit Graph

401 Commits

Author SHA1 Message Date
Antony Dovgal
21008970aa fix test 2008-07-29 08:48:46 +00:00
Antony Dovgal
bd5f8ace6e make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3 2008-07-29 08:48:16 +00:00
Antony Dovgal
3f754a5aff no need for FETCH anymore.. 2008-07-29 07:33:58 +00:00
Antony Dovgal
652018e18e more similar fixes 2008-07-29 07:32:52 +00:00
Antony Dovgal
d23d92e077 add TSRMLS_DC and fix crash in ZTS mode 2008-07-29 07:29:22 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Dmitry Stogov
c96256bcaf Fixed support for static methods 2008-07-25 09:48:36 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Rob Richards
c2eb3ea158 Sync with 5_3 changes 2008-07-21 16:12:28 +00:00
Felipe Pena
d66ac1c507 - MFB: Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.) 2008-07-20 17:02:05 +00:00
Antony Dovgal
e92b2b506a make sure dom extension is present 2008-07-11 12:43:55 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Dmitry Stogov
8565522d49 ws 2008-06-27 06:43:38 +00:00
Dmitry Stogov
c306b42658 Added support for namespaces 2008-06-25 12:34:14 +00:00
Lars Strojny
99ffc8701a Testfest: various tests for ReflectionParameter 2008-06-12 21:41:09 +00:00
Lars Strojny
8b9f0454fb Testfest test cases for ReflectionExtension 2008-06-12 21:25:28 +00:00
Lars Strojny
0b76b9b921 Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx 2008-06-12 20:55:54 +00:00
Lars Strojny
0e34d9c841 Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap 2008-06-12 20:46:05 +00:00
Lars Strojny
5598ae06ed Reflection::getModifierNames()-test by Felix De Vliegher (Testfest) 2008-06-12 20:30:46 +00:00
Felipe Pena
a9e910eebd - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:13:54 +00:00
Felipe Pena
06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Sebastian Bergmann
5aa7732d2f MFB: Drop SKIPIF check for ext/reflection. 2008-05-24 13:35:03 +00:00
Robin Fernandes
f684c221c4 More basic ReflectionClass tests from Dutch TestFest. 2008-05-23 21:14:05 +00:00
Robin Fernandes
50cd9a0382 Basic ReflectionClass tests (from Dutch TestFest) 2008-05-22 21:54:01 +00:00
Sebastian Bergmann
360409b776 Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:56:12 +00:00
Antony Dovgal
9c8b9b8d1f fix build 2008-05-02 23:04:50 +00:00
Elizabeth Marie Smith
7a01c2c738 MFB 2008-05-02 14:10:05 +00:00
Lars Strojny
8ea8cd611a Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:12:02 +00:00
Lars Strojny
b190fdca65 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:06:27 +00:00
Antony Dovgal
eef38c8ab3 cosmetic enhancements 2008-04-29 08:04:11 +00:00
Robin Fernandes
0188a097cc Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 14:24:11 +00:00
Dmitry Stogov
f78649d8db Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:31:01 +00:00
Derick Rethans
f8717f7280 - Fixed typo 2008-02-15 12:47:21 +00:00
Derick Rethans
4b6cdde9c8 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
2008-02-15 12:37:38 +00:00
Antony Dovgal
82df944f6a more cosmetics 2008-02-15 09:35:47 +00:00
Felipe Pena
9cfc5580f4 Fix test 2008-01-30 15:23:41 +00:00
Antony Dovgal
f3643b59a5 fix ZTS build 2008-01-30 12:50:49 +00:00
Felipe Pena
8ca171f514 Fix tests 2008-01-30 11:56:34 +00:00
Felipe Pena
c31d0d112f Fixed Bug #43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:54:41 +00:00
Marcus Boerger
0aaea797da - Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:19:07 +00:00
Dmitry Stogov
1d9894a0c5 Added missing warning message 2008-01-10 09:38:41 +00:00
Steve Seear
261a88fc3a Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:07:56 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Steve Seear
8a76a81e47 Adding PHPT tests for the ReflectionProperty class. reflectionProperty_getValue_error.phpt and reflectionProperty_setValue_error.phpt are failing with behaviour that is inconsistent with PHP5_3. 2007-12-18 17:25:40 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Ilia Alshanetsky
8ef85b486a MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:44:09 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
4919bc45c5 fix coverity issue #411 2007-09-27 09:14:56 +00:00