/This is a (?P<color>.+) bear with (?P<kids>.+) kids/
array(5) {
[0]=>
string(32) "This is a brown bear with 7 kids"
["color"]=>
string(5) "brown"
[1]=>
string(5) "brown"
["kids"]=>
string(1) "7"
[2]=>
string(1) "7"
}
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.