1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/standard/tests/strings/bug70667.phpt

10 lines
233 B
PHP

--TEST--
Bug #70667 (strtr() causes invalid writes and a crashes)
--FILE--
<?php
$a = array("{{language_id}}"=>"255", "{{partner_name}}"=>"test1");
var_dump(strtr("Sign in to test1", $a));
?>
--EXPECT--
string(16) "Sign in to test1"