Nikita Popov
4fc4249d24
Make ReflectionType an abstract class
...
This is never instantiated directly, only child classes are used.
2019-09-02 15:38:56 +02:00
Christoph M. Becker
6ca2e1db8e
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Update NEWS
2019-09-02 15:22:19 +02:00
Christoph M. Becker
f597059001
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Update NEWS
2019-09-02 15:21:49 +02:00
Christoph M. Becker
f712925500
Update NEWS
2019-09-02 15:21:20 +02:00
Christoph M. Becker
6ea698869c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #76577 : outdated documentation concerning track_errors
2019-09-02 15:07:48 +02:00
Christoph M. Becker
38d2c9bd62
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #76577 : outdated documentation concerning track_errors
2019-09-02 15:06:45 +02:00
Christoph M. Becker
86ddc469f9
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #76577 : outdated documentation concerning track_errors
2019-09-02 15:05:57 +02:00
Christoph M. Becker
cd63908ab8
Fix #76577 : outdated documentation concerning track_errors
2019-09-02 15:05:01 +02:00
Nikita Popov
bdf2cd7508
Move isBuiltin() method from ReflectionType to ReflectionNamedType
...
This method only makes sense for single types, e.g. it would be
meaningless for union types.
Note that we always return ReflectionNamedType right now, so this does
not break compatibility for code using any currently existing types.
2019-09-02 14:59:31 +02:00
Nikita Popov
603b9c43cb
Add arg type assertions to DO_ICALL
...
Now that DO_ICALL is also used for functions with type hints, we
should include the arginfo sanity check assertions in there as
well.
2019-09-02 14:30:51 +02:00
Dmitry Stogov
33e10fe1cb
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be used only for user/internal functions
2019-09-02 14:20:01 +03:00
Dmitry Stogov
c739023a50
Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be used only for user/internal functions
2019-09-02 14:05:28 +03:00
Dmitry Stogov
633c5886bc
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed information about unused flags
2019-09-02 12:50:40 +03:00
Dmitry Stogov
e6d3a218f0
Fixed information about unused flags
2019-09-02 12:50:05 +03:00
Dmitry Stogov
a5597312e4
Fixed performance degradation caused by arg_info of internal function
2019-09-02 12:11:18 +03:00
Nikita Popov
d19ecd0f33
Fix typo in type
2019-09-02 10:55:51 +02:00
Nikita Popov
ea5854ca8c
Make error_reporting=E_ALL the default
2019-09-02 10:03:26 +02:00
Nikita Popov
f50f7418b5
Merge branch 'PHP-7.4'
2019-09-02 09:37:41 +02:00
Nikita Popov
0f489db808
Merge branch 'PHP-7.3' into PHP-7.4
2019-09-02 09:37:26 +02:00
Nikita Popov
7659182632
Merge branch 'PHP-7.2' into PHP-7.3
2019-09-02 09:36:58 +02:00
Nikita Popov
5a0980f1d9
Fix pkg-config version constraint for ICU
...
On PHP 7.2 our minimum ICU version is 4.0, not 40.
2019-09-02 09:36:20 +02:00
George Peter Banyard
d0754b86b1
Promote warnings to errors in substr_count()
2019-08-31 23:37:04 +02:00
George Peter Banyard
0240b903c5
Promote warnings to errors in substr_compare()
2019-08-31 23:34:24 +02:00
George Peter Banyard
c072ef71ee
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Drop E_STRICT notice in mysqli extension
2019-08-31 23:17:21 +02:00
George Peter Banyard
e895e96286
Drop E_STRICT notice in mysqli extension
2019-08-31 23:14:10 +02:00
Nikita Popov
11819efb4f
Merge branch 'PHP-7.4'
2019-08-30 17:25:27 +02:00
Nikita Popov
77a0fa101e
Reenable alloca support on ZTS
...
This got disabled due to an incorrect change in a preprocessor condition
in 2104bea5d7 . It was not supposed to
be disabled.
2019-08-30 17:24:06 +02:00
Nikita Popov
ec9297592e
Check zpp before other errors in SoapServer::addSoapHeader()
2019-08-30 17:03:25 +02:00
Nikita Popov
82d9f14532
Merge branch 'PHP-7.4'
2019-08-30 16:37:20 +02:00
Nikita Popov
1e4cc5bf0b
Fix file clashes in copy tests
...
Create the "*" file in a sub-directory rather than the main test
directory, so that it's different for each test.
2019-08-30 16:36:49 +02:00
Nikita Popov
c217e31d0d
Merge branch 'PHP-7.4'
2019-08-30 16:10:11 +02:00
Nikita Popov
2f67f32eaa
Remove bogus vcwd_open
...
This is a left-over from the Linux version...
2019-08-30 16:09:55 +02:00
Nikita Popov
ded9b987bb
Merge branch 'PHP-7.4'
2019-08-30 16:08:05 +02:00
Nikita Popov
27da21d429
Merge branch 'PHP-7.3' into PHP-7.4
2019-08-30 16:07:54 +02:00
Nikita Popov
e9cfd94b8e
Merge branch 'PHP-7.2' into PHP-7.3
2019-08-30 16:07:43 +02:00
Sergei Turchanov
8f564e5308
Fixed bug #78469
...
fcgi_accept_request function is supposed to call a FastCGI implementation's
on_accept hook when entering an "accepting" stage (that is right before
calling "accept"). This hook implementation (fpm_request_accepting) updates
a worker state to an "accepting" state which is effectively an "Idle" state,
and updates counters on the scoreboard of the corresponding pool (idle++,
active--).
But this is not done when listening for client connections on a named pipe on
Windows platform. In that case a combination of
ConnectNamedPipe/WaitForSingleObject is used (to be able to catch in_shutdown
as far as I understand), but it is nonetheless functionally equivalent to
"accept" call. Also by not calling on_hook neither a worker's state is updated
to "accepting" state nor scoreboard counters are updated.
2019-08-30 16:06:50 +02:00
Nikita Popov
06c257ec4b
Enable JIT on community_job
2019-08-30 15:08:08 +02:00
Nikita Popov
24b1c2447c
JIT: Fix missing free on JMPZ_EX with op1 == res
...
We need to free the operand before we overwrite it with the result.
2019-08-30 14:50:22 +02:00
Nikita Popov
65fa6dac19
Add jit_bisect_limit
...
To help identify which function is being miscompiled.
2019-08-30 14:50:22 +02:00
Christoph M. Becker
39ab4104ed
Remove duplicate md5/sha1 implementation
...
This code was actually unused since its introduction, and since at
least the md5 implementation in the core was completely overhauled,
we're dropping the md5 and sha1 related stuff from ext/hash.
2019-08-30 13:21:48 +02:00
Nikita Popov
69cf535261
Fix func info for chop()
...
chop() is an alias of rtrim() and may return copied strings, so
should use FN.
2019-08-30 11:18:47 +02:00
Nikita Popov
be8247101d
Merge branch 'PHP-7.4'
2019-08-30 11:02:40 +02:00
Nikita Popov
b4088ba509
Avoid accessing undefined index in CLI server test
2019-08-30 11:02:30 +02:00
Nikita Popov
226fd52c76
Don't call Reflection::export() in --rf etc implementation
...
This method is deprecated ... instead simply directly print the
object.
2019-08-30 11:02:28 +02:00
Nikita Popov
1bbdb6a674
Disable symfony build on master
2019-08-30 10:46:42 +02:00
Nikita Popov
8239b58bea
Fix closure extra args freeing for JIT as well
2019-08-30 10:35:41 +02:00
Nikita Popov
2879ab46c0
Merge branch 'PHP-7.4'
2019-08-30 10:33:12 +02:00
Fabien Villepinte
e1afd9b213
Modernize some connectors in tests to remove env key duplication
2019-08-30 10:33:01 +02:00
Nikita Popov
23b1638622
Merge branch 'PHP-7.4'
2019-08-30 10:07:52 +02:00
Nikita Popov
a12ebc295c
Add job for community projects
...
Run some open-source projects through an aggressive debug
configuration with asan and ubsan. We don't care about test results,
only check that we don't assert or crash.
Currently testing laravel, symfony and amp.
2019-08-30 10:07:18 +02:00