From 2aeded200c35edcf7c000638099813655ee4d6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Sormage=C3=A7?= Date: Mon, 30 Nov 2020 02:04:41 +0300 Subject: [PATCH] PHP 8 added --- switch-php.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/switch-php.sh b/switch-php.sh index 37134fb..bae61a6 100755 --- a/switch-php.sh +++ b/switch-php.sh @@ -14,8 +14,8 @@ NC="\e[0m" # Reset everything # Currently available php packages -brew_array=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4") -php_array=("php@5.6" "php@7.0" "php@7.1" "php@7.2" "php@7.3" "php@7.4") +brew_array=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1") +php_array=("php@5.6" "php@7.0" "php@7.1" "php@7.2" "php@7.3" "php@7.4" "php@8.0" "php@8.1") # STARTS THE SPINNER @@ -106,7 +106,7 @@ while :; do show_help exit ;; - 5.6|7.0|7.1|7.2|7.3|7.4) # If a version is specified; then + 5.6|7.0|7.1|7.2|7.3|7.4|8.0|8.1) # If a version is specified; then php_version="php@$1" rflag="true" # Required! ;;