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
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
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
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
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
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
054f3e3ce5
Implemented FR #61602 Allow access to name of constant used as default value
2012-04-03 13:51:44 +08: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
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
Stanislav Malyshev
38ff70ef25
Commit Gustavo's closure rebinding patch as desided by vote
2011-09-07 06:46:27 +00:00
Pierre Joye
bb4f29c234
- don't test dir sep
2011-09-06 07:07:23 +00:00
Sebastian Bergmann
b04a052f70
Close #55490 .
2011-08-26 07:40:31 +00:00
Felipe Pena
f1967befc8
- Fix test
2011-05-14 01:00:59 +00:00
Gustavo André dos Santos Lopes
fac1e87171
- Fixed bug #53915 : ReflectionClass::getConstant(s) emits fatal error on
...
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.
2011-02-03 12:38:25 +00:00
Gustavo André dos Santos Lopes
f2329f1f4b
- Fixed bug #53915 : ReflectionClass::getConstant(s) emits fatal error on
...
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.
2011-02-03 12:38:25 +00:00
Scott MacVicar
6144da7e35
Silently casting an empty string, null or false into an object by adding a property
...
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.
Since we can't break BC completely (yet) lets bump this from E_STRICT.
Also added a new section to UPGRADING for engine changes.
<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);
$y = 1;
$y->baz = 1;
var_dump($y);
2010-12-31 16:57:45 +00:00
Johannes Schlüter
dabb79bf3d
- Improve test
2010-11-21 12:28:10 +00:00
Johannes Schlüter
ac4f3422bc
- Improve test
2010-11-21 12:28:10 +00:00
Johannes Schlüter
5a1e9d1d6b
- Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors
2010-11-21 12:24:09 +00:00
Johannes Schlüter
9ea04e1e46
- Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors
2010-11-21 12:24:09 +00:00
Felipe Pena
224bfb38f7
- Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty())
2010-11-20 22:53:55 +00:00
Felipe Pena
1ac484d1a1
- Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty())
2010-11-20 22:53:55 +00:00
Gustavo André dos Santos Lopes
b5b4f94a4c
- Fixed ReflectionProperty::isDefault() giving a wrong result for properties
...
obtained with ReflectionClass::getProperties().
2010-10-26 18:47:10 +00:00
Gustavo André dos Santos Lopes
be77a48a71
- Fixed ReflectionProperty::isDefault() giving a wrong result for properties
...
obtained with ReflectionClass::getProperties().
2010-10-26 18:47:10 +00:00