summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug72823.phpt
blob: 1571fdc7b5260c8f9a21e99d7bdd15655c6b8b46 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #72823 (strtr out-of-bound access)
--FILE--
<?php
var_dump(
    strtr(11, array('aaa' => 'bbb'))
);
?>
--EXPECT--
string(2) "11"