aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/unicode_testing.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-03 17:50:29 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:51:19 +0100
commit73e6e5b77faadbb7676961bf38122d669de111db (patch)
treef35a54eacd94d3c947074fe5cd21b407ef997b24 /phpBB/develop/unicode_testing.php
parentd0adbe94d53cd5997e8ab66ec3788240669826ff (diff)
downloadforums-73e6e5b77faadbb7676961bf38122d669de111db.tar
forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.gz
forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.bz2
forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.xz
forums-73e6e5b77faadbb7676961bf38122d669de111db.zip
[ticket/13454] Remove unused variables
This is the first part of the changes. More to come. PHPBB3-13454
Diffstat (limited to 'phpBB/develop/unicode_testing.php')
-rw-r--r--phpBB/develop/unicode_testing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/develop/unicode_testing.php b/phpBB/develop/unicode_testing.php
index ca6d1b5f48..01586ca09b 100644
--- a/phpBB/develop/unicode_testing.php
+++ b/phpBB/develop/unicode_testing.php
@@ -19,7 +19,7 @@ if (!headers_sent())
function unicode_to_utf8($string)
{
$utf8 = '';
- $chars = array();
+
for ($i = 0; $i < strlen($string); $i++)
{
if (isset($string[$i + 5]) && substr($string, $i, 2) == '\\u' && ctype_xdigit(substr($string, $i + 2, 4)))