1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Files
archived-php-src/ext/mbstring/tests/bug77514.phpt
T
2019-01-24 15:13:49 +01:00

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\"