-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
---
-
-
x86_64
-
None
Description of problem:
PHP function preg_match() always fail with PREG_INTERNAL_ERROR status
Version-Release number of selected component (if applicable):
php-8.0.20-3.el9.x86_64
on CentOS Stream 9
How reproducible:
php.ini = install default, no custom setting.
any normal,simple call of preg_match() seems to reproduce this behavior.
```
$a = preg_match('/any pattern/', 'any string'); # with any delimiter
if ($a === false)
{ print "reproduced"; }```
Steps to Reproduce:
1.
2.
3.
Actual results:
false (PREG_INTERNAL_ERROR)
Expected results:
preg_match() should return 0 or 1, depending on regex pattern and match string.
Additional info:
This behavior not observed with PHP on CentOS 6, 7, CentOS Stream 8, RHEL 9.0(PHP 8.0.13)
- external trackers