aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf/utf_tools.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/utf/utf_tools.php')
-rw-r--r--phpBB/includes/utf/utf_tools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php
index 4f1cfcb5b5..1b715014bd 100644
--- a/phpBB/includes/utf/utf_tools.php
+++ b/phpBB/includes/utf/utf_tools.php
@@ -116,7 +116,7 @@ if (extension_loaded('mbstring'))
* Notes:
* - offset for mb_strrpos was added in 5.2.0, we emulate if it is lower
*/
- if (version_compare(phpversion(), '5.2.0', '>='))
+ if (version_compare(PHP_VERSION, '5.2.0', '>='))
{
/**
* UTF-8 aware alternative to strrpos