aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/develop/generate_utf_casefold.php2
-rw-r--r--phpBB/develop/generate_utf_tables.php8
-rw-r--r--phpBB/develop/lang_duplicates.php2
-rw-r--r--phpBB/develop/utf_normalizer_test.php4
-rw-r--r--phpBB/includes/acp/acp_styles.php4
5 files changed, 10 insertions, 10 deletions
diff --git a/phpBB/develop/generate_utf_casefold.php b/phpBB/develop/generate_utf_casefold.php
index 68cc83d880..d9aace10ce 100644
--- a/phpBB/develop/generate_utf_casefold.php
+++ b/phpBB/develop/generate_utf_casefold.php
@@ -89,7 +89,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) . "'";
}
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));
}
diff --git a/phpBB/develop/lang_duplicates.php b/phpBB/develop/lang_duplicates.php
index 666a9a084e..5a77c79543 100644
--- a/phpBB/develop/lang_duplicates.php
+++ b/phpBB/develop/lang_duplicates.php
@@ -60,7 +60,7 @@ while ($module = array_shift($keys))
$compare = "Equal";
$equal++;
}
- elseif (strcasecmp($kkeys[$module][$dup], $kkeys[$other_module][$dup]) == 0)
+ else if (strcasecmp($kkeys[$module][$dup], $kkeys[$other_module][$dup]) == 0)
{
$compare = "Differ in case";
$case++;
diff --git a/phpBB/develop/utf_normalizer_test.php b/phpBB/develop/utf_normalizer_test.php
index 63c73c05e4..6dbd09cdda 100644
--- a/phpBB/develop/utf_normalizer_test.php
+++ b/phpBB/develop/utf_normalizer_test.php
@@ -365,11 +365,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));
}
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 34dbd4c7ff..2ec7e7095b 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -1178,7 +1178,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
}
// else if we are showing raw css or the user submitted data from the simple view
// then we need to turn the given information into raw css
- elseif (!$css_data && !$add_custom)
+ else if (!$css_data && !$add_custom)
{
foreach ($match_elements as $type => $match_ary)
{
@@ -1245,7 +1245,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
}
}
// make sure we have $show_css set, so we can link to the show_css page if we need to
- elseif (!$hide_css)
+ else if (!$hide_css)
{
$show_css = true;
}