Xinchen Hui
534aec8a52
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-21 21:32:32 +08:00
Xinchen Hui
39a173b79b
Fix bug in reflectionClass relate to #64239
2013-03-21 21:32:06 +08:00
Dmitry Stogov
e9641141aa
Made test compatible with O+
2013-03-16 16:11:00 +04:00
Xinchen Hui
e6bde1f8f6
Fix test related to change for #bug64007 and also fix in newInstanceArgs
2013-01-22 16:58:40 +08:00
Xinchen Hui
f7b99c481d
Fixed bug #64007 (There is an ability to create instance of Generator by hand).
...
Use get_constrctor instead of access of the ce->constructor directly
2013-01-19 17:01:57 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Xinchen Hui
8337c96656
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-27 13:37:50 +08:00
Xinchen Hui
070239a194
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-27 13:36:38 +08:00
Xinchen Hui
df3b9a1e07
Fixed Bug #63614 (Fatal error on Reflection)
2012-11-27 13:34:36 +08:00
Xinchen Hui
8fb26e76ba
Merge branch 'PHP-5.4'
2012-10-31 11:14:53 +08:00
Xinchen Hui
7886f46b56
Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves traitnames)
2012-10-31 11:13:32 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
45e938ec34
Remove executable permission on phpt
2012-10-10 10:31:53 +08:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
4b152e5470
Merge branch 'PHP-5.4'
2012-10-10 10:32:38 +08:00
Reeze Xia
ad0da9ae60
Implemented ReflectionFunction::isGenerator()
2012-09-02 23:29:56 +08:00
Felipe Pena
7a56ac00a0
- Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private)
2012-08-22 10:50:50 -03:00
Xinchen Hui
170ee90bf9
Fixed bug that can not get default value of parameter if it's not optional
2012-08-02 22:28:04 +08:00
Xinchen Hui
49b202f2cf
Fixed bug that can not get default value of parameter if it's not optional
2012-08-02 22:16:46 +08:00
Xinchen Hui
2026e9040f
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-01 20:24:14 +08:00
Xinchen Hui
10642aa9e4
Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result)
2012-08-01 20:23:30 +08:00
Stanislav Malyshev
f4809424cd
Merge branch 'pull-request/96' into PHP-5.4
...
* pull-request/96:
Implemented FR #61602 Allow access to name of constant used as default value
2012-07-14 23:08:50 -07:00
Johannes Schlüter
b025b9d0cf
Fix #62432 ReflectionMethod random corrupt memory on high concurrent
...
This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()
2012-06-27 23:26:33 +02:00
Felipe Pena
5e36306feb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Improved fix for #62384
2012-06-23 15:16:13 -03:00
Felipe Pena
c3f34796a0
- Improved fix for #62384
2012-06-23 15:10:47 -03:00
Felipe Pena
4af92aca87
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
2012-06-22 12:05:55 -03:00
Felipe Pena
b8e946b02e
- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
2012-06-22 12:05:29 -03:00
Xinchen Hui
b548d9ad2e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
2012-06-01 15:00:02 +08:00
Xinchen Hui
1f5327a602
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
2012-06-01 14:57:27 +08:00
Reeze Xia
13a9555342
Implemented FR #61602 Allow access to name of constant used as default value
...
This is an improved commit for FR #61602 , this fixed the previous
commit 054f3e3's C99 compiler compatibility issue
2012-05-31 23:31:00 +08:00
Xinchen Hui
df481764f3
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
...
This reverts commit 054f3e3ce5
.
See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.
Conflicts:
ext/reflection/php_reflection.c
2012-05-23 13:50:12 +08:00
Xinchen Hui
f733173b1f
Fix typo while resolving conflicts
2012-05-23 13:43:49 +08:00
Xinchen Hui
a7df6ce664
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
...
This reverts commit 054f3e3ce5
.
See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.
Conflicts:
ext/reflection/php_reflection.c
2012-05-23 13:39:00 +08:00
zoe slattery
d99203d44b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Small fixes to tests, see #62022
2012-05-15 11:43:28 +01:00
zoe slattery
e35f09d774
Small fixes to tests, see #62022
2012-05-15 11:42:14 +01:00
reeze
6712d0d20d
Fixed CODING_STANDARD and move parameter parse code
2012-04-04 14:06:55 +08:00
reeze
054f3e3ce5
Implemented FR #61602 Allow access to name of constant used as default value
2012-04-03 13:51:44 +08:00
David Soria Parra
c918ca57a7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Replace $Revision$ with $Id$ in keyword expansion enable files
Enable $Id$ expansion for files with the $Revision$ keyword
Conflicts:
ext/mysqlnd/mysqlnd.h
2012-03-20 17:58:58 +01:00
David Soria Parra
f7b10abae9
Replace $Revision$ with $Id$ in keyword expansion enable files
2012-03-20 17:53:47 +01:00
Gustavo André dos Santos Lopes
920072df65
- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
...
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).
2012-03-18 18:23:27 +00:00
Gustavo André dos Santos Lopes
227112cb0f
- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
...
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).
2012-03-18 18:23:27 +00:00
Xinchen Hui
e83f0261c0
MFH: Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())
2012-03-02 03:36:30 +00:00
Xinchen Hui
30f63e4152
Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())
2012-02-03 16:27:35 +00:00
Dmitry Stogov
b515bfbdfb
Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
2012-01-17 08:09:13 +00:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Xinchen Hui
3db55c8233
Fixed bug #60367 (Reflection and Late Static Binding)
2011-11-24 09:16:11 +00:00
Xinchen Hui
fe96e8e64c
Fixed bug #60367 (Reflection and Late Static Binding)
2011-11-24 09:16:11 +00:00
Xinchen Hui
b548293b99
Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion")
2011-11-22 10:11:06 +00:00