Skip to content

Commit d81cb4c

Browse files
authored
Fix PHP version check
1 parent 13519b1 commit d81cb4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/commands/src/CLI_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function info( $_, $assoc_args ) {
107107

108108
// php_uname() $mode argument was only added with PHP 7.0+. Fall back to
109109
// entire string for older versions.
110-
$system_os = PHP_MAJOR_VERSION >= 7
110+
$system_os = PHP_MAJOR_VERSION < 7
111111
? php_uname()
112112
: sprintf(
113113
'%s %s %s %s',

0 commit comments

Comments
 (0)