#
01a50778 |
| 02-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_throw_exception() in most of the extensions |
#
34570372 |
| 31-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() during ZPP in most of the extensions Except for some bigger ones: reflection, sodium, spl |
#
100552d4 |
| 09-Oct-2019 |
Máté Kocsis |
Add stubs for PDO |
#
ac4e0f08 |
| 20-Sep-2019 |
Nikita Popov |
Make zend_type a 2-field struct We now store the pointer payload and the type mask separately. This is in preparation for union types, where we will be using both at the same time.
Make zend_type a 2-field struct We now store the pointer payload and the type mask separately. This is in preparation for union types, where we will be using both at the same time. To avoid increasing the size of arginfo structures, the pass_by_reference and is_variadic fields are now stored as part of the type_mask (8-bit are reserved for custom use). Different types of pointer payloads are distinguished based on bits in the type_mask.
show more ...
|
#
94938934 |
| 29-Oct-2019 |
Máté Kocsis |
Cleanup return values when parameter parsing is unsuccessful |
#
6719d3e7 |
| 29-Oct-2019 |
Nikita Popov |
Add Z_PARAM_STRING/ARRAY_OR_NULL convenience macros |
#
b02b8129 |
| 07-Oct-2019 |
Dmitry Stogov |
Comparison cleanup: - introduce zend_compare() that returns -1,0,1 dirctly (without intermediate zval) - remove compare_objects() object handler, and keep only compare() handler |
#
647b1c7f |
| 07-Oct-2019 |
Nikita Popov |
Remove most uses of ZEND_PARSE_PARAMETERS_END_EX() As ZPP now throws, it makes no sense to specify an explicit return value. |
#
5d6e923d |
| 24-Sep-2019 |
Gabriel Caruso |
Remove mention of PHP major version in Copyright headers Closes GH-4732. |
#
b2cdde08 |
| 28-May-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
|
#
83804519 |
| 28-May-2019 |
Dmitry Stogov |
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros |
#
0ab45c24 |
| 05-Apr-2019 |
Joe Watkins |
Merge branch 'PHP-7.4' * PHP-7.4: Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
|
#
7f4a6b14 |
| 05-Apr-2019 |
Joe Watkins |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
|
#
0d5be6ce |
| 05-Apr-2019 |
Joe Watkins |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
|
#
9ec1525e |
| 05-Apr-2019 |
Cameron Porter |
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault |
Revision tags: php-7.2.15, php-7.3.2 |
|
#
513b7679 |
| 05-Feb-2019 |
Nikita Popov |
Make zpp failures always throw, independent of strict_types Previously zend_parse_parameters (and FastZPP) would handle invalid arguments depending on strict_types: With strict_types=1,
Make zpp failures always throw, independent of strict_types Previously zend_parse_parameters (and FastZPP) would handle invalid arguments depending on strict_types: With strict_types=1, a TypeError is thrown, with strict_types=0 a warning is thrown and (usually) NULL is returned. Additionally, some functions (constructors always and other methods sometimes) opt-it to throwing regardless of strict_types. This commit changes zpp to always generate a TypeError exception in PHP 8.
show more ...
|
#
91ef4124 |
| 31-Jan-2019 |
Dmitry Stogov |
Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s). |
Revision tags: php-7.2.15RC1 |
|
#
92ac598a |
| 22-Jan-2019 |
Peter Kokot |
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
show more ...
|
#
0cf7de1c |
| 30-Jan-2019 |
Zeev Suraski |
Remove yearly range from copyright notice |
Revision tags: php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14 |
|
#
043a11cf |
| 03-Jan-2019 |
Nikita Popov |
Merge branch 'PHP-7.3'
|
#
349dbb79 |
| 03-Jan-2019 |
Nikita Popov |
Merge branch 'PHP-7.2' into PHP-7.3
|
#
cb009b12 |
| 03-Jan-2019 |
Nikita Popov |
Fixed bug #77273 |
Revision tags: php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0 |
|
#
6e4b2026 |
| 26-Nov-2018 |
Nikita Popov |
Switch PDO to use serialize_deny And remove dummy __sleep/__wakeup. This switches the thrown exception type from PDOException to Exception. |
Revision tags: php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6 |
|
#
0f7f1498 |
| 15-Nov-2018 |
Dmitry Stogov |
Use ZEND_THIS macro to hide implementation details in extensions code. |
#
c6ad0b92 |
| 13-Nov-2018 |
Dmitry Stogov |
Replace getThis() by EX(This), when additional check is not necessary. |