Fix test failures of php7 with pcre2 10.35/10.36
The following discussion from !14061 (merged) should be addressed:
-
@andypost started a discussion: (+6 comments) New test failures
FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #79846 (8c67c166996 broke simple regexp) [ext/pcre/tests/bug79846.phpt] Bug #80118 (Erroneous whitespace match with JIT only) [ext/pcre/tests/bug80118.phpt] ... TEST 4070/10844 [ext/pcre/tests/bug79846.phpt] ========DIFF======== 001+ array(0) { 001- array(3) { 002- [0]=> 003- string(17) "component_phase_1" 004- [1]=> 005- string(15) "component_phase" 006- [2]=> 007- string(1) "1" ========DONE======== FAIL Bug #79846 (8c67c166996 broke simple regexp) [ext/pcre/tests/bug79846.phpt] ========DIFF======== 001+ array(1) { 002+ [0]=> 003+ string(1) " " 001- array(0) { ========DONE======== FAIL Bug #80118 (Erroneous whitespace match with JIT only) [ext/pcre/tests/bug80118.phpt]
but this tests pass on s390x because of
--without-pcre-jit
FAILED TEST SUMMARY --------------------------------------------------------------------- ... Test ReflectionZendExtension class [ext/reflection/tests/ReflectionZendExtension.phpt]
Caused by tests expectations of newer (10.36) pcre2 library commits added
TODO: enable 2 disabled tests when pcre-jit fixed (may need to disable php-pcre-jit for all arches)