diff --git a/src/PHP.php b/src/PHP.php index 64a7807..e155e6d 100644 --- a/src/PHP.php +++ b/src/PHP.php @@ -81,7 +81,7 @@ public function __construct() { * : Create separate db container instead of using global db. * * [--php=] - * : PHP version for site. Currently only supports PHP 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, and latest. + * : PHP version for site. Currently only supports PHP 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and latest. * --- * default: latest * options: @@ -94,6 +94,7 @@ public function __construct() { * - 8.1 * - 8.2 * - 8.3 + * - 8.4 * - latest * --- * @@ -228,7 +229,7 @@ public function create( $args, $assoc_args ) { } $this->site_data['alias_domains'] = substr( $this->site_data['alias_domains'], 0, - 1 ); - $supported_php_versions = [ 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 'latest' ]; + $supported_php_versions = [ 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 'latest' ]; if ( ! in_array( $this->site_data['php_version'], $supported_php_versions ) ) { $old_version = $this->site_data['php_version']; $floor = (int) floor( $this->site_data['php_version'] );