Test: /ext/spl/tests/bug70868.phpt - Version 7.4.26        

Bug #70868 PCRE JIT and pattern reuse segfault
Submitted: 2015-11-06 01:19:10 Modified: 2015-11-06 01:32:40
From: marcio Assigned:
Status: Closed Package: PCRE related
PHP Version: 7.0.0RC6 OS:

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fatal error: Uncaught InvalidArgumentException: RegexIterator::__construct(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in %s/bug70868.php:8 002+ Stack trace: 003+ #0 %s/bug70868.php(8): RegexIterator->__construct(Object(ArrayIterator), '/\\.phpt$/') 004+ #1 {main} 001- string(6) "A.phpt" 002- string(6) "B.phpt" 003- string(6) "C.phpt" 004- Done 005+ thrown in %s/bug70868.php on line 8