Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-03-23 | 6 | -3964/+4159 |
|\ | |||||
| * | Fix sequencing UB | Nikita Popov | 2017-03-23 | 2 | -422/+445 |
| | | |||||
| * | Fix lineno for AST_ZVAL nodes | Nikita Popov | 2017-03-23 | 3 | -3/+10 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Sara Golemon | 2017-03-23 | 2 | -1/+26 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fix bug where `yield from` is captured too greedily | ||||
| * | Fix bug where `yield from` is captured too greedily | Sara Golemon | 2017-03-23 | 2 | -1/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the following piece of code: ```php function from1234($x) { return $x; } function foo($x) { yield from1234($x); } ``` The statement inside foo is taken as `yield from` `1234($x)` which is neither the intent, nor even legal syntax for an fcall. Do a lookahead for breaking non-label characters after the `yield from` and only accept it if they occur. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-03-17 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Fix bug #74265 | Nikita Popov | 2017-03-17 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-03-17 | 1 | -1/+8 |
|\ \ | |/ | |||||
| * | Fix AST start lineno for list nodes | Nikita Popov | 2017-03-17 | 1 | -1/+8 |
| | | | | | | | | | | | | If the node is initialized with children, check if a child has a lower start lineno, similar to what we do for fixed-sized nodes as well. | ||||
* | | Fix bug #69676 | Nikita Popov | 2017-03-15 | 6 | -7/+99 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-03-10 | 2 | -0/+20 |
|\ \ | |/ | |||||
| * | Fixed bug #73960 | Nikita Popov | 2017-03-10 | 2 | -0/+20 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-03-09 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fixed bug #73370 | Nikita Popov | 2017-03-09 | 1 | -2/+2 |
| | | | | | | | | If len=0 malloc() is allowed to return NULL. | ||||
* | | Fix bug #74149 static embed SAPI linkage error | Joe Watkins | 2017-03-09 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-03-07 | 1 | -3/+6 |
|\ \ | |/ | |||||
| * | Fix out of bounds access in gc_find_additional_buffer() | Nikita Popov | 2017-03-07 | 1 | -3/+6 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-03-02 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | * PHP-7.0: improve signal globals consistency check for TS | ||||
| * | improve signal globals consistency check for TS | Anatol Belski | 2017-03-02 | 1 | -2/+2 |
| | | | | | | | | | | | | Seems when we receive TERM, TLS is destroyed completely. In that case, not only signal globals, but the entire globals array doesn't exist anymore. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-03-02 | 1 | -2/+14 |
|\ \ | |/ | | | | | | | * PHP-7.0: do not try to handle signals, when globals are inconsistent | ||||
| * | do not try to handle signals, when globals are inconsistent | Anatol Belski | 2017-03-02 | 1 | -2/+14 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Sara Golemon | 2017-02-28 | 2 | -1/+15 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fix potential crash when setting invalid declare value | ||||
| * | Fix potential crash when setting invalid declare value | Sara Golemon | 2017-02-28 | 2 | -1/+15 |
| | | | | | | | | | | | | | | | | | | | | | | Using a non-literal expression in a declare value can cause the compiler to crash trying to turn that AST node into a usable zval. There was an existing test for such values using 'encoding', but that didn't crash because it's handled by the lexer rather than being compiled. Trying to use a non-literal with ticks reproduces the crash. | ||||
* | | make test slower again | Remi Collet | 2017-02-28 | 1 | -20/+20 |
| | | |||||
* | | Fixed bug #74157 (Segfault with nested generators) | Xinchen Hui | 2017-02-26 | 3 | -2/+25 |
| | | |||||
* | | Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to ↵ | Xinchen Hui | 2017-02-25 | 2 | -0/+38 |
| | | | | | | | | typehinted by-ref arg) | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-02-18 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: initialize valid_symbol_table, important for the main thread | ||||
| * | initialize valid_symbol_table, important for the main thread | Anatol Belski | 2017-02-18 | 1 | -0/+1 |
| | | | | | | | | to prevent php_errormsg population on invalid symlol_table | ||||
* | | Unused var | Xinchen Hui | 2017-02-17 | 1 | -2/+0 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-02-16 | 1 | -1/+7 |
|\ \ | |/ | |||||
| * | Disable RTLD_DEEPBIND when compiling with AddressSanitizer (-fsanitize=address). | Ondřej Surý | 2017-02-16 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | The AddressSanitizer doesn't support RTLD_DEEPBIND resulting in erratic errors when deinitializing phar module and possibly others. Clang use __has_feature() macro to indicate compilation with AddressSanitizer while gcc uses __SANITIZE_ADDRESS__ define. Fixes bug #73677. | ||||
* | | skip test | Anatol Belski | 2017-02-15 | 1 | -0/+1 |
| | | | | | | | | The code path not available on Windows. | ||||
* | | Fixed test in travis | Xinchen Hui | 2017-02-15 | 1 | -0/+1 |
| | | |||||
* | | Make it slower | Xinchen Hui | 2017-02-15 | 1 | -1/+1 |
| | | |||||
* | | Fixed test | Xinchen Hui | 2017-02-15 | 1 | -1/+1 |
| | | |||||
* | | Add a test for hard_timeout(bug #74093) | Xinchen Hui | 2017-02-15 | 1 | -0/+18 |
| | | |||||
* | | Workaround to fix bug #74093 (Maximum execution time of n+2 seconds exceed ↵ | Xinchen Hui | 2017-02-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | not written in error_log) Use a different exit code for hard_timeout, 124 is used by linux timeout:http://man7.org/linux/man-pages/man1/timeout.1.html "If the command times out, and --preserve-status is not set, then exit with status 124" | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-02-13 | 3 | -52/+112 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite) | ||||
| * | Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite) | Xinchen Hui | 2017-02-13 | 3 | -52/+112 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-02-12 | 2 | -18/+67 |
|\ \ | |/ | | | | | | | | | | | | | * PHP-7.0: Fixed bug #74084 (Out of bound read - zend_mm_alloc_small) Conflicts: Zend/zend_operators.c | ||||
| * | Fixed bug #74084 (Out of bound read - zend_mm_alloc_small) | Xinchen Hui | 2017-02-12 | 2 | -19/+67 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-02-11 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed typo | ||||
| * | Fixed typo | Xinchen Hui | 2017-02-11 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-02-08 | 1 | -4/+6 |
|\ \ | |/ | |||||
| * | Add #ifndef restrict | dreamsxin | 2017-02-08 | 1 | -4/+6 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-02-08 | 2 | -8/+8 |
|\ \ | |/ | |||||
| * | Fix detection of isnan and isinf | Christian Schmidt | 2017-02-08 | 2 | -8/+8 |
| | | | | | | | | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-02-07 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: use some dynamically generated NAN as well | ||||
| * | use some dynamically generated NAN as well | Anatol Belski | 2017-02-07 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-02-07 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | * PHP-7.0: switch to smart str conversion routine to hide exact NAN type |