Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions switch-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" "8.2")
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" "php@8.2")


# STARTS THE SPINNER
Expand Down Expand Up @@ -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|8.2) # If a version is specified; then
php_version="php@$1"
rflag="true" # Required!
;;
Expand Down