summaryrefslogtreecommitdiff
path: root/Zend
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-236-3964/+4159
|\
| * Fix sequencing UBNikita Popov2017-03-232-422/+445
| |
| * Fix lineno for AST_ZVAL nodesNikita Popov2017-03-233-3/+10
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-03-232-1/+26
|\ \ | |/ | | | | | | * PHP-7.0: Fix bug where `yield from` is captured too greedily
| * Fix bug where `yield from` is captured too greedilySara Golemon2017-03-232-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.1Nikita Popov2017-03-171-3/+3
|\ \ | |/
| * Fix bug #74265Nikita Popov2017-03-171-3/+3
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-171-1/+8
|\ \ | |/
| * Fix AST start lineno for list nodesNikita Popov2017-03-171-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 #69676Nikita Popov2017-03-156-7/+99
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-102-0/+20
|\ \ | |/
| * Fixed bug #73960Nikita Popov2017-03-102-0/+20
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-091-2/+2
|\ \ | |/
| * Fixed bug #73370Nikita Popov2017-03-091-2/+2
| | | | | | | | If len=0 malloc() is allowed to return NULL.
* | Fix bug #74149 static embed SAPI linkage errorJoe Watkins2017-03-091-0/+2
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-071-3/+6
|\ \ | |/
| * Fix out of bounds access in gc_find_additional_buffer()Nikita Popov2017-03-071-3/+6
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-03-021-2/+2
|\ \ | |/ | | | | | | * PHP-7.0: improve signal globals consistency check for TS
| * improve signal globals consistency check for TSAnatol Belski2017-03-021-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.1Anatol Belski2017-03-021-2/+14
|\ \ | |/ | | | | | | * PHP-7.0: do not try to handle signals, when globals are inconsistent
| * do not try to handle signals, when globals are inconsistentAnatol Belski2017-03-021-2/+14
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-02-282-1/+15
|\ \ | |/ | | | | | | * PHP-7.0: Fix potential crash when setting invalid declare value
| * Fix potential crash when setting invalid declare valueSara Golemon2017-02-282-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 againRemi Collet2017-02-281-20/+20
| |
* | Fixed bug #74157 (Segfault with nested generators)Xinchen Hui2017-02-263-2/+25
| |
* | Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to ↵Xinchen Hui2017-02-252-0/+38
| | | | | | | | typehinted by-ref arg)
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-02-181-0/+1
|\ \ | |/ | | | | | | * PHP-7.0: initialize valid_symbol_table, important for the main thread
| * initialize valid_symbol_table, important for the main threadAnatol Belski2017-02-181-0/+1
| | | | | | | | to prevent php_errormsg population on invalid symlol_table
* | Unused varXinchen Hui2017-02-171-2/+0
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-161-1/+7
|\ \ | |/
| * Disable RTLD_DEEPBIND when compiling with AddressSanitizer (-fsanitize=address).Ondřej Surý2017-02-161-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 testAnatol Belski2017-02-151-0/+1
| | | | | | | | The code path not available on Windows.
* | Fixed test in travisXinchen Hui2017-02-151-0/+1
| |
* | Make it slowerXinchen Hui2017-02-151-1/+1
| |
* | Fixed testXinchen Hui2017-02-151-1/+1
| |
* | Add a test for hard_timeout(bug #74093)Xinchen Hui2017-02-151-0/+18
| |
* | Workaround to fix bug #74093 (Maximum execution time of n+2 seconds exceed ↵Xinchen Hui2017-02-151-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.1Xinchen Hui2017-02-133-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 Hui2017-02-133-52/+112
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-02-122-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 Hui2017-02-122-19/+67
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-02-111-2/+2
|\ \ | |/ | | | | | | * PHP-7.0: Fixed typo
| * Fixed typoXinchen Hui2017-02-111-2/+2
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-081-4/+6
|\ \ | |/
| * Add #ifndef restrictdreamsxin2017-02-081-4/+6
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-082-8/+8
|\ \ | |/
| * Fix detection of isnan and isinfChristian Schmidt2017-02-082-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.1Anatol Belski2017-02-071-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: use some dynamically generated NAN as well
| * use some dynamically generated NAN as wellAnatol Belski2017-02-071-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-02-071-2/+2
|\ \ | |/ | | | | | | * PHP-7.0: switch to smart str conversion routine to hide exact NAN type