mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Merge branch 'PHP-5.6' into PHP-7.0
This commit is contained in:
commit
a93c62aafa
1 changed files with 12 additions and 0 deletions
12
ext/standard/tests/strings/bug72823.phpt
Normal file
12
ext/standard/tests/strings/bug72823.phpt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--TEST--
|
||||||
|
Bug #72823 (strtr out-of-bound access)
|
||||||
|
--FILE--
|
||||||
|
<?php
|
||||||
|
var_dump(
|
||||||
|
strtr(11, array('aaa' => 'bbb'))
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
===DONE===
|
||||||
|
--EXPECT--
|
||||||
|
string(2) "11"
|
||||||
|
===DONE===
|
Loading…
Add table
Add a link
Reference in a new issue