#
98b487e2 |
| 09-Jun-2019 |
Tyson Andre |
Fix a typo in opcache func info for "get_parrent_class" This should only have one r. http://php.net/get_parent_class mentions that it returns string|false Also, I'm not 100% sur
Fix a typo in opcache func info for "get_parrent_class" This should only have one r. http://php.net/get_parent_class mentions that it returns string|false Also, I'm not 100% sure if this is right - should this include MAY_BE_NULL to handle the case of too many parameters? (then again, get_called_class() also returns null in the global scope) ``` php > var_export(get_parent_class(2,3)); Warning: get_parent_class() expects at most 1 parameter, 2 given in php shell code on line 1 NULL ```
show more ...
|
#
8b2741c1 |
| 06-Jun-2019 |
Nikita Popov |
Fix accidentially dropped type I only meant to drop the MAY_BE_FALSE here, not the MAY_BE_ARRAY...
|
#
252216b2 |
| 06-Jun-2019 |
Nikita Popov |
Remove possible false return value from get_object_vars() I'm not sure this one ever happens in practice (and we might want to forbid NULL return from get_properties), but if it does, re
Remove possible false return value from get_object_vars() I'm not sure this one ever happens in practice (and we might want to forbid NULL return from get_properties), but if it does, return an empty array instead of false.
show more ...
|
#
001d4344 |
| 03-Jun-2019 |
Nikita Popov |
Finish func_info updates for ext/standard
|
#
fd911a71 |
| 03-Jun-2019 |
Nikita Popov |
Expect string argument in hexdec, octdec, bindec Instead of accepting zval and converting to string. Also rewrite the functions to make it obvious that they cannot return false.
|
#
321fe889 |
| 03-Jun-2019 |
Nikita Popov |
Add Z_PARAM_NUMBER and use it for some functions
|
#
673c70a4 |
| 31-May-2019 |
Nikita Popov |
A few more func info updates
|
#
0ba34824 |
| 31-May-2019 |
Nikita Popov |
Use TypeError instead of warning in implode() These are again manual argument type checks.
|
#
07fae1fd |
| 29-May-2019 |
Nikita Popov |
escapeshellarg/escapeshellcmd: Throw TypeError instead of E_ERROR
|
#
a1a8d144 |
| 29-May-2019 |
Nikita Popov |
Update more func info information for ext/standard
|
#
7791784b |
| 28-May-2019 |
Nikita Popov |
Revert accidental changes These MAY_BE_FALSE should not have been dropped...
|
#
4da316d1 |
| 28-May-2019 |
Nikita Popov |
hebrev/hebrevc: Don't return false for empty string There is nothing special about the empty string in this context, we should pass it through unchanged.
|
#
0d79c70c |
| 28-May-2019 |
Nikita Popov |
Update MAY_BE_NULL info for more ext/standard functions
|
#
d95c15e3 |
| 28-May-2019 |
Nikita Popov |
Update MAY_BE_NULL for parts of ext/standard Also update proto comments to be more accurate.
|
#
1493c735 |
| 28-May-2019 |
Nikita Popov |
Update MAY_BE_NULL func_info for Zend functions These cannot return NULL anymore in PHP 8.
|
#
81266584 |
| 28-May-2019 |
Nikita Popov |
Remove FUNC_MAY_WARN We are no longer constructing the local symbol table when calling error handlers since 2f1f34952e9a0dfb3adcbec82ba69f4ac82b3a3d, which was the original motivatio
Remove FUNC_MAY_WARN We are no longer constructing the local symbol table when calling error handlers since 2f1f34952e9a0dfb3adcbec82ba69f4ac82b3a3d, which was the original motivation for having this information and was used in an earlier version of the JIT.
show more ...
|
#
bd4c9bce |
| 28-May-2019 |
Nikita Popov |
zend_func_info: Remove unnecessary type callbacks In PHP 8 these functions will throw on invalid arguments, so there is no need to distinguish the error cases.
|
#
a1284b42 |
| 27-May-2019 |
Nikita Popov |
Remove special handling of zero-arg funcs in func_info In PHP 8 we always throw on zpp failure, so we can always return the type for the valid argument case only. We'll want to also adju
Remove special handling of zero-arg funcs in func_info In PHP 8 we always throw on zpp failure, so we can always return the type for the valid argument case only. We'll want to also adjust the return type listings based on that (and drop MAY_BE_NULL/MAY_BE_FALSE where possible).
show more ...
|
#
31ce1cbb |
| 27-May-2019 |
Nikita Popov |
Func info: Fix calls to zero-arg varargs The num_args does not include variadics, so a "zero-arg" function may accept additional arguments through that. No functions seem to be affec
Func info: Fix calls to zero-arg varargs The num_args does not include variadics, so a "zero-arg" function may accept additional arguments through that. No functions seem to be affected right now, but they will be after #4175.
show more ...
|
#
62f339c8 |
| 27-May-2019 |
Nikita Popov |
Func info: Fix calls to zero-arg varargs The num_args does not include variadics, so a "zero-arg" function may accept additional arguments through that. No functions seem to be affec
Func info: Fix calls to zero-arg varargs The num_args does not include variadics, so a "zero-arg" function may accept additional arguments through that. No functions seem to be affected right now, but they will be after #4175.
show more ...
|
Revision tags: php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1 |
|
#
f1dbe616 |
| 15-Apr-2019 |
Rodrigo Prado |
Remove functions from func_info that were removed in PHP 7
|
#
9ef2377d |
| 02-Apr-2019 |
Dmitry Stogov |
array_merge() may return argument with incremented reference counter
|
Revision tags: php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1 |
|
#
3a857852 |
| 13-Mar-2019 |
Peter Kokot |
Remove HAVE_STRFTIME Function strftime is part of the C89 standard [1] and current systems don't need to check for its presence anymore. Additionally, checks for strftime functi
Remove HAVE_STRFTIME Function strftime is part of the C89 standard [1] and current systems don't need to check for its presence anymore. Additionally, checks for strftime function in tests have been removed since the PHP strftime function is now always available. 1: https://port70.net/~nsz/c/c89/c89-draft.html
show more ...
|
Revision tags: php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1 |
|
#
fdb85a82 |
| 11-Feb-2019 |
Nikita Popov |
Return empty str from quotemeta() on empty str
|
Revision tags: php-7.2.15, php-7.3.2 |
|
#
da919a8b |
| 05-Feb-2019 |
Dmitry Stogov |
Remove copyright years.
|