Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8 added #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")
brew_array=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")


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