summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-09-201-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
| * Merge branch 'PHP-5.6' into PHP-7.0Dmitry Stogov2016-09-201-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
| | * Fixed inconsistent meaning of zend_startup_module_ex() return value used in ↵Dmitry Stogov2016-09-201-1/+7
| | | | | | | | | | | | zend_hash_apply()
| | * Fix various int size overflows.Stanislav Malyshev2016-09-121-11/+50
| | | | | | | | | | | | | | | Add function for detection of string zvals with length that does not fit INT_MAX.
| | * bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2016-09-111-2/+0
|\ \ \ | |/ /
| * | Remove zpp fallback code (always use Fast ZPP)Andrea Faulds2016-09-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds <ajf@ajf.me> Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds <ajf@ajf.me> Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code
* | | fix unused assignmentAnatol Belski2016-09-011-2/+3
| | |
* | | Implement \ArgumentCountError exceptionDavey Shafik2016-08-301-10/+12
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-07-141-1/+1
|\ \ \ | |/ /
| * | Fix is_callable() on abstract method via objectNikita Popov2016-07-141-1/+1
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-07-141-1/+1
|\ \ \ | |/ / | | | | | | | | | Conflicts: Zend/zend_vm_execute.h
| * | Fix leak when dynamically calling abstract methodNikita Popov2016-07-141-1/+1
| | |
* | | Merge branch 'master' into iterableAaron Piotrowski2016-07-031-4/+6
|\ \ \
| * | | Fixed compilation warningsDmitry Stogov2016-06-211-1/+1
| | | |
| * | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-2/+2
| | | | | | | | | | | | | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
| * | | Fixed bug #71266 (Missing separation of properties HT in foreach etc).Dmitry Stogov2016-06-071-1/+3
| | | |
* | | | Add iterable to zend_get_type_by_const()Aaron Piotrowski2016-06-031-0/+2
| | | |
* | | | Add iterable pseudo-typeAaron Piotrowski2016-06-031-0/+14
|/ / /
* | | Fixed white-spacesDmitry Stogov2016-05-241-4/+4
| | |
* | | Intern some known (and offten used) strings.Dmitry Stogov2016-05-121-3/+14
| | |
* | | Revert "Refactor zval cleanup into single function"Dmitry Stogov2016-05-061-3/+3
| | | | | | | | | | | | This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.
* | | Refactor zval cleanup into single functionBob Weinand2016-05-051-3/+3
| | | | | | | | | | | | Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()
* | | Merge branch 'PHP-7.0'Xinchen Hui2016-05-031-0/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Mark fcc as initialized for object calls
| * | Mark fcc as initialized for object callsBob Weinand2016-05-031-0/+1
| | | | | | | | | | | | This results in 1% speedup (cycle count) on some real world applications
* | | - get rid of EG(scope). zend_get_executed_scope() should be used instead.Dmitry Stogov2016-04-281-54/+54
| | | | | | | | | | | | - ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.
* | | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵Dmitry Stogov2016-04-271-1/+0
| | | | | | | | | | | | but is never used.
* | | Warn about invalid strings in arithmeticAndrea Faulds2016-03-301-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit e05d3b67325d4521418483ed924ac9211a188919 Author: Andrea Faulds <ajf@ajf.me> Date: Wed Mar 30 01:43:35 2016 +0100 UPGRADING and NEWS commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d Author: Andrea Faulds <ajf@ajf.me> Date: Sun Mar 20 21:18:33 2016 +0000 Fixes commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 02:15:01 2016 +0000 Add test for numeric string errors in assignment commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 23:53:05 2016 +0000 Add test for numeric string errors commit c72e92f16d512bcae30cc9639c89bcb08d971742 Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 23:28:33 2016 +0000 Add test for scientific notation in integer operations commit d94c08852d405b3a7ef6c84d24bf7915c890ce78 Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 01:25:57 2016 +0000 Disable optimiser evaluation for numeric string errors commit 30ee954ed13d933e766c68605d683c8ebae3d8ee Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 01:46:25 2016 +0000 fixup commit a6403b79e054c95e2b7345d787f3092b261eed27 Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 22:00:27 2016 +0000 Do not convert error-causing numeric strings ahead-of-time commit f9dc35401471ef3035954cb6f171826769297548 Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 19:15:38 2016 +0000 Disable compile-time evaluation for numeric string errors commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5 Author: Andrea Faulds <ajf@ajf.me> Date: Fri Feb 5 11:42:26 2016 +0000 Make _zval_get_long_func_noisy function for inlining commit 84d66321a57e579759109650c8bb7e3d5002854a Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 23:10:00 2016 +0000 Update tests commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 22:08:19 2016 +0000 Use is_numeric_string_ex for zval_get_long etc. commit c21f08848533723331012a62a153de3577731d6a Author: Andrea Faulds <ajf@ajf.me> Date: Thu Jan 7 21:13:04 2016 +0000 Update tests commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af Author: Andrea Faulds <ajf@ajf.me> Date: Wed Jan 6 00:28:01 2016 +0000 Warn on non-/bad numeric strings in arithmetic
* | | Removed zend_fcall_info.symbol_tableDmitry Stogov2016-03-021-1/+0
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-02-211-0/+7
|\ \ \ | |/ /
| * | Fixed bug #71617Nikita Popov2016-02-211-0/+7
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-02-141-1/+1
|\ \ \ | |/ /
| * | Format string fixesNikita Popov2016-02-141-1/+1
| | | | | | | | | | | | | | | Conflicts: ext/pgsql/pgsql.c
* | | Merge branch 'PHP-7.0'Xinchen Hui2016-01-021-1/+1
|\ \ \ | |/ /
| * | bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
| | |
* | | Merge branch 'PHP-7.0'Xinchen Hui2015-12-131-1/+2
|\ \ \ | |/ /
| * | Fixed bug #71109 (ZEND_MOD_CONFLICTS("xdebug") doesn't work)Xinchen Hui2015-12-131-1/+2
| | |
| * | Revert "fix typos "paramer" -> "parameters""Xinchen Hui2015-12-081-3/+3
| | | | | | | | | | | | | | | | | | ABI BC break This reverts commit 6ac12f13379f3fc19f07abb9d1055274e5f98838.
| * | fix typos "paramer" -> "parameters"Márcio Almada2015-12-071-3/+3
| | |
| * | Fixed bug #70959 (ArrayObject unserialize does not restore protected fields)Xinchen Hui2015-11-231-2/+14
| | |
* | | Make duplicate class constant error for internal classNikita Popov2015-12-101-3/+8
| | | | | | | | | | | | | | | And drop two duplicate constant declarations from intl. These were leaking previously.
* | | Implemented the RFC `Support Class Constant Visibility`.Dmitry Stogov2015-12-081-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9 Author: Dmitry Stogov <dmitry@zend.com> Date: Tue Dec 8 12:38:42 2015 +0300 Fixed test expectation commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d Author: Dmitry Stogov <dmitry@zend.com> Date: Tue Dec 8 12:28:38 2015 +0300 Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b Author: Dmitry Stogov <dmitry@zend.com> Date: Mon Dec 7 11:18:55 2015 +0300 Fixed issues found by Nikita commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723 Author: Dmitry Stogov <dmitry@zend.com> Date: Sat Dec 5 02:41:05 2015 +0300 Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility @reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.
* | | fix typos "paramer" -> "parameters"Márcio Almada2015-12-071-3/+3
| | |
* | | Merge branch 'PHP-7.0'Xinchen Hui2015-11-231-2/+14
|\ \ \
| * | | Fixed bug #70959 (ArrayObject unserialize does not restore protected fields)Xinchen Hui2015-11-231-2/+14
| |/ /
| * | Revert "Fixed bug Bug #70895 null ptr deref and segfault"Xinchen Hui2015-11-121-22/+1
| | | | | | | | | | | | This reverts commit 8eef11d3179fe7c6fed8393c1bbae96fcab05c49.
| * | Revert "refix bug #70895"Xinchen Hui2015-11-121-24/+25
| | | | | | | | | | | | This reverts commit 93240102e0830802ca1b27ccabd9a899a1de7570.
| * | Revert "Fixed bug #70898 (SIGBUS/GPF zend_mm_alloc_small (zend_alloc.c:1291))"Xinchen Hui2015-11-121-2/+2
| | | | | | | | | | | | This reverts commit e4e54f33ceb4ecce33397c867b45862af85c1fda.
| * | Fixed bug #70898 (SIGBUS/GPF zend_mm_alloc_small (zend_alloc.c:1291))Xinchen Hui2015-11-121-2/+2
| | | | | | | | | | | | Include tail \0
| * | refix bug #70895Anatol Belski2015-11-121-25/+24
| | | | | | | | | | | | | | | move this code to where it belongs, no behavior change to actual throwing function, thus retaining compat with old ZPP