mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
18 lines
348 B
PHP
18 lines
348 B
PHP
--TEST--
|
|
mb_regex_set_options()
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--SKIPIF--
|
|
<?php
|
|
function_exists('mb_regex_set_options') or die("skip\n");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
mb_regex_set_options( 'x' );
|
|
print mb_ereg_replace(' -', '+', '- - - - -' );
|
|
|
|
mb_regex_set_options( '' );
|
|
print mb_ereg_replace(' -', '+', '- - - - -' );
|
|
?>
|
|
--EXPECT--
|
|
+ + + + +-++++
|