Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Separate slow path with make_real_object() and related code into "cold" ↵ | Dmitry Stogov | 2018-02-20 | 1 | -2/+0 |
| | | | | function. | ||||
* | Remove empty sections in tests | Gabriel Caruso | 2018-02-14 | 1 | -1/+0 |
| | |||||
* | Remove trailing whitespace in inc files | Gabriel Caruso | 2018-02-10 | 2 | -14/+14 |
| | |||||
* | Fix some misspellings | Gabriel Caruso | 2018-02-06 | 8 | -10/+10 |
| | |||||
* | Use bool instead of boolean while throwing a type error | Gabriel Caruso | 2018-02-04 | 8 | -70/+70 |
| | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int. | ||||
* | Use int instead of integer in type errors | Gabriel Caruso | 2018-02-04 | 33 | -111/+111 |
| | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given". | ||||
* | Remove some references to E_STRICT in tests | Nikita Popov | 2018-02-03 | 23 | -42/+12 |
| | | | | | | | run-tests.php enforces error_reporting=E_ALL (including E_STRICT), setting this explicitly in not necessary. Conversely, after the removal of some E_STRICT errors, explicitly excluding it is no longer necessary in some places. | ||||
* | Remove superfluous SKIPIF sections in Zend tests | Gabriel Caruso | 2018-02-03 | 12 | -30/+4 |
| | |||||
* | Use %d when expecting line number in tests | Gabriel Caruso | 2018-02-02 | 5 | -5/+5 |
| | |||||
* | Merge branch 'PHP-7.2' | Nikita Popov | 2018-01-15 | 2 | -0/+75 |
|\ | |||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-01-15 | 2 | -0/+75 |
| |\ | |||||
| | * | Fixed bug #75079 | Nikita Popov | 2018-01-15 | 2 | -0/+75 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2018-01-13 | 1 | -0/+27 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-01-13 | 1 | -0/+27 |
| |\ \ | | |/ | |||||
| | * | Fix generator GC if yield from parent chain does not reach root | Nikita Popov | 2018-01-13 | 1 | -0/+27 |
| | | | | | | | | | | | | | | | | | | | | | Parents may be unlinked while another generator sharing part of the chain is running. As such, we cannot assume that the parent chain goes all the way to the root. Instead walk backwards from root to leaf, like we also do during destruction. | ||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2018-01-12 | 1 | -0/+22 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-01-12 | 1 | -0/+22 |
| |\ \ | | |/ | |||||
| | * | Fixed bug #75396 | Nikita Popov | 2018-01-12 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | | | Do not run finally blocks in generators on unclean shutdown (e.g. caused by exit). This is consistent with how finally blocks outside of generators behave. | ||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2018-01-09 | 1 | -0/+18 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-01-09 | 1 | -0/+18 |
| |\ \ | | |/ | |||||
| | * | Fixed bug #75786 | Nikita Popov | 2018-01-09 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SEND_UNPACK on iterators was duplicating references in-place, which effectively leaks the original value and causes an off-by-one refcount on the duplicated value. Replace this with a deref, as an actual duplication is not even needed in this case. | ||||
* | | | Merge branch 'instanceof-const' of https://github.com/nikic/php-src | Xinchen Hui | 2018-01-03 | 2 | -11/+10 |
|\ \ \ | | | | | | | | | | | | | | | | | * 'instanceof-const' of https://github.com/nikic/php-src: Return false for instanceof on literal | ||||
| * | | | Return false for instanceof on literal | Nikita Popov | 2017-12-19 | 2 | -11/+10 |
| | | | | |||||
* | | | | Add _IS_NUMBER as cast_object() target type | Nikita Popov | 2017-12-26 | 4 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an integer or floating point number, whichever is more appropriate. Previously convert_scalar_to_number() unconditionally converted objects to integers instead. Fixes bug #53033. Fixes bug #54973. Fixes bug #73108. | ||||
* | | | | Fixed bug #54043 | Nikita Popov | 2017-12-23 | 1 | -0/+20 |
|/ / / | |||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2017-12-16 | 2 | -0/+61 |
|\ \ \ | |/ / | |||||
| * | | Fix #75607 - Check if existing static trait property is a ref before comparing | Pedro Magalhães | 2017-12-16 | 2 | -0/+61 |
| | | | |||||
* | | | Implement list() reference assignments | David Walker | 2017-12-09 | 12 | -14/+547 |
| | | | | | | | | | | | | | | | | | | | | | | | | Support list() reference assignments of the form: list(&$a, list(&$b, $c)) = $d; RFC: https://wiki.php.net/rfc/list_reference_assignment | ||||
* | | | Merge branch 'PHP-7.2' | Xinchen Hui | 2017-11-29 | 1 | -0/+64 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Update NEWS Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26) Revert "ext/sodium: pwhash: do not warn on low parameters" Conflicts: Zend/zend_object_handlers.c | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Xinchen Hui | 2017-11-29 | 1 | -0/+64 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26) | ||||
| | * | Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26) | Xinchen Hui | 2017-11-29 | 1 | -0/+64 |
| | | | |||||
* | | | 63911: Compare opcodes of the op_array to determine different functions | Pedro Magalhães | 2017-11-22 | 1 | -0/+26 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2017-11-15 | 2 | -0/+89 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2017-11-15 | 2 | -0/+89 |
| |\ \ | | |/ | |||||
| | * | Fixed #74862: Unable to clone instance when private __clone defined | DanielCiochiu | 2017-11-15 | 2 | -0/+89 |
| | | | | | | | | | | | | | | | Even though __clone was implemented as private and called only from parent class, child extending class instance could not be cloned. | ||||
* | | | Allow trailing commas in function and method calls | Sammy Kaye Powers | 2017-11-06 | 5 | -0/+129 |
| | | | |||||
* | | | Fix #74922 - Try to resolve constants when importing trait properties | Pedro Magalhães | 2017-11-02 | 5 | -0/+76 |
| | | | |||||
* | | | Fixed string interning during constants substitution | Dmitry Stogov | 2017-11-01 | 1 | -0/+12 |
| | | | |||||
* | | | Revert "Fixed string interning during constants substitution" | Dmitry Stogov | 2017-11-01 | 1 | -12/+0 |
| | | | | | | | | | | | | This reverts commit e0924c52fc7c69b483b5416c609ce7f008584845. | ||||
* | | | Fixed string interning during constants substitution | Dmitry Stogov | 2017-11-01 | 1 | -0/+12 |
| | | | |||||
* | | | Fix gc_029_zts.phpt test | Nikita Popov | 2017-10-30 | 2 | -39/+0 |
| | | | | | | | | | | | | | | | ZTS and NTS now behave the same here, so reduce this back to a single test. | ||||
* | | | Merge branch 'PHP-7.2' | Dmitry Stogov | 2017-10-26 | 8 | -0/+162 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.2: Fixed indirect modification of magic ArrayAccess method arguments | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Dmitry Stogov | 2017-10-26 | 8 | -0/+162 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fixed indirect modification of magic ArrayAccess method arguments | ||||
| | * | Merge branch 'PHP-7.0' into PHP-7.1 | Dmitry Stogov | 2017-10-26 | 8 | -0/+162 |
| | |\ | | | | | | | | | | | | | | | | | * PHP-7.0: Fixed indirect modification of magic ArrayAccess method arguments | ||||
| | | * | Fixed indirect modification of magic ArrayAccess method arguments | Dmitry Stogov | 2017-10-26 | 8 | -0/+162 |
| | | | | |||||
| * | | | Merge branch 'PHP-7.1' into PHP-7.2 | Dmitry Stogov | 2017-10-26 | 2 | -0/+34 |
| |\ \ \ | | |/ / | | | | | | | | | | | | | * PHP-7.1: Backport tests | ||||
| | * | | Merge branch 'PHP-7.0' into PHP-7.1 | Dmitry Stogov | 2017-10-26 | 2 | -0/+34 |
| | |\ \ | | | |/ | | | | | | | | | | | | | * PHP-7.0: Backport tests | ||||
| | | * | Backport tests | Dmitry Stogov | 2017-10-26 | 2 | -0/+34 |
| | | | | |||||
* | | | | Restore object copying on magic method calls (It was removed in master only). | Dmitry Stogov | 2017-10-26 | 2 | -0/+34 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.2' | Dmitry Stogov | 2017-10-26 | 7 | -1/+112 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.2: Fixed indirect modification of magic method arguments. |