mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
12 lines
187 B
PHP
12 lines
187 B
PHP
--TEST--
|
|
Bug #77514: mb_ereg_replace() with trailing backslash adds null byte
|
|
--FILE--
|
|
<?php
|
|
|
|
$a="abc123";
|
|
var_dump(mb_ereg_replace("123","def\\",$a));
|
|
|
|
?>
|
|
--EXPECT--
|
|
string(7) "abcdef\"
|