Dmitry Stogov
3db5dc44bc
JMP optimization cleanup.
...
Make JMP optimisation in pass3 and JMP optimization from CFG pass to be almost identical.
2019-10-11 11:23:02 +03:00
Dmitry Stogov
3ad20f80f5
Revert/redo pass_two only once
2019-10-10 23:20:36 +03:00
Dmitry Stogov
ca265b04d0
Removed #if HAVE_DFA_PASS
2019-10-10 21:46:24 +03:00
Nikita Popov
3df043324e
Merge branch 'PHP-7.4'
2019-10-10 16:15:00 +02:00
Nikita Popov
e4aac082a2
Merge branch 'PHP-7.3' into PHP-7.4
2019-10-10 16:14:52 +02:00
Nikita Popov
74ac3dd6e2
Merge branch 'PHP-7.2' into PHP-7.3
2019-10-10 16:14:37 +02:00
Nikita Popov
46561dab6a
Fix leak in phar open
2019-10-10 16:14:21 +02:00
Fabien Villepinte
78c753e8ee
Fix typo in tests
2019-10-10 15:57:57 +02:00
Dmitry Stogov
833821ac24
Eliminate CHECK_VAR instructions for defined CVs
2019-10-10 16:07:31 +03:00
Dmitry Stogov
6a459a8a3f
Separate common code and add few more patterns
2019-10-10 12:19:06 +03:00
Dmitry Stogov
0cb977a691
Fixed edge cases introduced by 170ed1f5a7
2019-10-10 11:48:31 +03:00
Dmitry Stogov
d9964efe23
One more place
2019-10-10 02:21:37 +03:00
Dmitry Stogov
bf5d299ef4
Fixed typo
2019-10-10 02:17:50 +03:00
Dmitry Stogov
fa0a17a76f
Move ECHO handling into common switch
2019-10-09 23:24:41 +03:00
Dmitry Stogov
fd69af38c8
Cleanup JMP optimization. Remove duplicate code (conditional jums with constant operand) and outdated commented code.
2019-10-09 23:07:32 +03:00
Dmitry Stogov
78a1c8c811
Cleanup JMP optimization pass
2019-10-09 22:52:09 +03:00
Nikita Popov
b53b2f3e82
Merge branch 'PHP-7.4'
2019-10-09 17:34:00 +02:00
Nikita Popov
5b44560dfc
Merge branch 'PHP-7.3' into PHP-7.4
2019-10-09 17:33:52 +02:00
Nikita Popov
a0163417ef
Merge branch 'PHP-7.2' into PHP-7.3
2019-10-09 17:33:44 +02:00
Nikita Popov
daf1fc6e31
Avoid float to int cast UB in exif
2019-10-09 17:33:29 +02:00
Dmitry Stogov
d37f5da75e
typo and cleanup
2019-10-09 17:58:35 +03:00
Nikita Popov
cb657440b4
Merge branch 'PHP-7.4'
2019-10-09 14:58:17 +02:00
Nikita Popov
a4d7f4c3e1
Merge branch 'PHP-7.3' into PHP-7.4
2019-10-09 14:58:10 +02:00
Nikita Popov
cbf589b17c
Merge branch 'PHP-7.2' into PHP-7.3
2019-10-09 14:58:01 +02:00
Nikita Popov
d6ca174d5b
Remove redundant components < 0 check
...
components is an unsigned number, it cannot be smaller than zero.
2019-10-09 14:57:24 +02:00
Christoph M. Becker
73e9acbaff
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78650 : new COM Crash
2019-10-09 14:17:25 +02:00
Christoph M. Becker
4625fa181f
Fix #78650 : new COM Crash
...
As of PHP 7.4.0, the `get_property_ptr_ptr` handler is mandatory; we
implement it to always return `NULL`, which is equivalent to not
setting the handler in former versions.
We add a portable and faster test case than what has been presented in
the bug ticket.
2019-10-09 14:09:02 +02:00
Dmitry Stogov
f6f32f2cf0
SAMRT BRANCH improvement.
...
Avoid need of insertion NOP opcoes between unrelated SMART BRANCH instruction and following JMPZ/JMPNZ.
Now instead of checking the opcode of following instruction, the same information is encoded into SMART BRANH result_type.
2019-10-09 13:48:39 +03:00
Dmitry Stogov
170ed1f5a7
Otimize out useless QM_ASSIGN
2019-10-09 09:08:25 +03:00
Gabriel Caruso
95181553c8
Add missing zend_parse_parameters_none() checks
...
Closes GH-4796.
2019-10-08 23:10:18 +02:00
Nikita Popov
b0cf34a30c
Merge branch 'PHP-7.4'
2019-10-08 18:20:31 +02:00
Fabien Villepinte
8b5c351154
Avoid file clash in root_check skipifs
...
Extract root check into skipif_root.inc to share this commonly
repeated logic.
Closes GH-4779.
2019-10-08 18:20:13 +02:00
Nikita Popov
571a3bfc6c
Merge branch 'PHP-7.4'
2019-10-08 16:14:19 +02:00
Nikita Popov
68b26ff8cf
Merge branch 'PHP-7.3' into PHP-7.4
2019-10-08 16:14:06 +02:00
Nikita Popov
736af5f660
Merge branch 'PHP-7.2' into PHP-7.3
2019-10-08 16:13:17 +02:00
Sergei Turchanov
a8f60ac9dd
Add pcre_get_compiled_regex_cache_ex() with local_aware flag
...
A new function `pcre_get_compiled_regex_cache_ex()` is introduced,
which allows to compile regexp pattern using the "C" locale instead
of a current locale.
This will be needed to replace setlocale() usage in fileinfo,
which is not thread-safe.
2019-10-08 16:11:55 +02:00
Christoph M. Becker
a11f85805a
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Add missing SKIPIFs in exif tests
2019-10-08 14:13:23 +02:00
Christoph M. Becker
d1de1777e9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Add missing SKIPIFs in exif tests
2019-10-08 14:12:50 +02:00
Christoph M. Becker
9fd555f99e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Add missing SKIPIFs in exif tests
2019-10-08 14:12:12 +02:00
Fabien Villepinte
46894580b0
Add missing SKIPIFs in exif tests
2019-10-08 14:11:32 +02:00
Nikita Popov
41526976c5
Merge branch 'PHP-7.4'
2019-10-08 12:35:47 +02:00
Nikita Popov
196f9697ef
Merge branch 'PHP-7.3' into PHP-7.4
2019-10-08 12:35:35 +02:00
Nikita Popov
2fdd142f99
Check for exception after applying stream filters
...
This makes the stream opening actually fail, and avoids assertion
failures when we tokenize with EG(exception) set.
Also avoid throwing an additional warning after an exception has
already been thrown.
2019-10-08 12:32:57 +02:00
Christoph M. Becker
8548a1bdec
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78642 : Wrong libiconv version displayed
2019-10-08 12:11:19 +02:00
Christoph M. Becker
346be2cf59
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78642 : Wrong libiconv version displayed
2019-10-08 12:10:58 +02:00
Christoph M. Becker
d6fdc17f7f
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #78642 : Wrong libiconv version displayed
2019-10-08 12:10:06 +02:00
Christoph M. Becker
195c2008e8
Fix #78642 : Wrong libiconv version displayed
...
The high byte of `_libiconv_version` specifies the major version; the
low byte the minor version.
2019-10-08 12:09:11 +02:00
Remi Collet
3dabce087c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
add librt for opcache
2019-10-08 10:49:30 +02:00
Remi Collet
e1362b3cf0
add librt for opcache
2019-10-08 10:48:10 +02:00
Christoph M. Becker
e9be4622c8
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78641 : addGlob can modify given remove_path value
2019-10-08 09:50:43 +02:00