Skip to content

3 pcre tests fail on 10.47 for PHP 8.5 RC5 #20464

@andypost

Description

@andypost

Description

Building for Alpinelinux where pcre beed updated to 10.47 I see this failures every arch

FAILED TEST SUMMARY
---------------------------------------------------------------------
preg_grep() 2nd test [ext/pcre/tests/grep2.phpt]
X (PCRE_EXTRA) modifier is ignored (no error, no change) [ext/pcre/tests/pcre_extra.phpt]
preg_split() [ext/pcre/tests/split.phpt]

details:

TEST 11570/19831 [ext/pcre/tests/grep2.phpt]
========DIFF========
001- Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in %sgrep2.php on line %d
001+ Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /builds/alpine/aports/community/php85/src/php-8.5.0RC5/ext/pcre/tests/grep2.php on line 3
     bool(false)
     array(3) {
       [5]=>
--
========DONE========
FAIL preg_grep() 2nd test [ext/pcre/tests/grep2.phpt] 

TEST 11586/19831 [ext/pcre/tests/pcre_extra.phpt]
========DIFF========
001- Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_extra.php on line 3
001+ Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 2 in /builds/alpine/aports/community/php85/src/php-8.5.0RC5/ext/pcre/tests/pcre_extra.php on line 3
     bool(false)
     
004- Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_extra.php on line 4
004+ Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 2 in /builds/alpine/aports/community/php85/src/php-8.5.0RC5/ext/pcre/tests/pcre_extra.php on line 4
     bool(false)
========DONE========
FAIL X (PCRE_EXTRA) modifier is ignored (no error, no change) [ext/pcre/tests/pcre_extra.phpt] 

TEST 11629/19831 [ext/pcre/tests/split.phpt]
========DIFF========
001- Warning: preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in %ssplit.php on line %d
001+ Warning: preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /builds/alpine/aports/community/php85/src/php-8.5.0RC5/ext/pcre/tests/split.php on line 3
     bool(false)
     array(3) {
       [0]=>
--
========DONE========
FAIL preg_split() [ext/pcre/tests/split.phpt] 

PHP Version

PHP 8.5 RC5

Operating System

Alpinelinux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions