| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
It doesn't matter how the parameters are provided, we always have
to copy the trampoline invoke function.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fix #74454: Wrong exception being thrown when using ReflectionMethod
|
| |
| |
| |
| |
| | |
If zend_throw_exception_ex() already threw an exception, we should not
throw again.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
The behavior is now consistent with ReflectionMethod.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
|
| |
| |
| |
| | |
error handler). (Laruence)
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.1:
Update NEWS
Fixed bug #74949 (null pointer dereference in _function_string)
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.0:
Fixed bug #74949 (null pointer dereference in _function_string)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ReflectionNamedType::getName
This code duplication introduce an inconsistency in displayed type name
- bool (reflection) vs boolean
- int (reflection) vs integer
And reflection already use zend_get_type_by_const in other methods...
Inconsistenty is kept for BC reason.
Could be fixed in 8.0
|
| | |
| | |
| | |
| | |
| | | |
Current behavior is essentially "Is an INTERNAL iterable class".
This change allows isIterable() to return true for userspace classes as well.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Iterateable is not a word.
Add the correct spelling, but keep the original one around
for BC purposes.
Perhaps we can add ZEND_ACC_DEPRECATED at some later date
and even remove it from PHP 8.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.1:
Update NEWS
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)
Conflicts:
ext/reflection/php_reflection.c
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.0:
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)
Conflicts:
ext/reflection/php_reflection.c
|
| | |
| | |
| | |
| | | |
undefined constant)
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
|
| | |
| | |
| | |
| | |
| | | |
If someone complains, we may re-expose specific flags while also
adding corresponding class constants for them.
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Fix ce comparison
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fix ce comparison
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Also simplify code while at it ... no point in going through a
smart_str for a single printf.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of yet-another-smart-string-implementation.
Expand the smart_str API by:
* smart_str_extract() which gets a finalized zend_string* from a
smart_str, including insertion of the zero byte and handling of
the empty string case. This should be preferred over using
smart_str_0() in conjunction with str.s.
* smart_str_get_len() which gets the length of the smart_str with
handling of the empty string case.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The required field, until now, stored how many required parameters
the function, it belongs to, has. I think this is rather problematic
because it's a feature of the function to know how many required
parameters it has, not of the parameter itself. The parameter should
only say if it's required or optional (among other unrelated things).
Also storing the function's number of required parameters in every
parameter was redundant since the _zend_function structure already
has that information. And storing the same value (number of required
parameters) across multiple variables is inefficient and could lead
to inconsistencies.
|
|/ / |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
It's going to be helpful for static optimisations, when "parent" is not known yet.
|
| | |
|
| | |
|
| | |
|