mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
560ff9725e
This is going to cause a segfault if reused in the next request.
To illustrate the issue, run these two scripts in sequence with
the built-in server:
// script1.php
mb_ereg_search_init('foobar');
mb_ereg_search('foo');
// script2.php
var_dump(mb_ereg_search_init("foobar"));
var_dump(mb_ereg_search_pos());
43 KiB
43 KiB