aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf/utf_normalizer.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-07-13 11:32:38 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-07-13 11:32:38 +0200
commit4bdad7125a34e121f7857c34480d0527c1925384 (patch)
tree30d9c9da98d276a1cb6b4935973315cba0e50307 /phpBB/includes/utf/utf_normalizer.php
parent09e0460e5b53f83f4c06703c8bd8f1cb0f22eb48 (diff)
downloadforums-4bdad7125a34e121f7857c34480d0527c1925384.tar
forums-4bdad7125a34e121f7857c34480d0527c1925384.tar.gz
forums-4bdad7125a34e121f7857c34480d0527c1925384.tar.bz2
forums-4bdad7125a34e121f7857c34480d0527c1925384.tar.xz
forums-4bdad7125a34e121f7857c34480d0527c1925384.zip
[ticket/9608] Remove use of references in captcha and other places
References are not really needed in PHP due to copy-on-write. Since PHP5, objects are always passed around as identifiers, which means they are mutable. So it is no longer required to pass these by reference either. PHPBB3-9608
Diffstat (limited to 'phpBB/includes/utf/utf_normalizer.php')
-rw-r--r--phpBB/includes/utf/utf_normalizer.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/utf/utf_normalizer.php b/phpBB/includes/utf/utf_normalizer.php
index 52cdf85827..b38c1378d2 100644
--- a/phpBB/includes/utf/utf_normalizer.php
+++ b/phpBB/includes/utf/utf_normalizer.php
@@ -507,7 +507,7 @@ class utf_normalizer
do
{
- $_utf_len =& $utf_len_mask[$decomp_map[$utf_char][$_pos] & "\xF0"];
+ $_utf_len = $utf_len_mask[$decomp_map[$utf_char][$_pos] & "\xF0"];
if (isset($_utf_len))
{
@@ -563,7 +563,7 @@ class utf_normalizer
do
{
$c = $decomp_map[$utf_char][$_pos];
- $_utf_len =& $utf_len_mask[$c & "\xF0"];
+ $_utf_len = $utf_len_mask[$c & "\xF0"];
if (isset($_utf_len))
{
@@ -636,7 +636,7 @@ class utf_normalizer
do
{
$c = $decomp_map[$utf_char][$_pos];
- $_utf_len =& $utf_len_mask[$c & "\xF0"];
+ $_utf_len = $utf_len_mask[$c & "\xF0"];
if (isset($_utf_len))
{
@@ -717,7 +717,7 @@ class utf_normalizer
do
{
$c = $decomp_map[$utf_char][$_pos];
- $_utf_len =& $utf_len_mask[$c & "\xF0"];
+ $_utf_len = $utf_len_mask[$c & "\xF0"];
if (isset($_utf_len))
{
@@ -1064,7 +1064,7 @@ class utf_normalizer
do
{
$c = $decomp_map[$utf_char][$_pos];
- $_utf_len =& $utf_len_mask[$c & "\xF0"];
+ $_utf_len = $utf_len_mask[$c & "\xF0"];
if (isset($_utf_len))
{