mirror of
https://github.com/php/php-src.git
synced 2024-12-27 02:39:39 +08:00
16 lines
369 B
PHP
16 lines
369 B
PHP
--TEST--
|
|
mb_ereg_replace() compat test 10
|
|
--SKIPIF--
|
|
<?php
|
|
extension_loaded('mbstring') or die('skip');
|
|
function_exists('mb_ereg_replace') or die("skip mb_ereg_replace() is not available in this build");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
/* (counterpart: ext/standard/tests/reg/013.phpt) */
|
|
$a="abc123";
|
|
echo mb_ereg_replace("123","def\\g\\\\hi\\",$a);
|
|
?>
|
|
--EXPECT--
|
|
abcdef\g\\hi\
|