summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/mb_ereg_replace-compat-03.phpt
blob: c02a346c5e01917da54f316a82647785bc8e7d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
mb_ereg_replace() compat test 3
--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/003.phpt) */
  $a="\\'test";
  echo mb_ereg_replace("\\\\'","'",$a);
?>
--EXPECT--
'test