Skip to content

Commit

Permalink
Better PHP version compare
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Friedman <[email protected]>
  • Loading branch information
iMattPro committed Jul 5, 2024
1 parent 71fc4cb commit bac7e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function check_phpbb_version()
*/
protected function check_php_version()
{
return phpbb_version_compare(PHP_VERSION, '5.5.0', '>=');
return PHP_VERSION_ID >= 50500;
}

/**
Expand Down

0 comments on commit bac7e55

Please sign in to comment.