Skip to content

Commit bac7e55

Browse files
committed
Better PHP version compare
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 71fc4cb commit bac7e55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function check_phpbb_version()
5959
*/
6060
protected function check_php_version()
6161
{
62-
return phpbb_version_compare(PHP_VERSION, '5.5.0', '>=');
62+
return PHP_VERSION_ID >= 50500;
6363
}
6464

6565
/**

0 commit comments

Comments
 (0)