Anatol Belski
1f22daeb0f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ast] Fix exporting **= in expansion of assign op
2017-01-08 18:54:28 +01:00
Sara Golemon
5df97b339e
[ast] Fix exporting **= in expansion of assign op
...
(cherry picked from commit 9c3865eb6a )
2017-01-08 18:43:47 +01:00
Anatol Belski
b716a1fbef
fix edge case leak
2017-01-07 01:15:49 +01:00
Anatol Belski
0f410f8087
Fixed bug #73877 readlink() returns garbage for UTF-8 paths
2017-01-07 01:09:17 +01:00
Nikita Popov
49d90dcc4d
Add Z_EXTRA macro
...
For use with u2 values which don't deserve a custom macro...
2017-01-05 00:49:19 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Joe Watkins
26b7e2e044
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove duplicate test
2017-01-04 14:51:21 +00:00
Joe Watkins
0d09b98ac4
remove duplicate test
2017-01-04 14:50:59 +00:00
Joe Watkins
d514f23573
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2017-01-04 14:36:37 +00:00
Joe Watkins
b39310c715
fix test
2017-01-04 14:36:18 +00:00
Joe Watkins
6c9164047e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
get_defined_functions additional parameter to exclude disabled functions
news entry for PR #1312
2017-01-04 13:36:04 +00:00
Joe Watkins
63d116e571
Merge branch 'pull-request/1312' into PHP-7.0
...
* pull-request/1312:
get_defined_functions extra parameter to exclude disabled functions
news entry for PR #1312
2017-01-04 13:34:31 +00:00
Stanislav Malyshev
ca72faa2c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73832 - leave the table in a safe state if the size is too big.
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2017-01-02 21:37:06 -08:00
Stanislav Malyshev
4cc0286f2f
Fix #73832 - leave the table in a safe state if the size is too big.
2017-01-02 20:14:05 -08:00
Nikita Popov
12922f2a58
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-29 21:41:21 +01:00
Nikita Popov
432660f73f
Another try at making concat_003 more reliable
...
Use array_fill() for the array population loop -- this isn't the
part that is being tested and on PHP 7.0 w/o opcache this duplicates
the inner array a lot.
2016-12-29 21:39:40 +01:00
David Walker
b09c2f899e
Fixed bug #73783
...
Bug #73783 raises an issue with signal handling when using SIG_IGN.
With PHP7.1 ZEND_SIGNALS is defaulted to on, which will for all
signals set the handler as zend_signal_handler_defer. This is
problematic for syscalls like sleep(), which will only return when the
requisite number of seconds have elapsed, or, a non-ignored signal is
raised. In this case we want to SIG_IGN SIGCHLD, however, SIG_IGN is
only stored in the SIGG(handlers) array, and the actual system level
handler is defined. This prevents proper signal ignoring when requeted.
2016-12-29 21:18:22 +01:00
Sébastien Santoro
5d7c774bea
Remove extraneous parentheses in conditions
...
The zend_vm_gen.php generator now checks if the condition is already
enclosed by parentheses, and them only if needed.
This fixes nine clang/llvm parentheses-equality warnings.
2016-12-25 22:17:46 -08:00
Nikita Popov
ed0602fe31
Fix string extension in negate_num_string
...
Forgot to actually assign the reallocated string...
2016-12-21 22:11:17 +01:00
Nikita Popov
06699abffb
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 21:28:29 +01:00
Nikita Popov
c41826d1e6
Increase timing quota for small string concat test
...
Test is regularly failing on Travis.
2016-12-21 21:27:47 +01:00
Nikita Popov
9afc61c214
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 21:19:10 +01:00
David Walker
5733fd1caf
Fix #73753 - Unpacked Arrays and Duplication
2016-12-21 21:18:20 +01:00
Xinchen Hui
82988d3e41
Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)
...
This reverts commit a12f43ee2c .
2016-12-21 14:24:14 +08:00
Dmitry Stogov
43cc3d7d92
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:53:06 +03:00
Dmitry Stogov
3c6a2fb08c
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:48:57 +03:00
Xinchen Hui
aa84808e33
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
add Appveyor fast_fail
improve error check
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
Fix stack management in ini scanner
chance CLI codepage, only when SAPI is initialized
2016-12-17 20:09:34 +08:00
Xinchen Hui
a12f43ee2c
Reorder the oplines
...
1. we should only do the return type checking when it is really about to
return
2. for 029.php, actually, the exception threw should be discard while it
jmp into finally(it could be observed by change the return to return an array)
3. after this fix, the test 029.phpt behavior consistently with 7.0
4. good for optimizer too
2016-12-17 20:06:18 +08:00
Nikita Popov
a32829f909
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-16 20:55:08 +01:00
Nikita Popov
fa92a16e46
Fix stack management in ini scanner
2016-12-16 20:54:46 +01:00
Nikita Popov
33e96c9d63
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-14 18:11:43 +01:00
Nikita Popov
f99bf70360
Partially fix bug #70492
...
The libmagic portion is missing.
2016-12-14 18:11:27 +01:00
Nikita Popov
2f438342ec
Fixed bug #73727
...
Error introduced when refactoring zend_alloc code into zend_bitset.
2016-12-14 17:56:31 +01:00
Nikita Popov
2c70581338
Fix T_NUM_STRING negation
...
T_NUM_STRING follows the rules of symtable numeric string
conversion. If the offset isn't an integer under those rules, it
is treated as a string. This should apply to negated T_NUM_STRINGs
as well.
2016-12-11 13:33:25 +01:00
Xinchen Hui
09b36113b0
Fix the bug in ZEND_ASSIGN_DIM (as nikic suggest)
2016-12-09 22:30:24 +08:00
Xinchen Hui
6812721ef2
Revert "Refix bug #73686 "
...
This reverts commit 4589386026 .
2016-12-09 22:22:59 +08:00
Xinchen Hui
4589386026
Refix bug #73686
2016-12-09 16:37:22 +08:00
Dmitry Stogov
ee15891c35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Check if PHP is in execution state.
2016-12-07 15:12:48 +03:00
Dmitry Stogov
3c8c347fa7
Check if PHP is in execution state.
2016-12-07 15:12:18 +03:00
Xinchen Hui
d7a759916d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:48 +08:00
Xinchen Hui
358bd77b23
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:32 +08:00
Dmitry Stogov
547b735d34
Micro optimizations
2016-12-06 10:01:18 +03:00
Dmitry Stogov
2f0e61f4b7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:49:09 +03:00
Dmitry Stogov
a983b728a7
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:45:08 +03:00
Bob Weinand
46d708a1b6
Fix PHP-7.0 build (wrong fix for the branch)
2016-12-03 23:39:54 +01:00
Bob Weinand
146b68e022
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 18:28:47 +01:00
Bob Weinand
ffc1ef1eed
Fix leak when using $this outside of object context
2016-12-03 18:28:08 +01:00
Nikita Popov
91d365f805
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-02 17:03:59 +01:00
Nikita Popov
8f7325fc24
Fix leak in shift_right_function
2016-12-02 17:03:05 +01:00