From 950d67d60e4354f418834ceb100ab2d260611037 Mon Sep 17 00:00:00 2001 From: David M Date: Fri, 15 Dec 2006 02:38:14 +0000 Subject: elseif -> else if git-svn-id: file:///svn/phpbb/trunk@6765 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/develop/generate_utf_tables.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'phpBB/develop/generate_utf_tables.php') diff --git a/phpBB/develop/generate_utf_tables.php b/phpBB/develop/generate_utf_tables.php index 1d7fbc1d67..ffad9106d6 100644 --- a/phpBB/develop/generate_utf_tables.php +++ b/phpBB/develop/generate_utf_tables.php @@ -320,7 +320,7 @@ while ($line = fgets($fp, 1024)) */ $map[$cp] = strtolower($capture[1]); } - elseif (isset($m[13][0])) + else if (isset($m[13][0])) { /** * If the letter has a lowercased form, use it @@ -455,7 +455,7 @@ function my_var_export($var) return 'array(' . implode(',', $lines) . ')'; } - elseif (is_string($var)) + else if (is_string($var)) { return "'" . str_replace(array('\\', "'"), array('\\\\', "\\'"), $var) . "'"; } @@ -544,11 +544,11 @@ function cp_to_utf($cp) { return chr(0xF0 | ($cp >> 18)) . chr(0x80 | (($cp >> 12) & 0x3F)) . chr(0x80 | (($cp >> 6) & 0x3F)) . chr(0x80 | ($cp & 0x3F)); } - elseif ($cp > 0x7FF) + else if ($cp > 0x7FF) { return chr(0xE0 | ($cp >> 12)) . chr(0x80 | (($cp >> 6) & 0x3F)) . chr(0x80 | ($cp & 0x3F)); } - elseif ($cp > 0x7F) + else if ($cp > 0x7F) { return chr(0xC0 | ($cp >> 6)) . chr(0x80 | ($cp & 0x3F)); } -- cgit v1.2.1