sphp.sh icon indicating copy to clipboard operation
sphp.sh copied to clipboard

Add PHP 8.3 to supported versions

Open simube opened this issue 2 years ago • 1 comments

As PHP 8.3 is now in development and available in brew, it would be nice to have it in this script too :)

simube avatar Aug 11 '23 07:08 simube

First, install PHP 8.3 via HomeBrew.

Then, simply change lines 14 and 15:

From:

brew_array=("5.6","7.0","7.1","7.2","7.3","7.4","8.0","8.1","8.2")
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")

To:

brew_array=("5.6","7.0","7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3")
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")

Now it will work with 8.3.

sononaco avatar Aug 22 '24 17:08 sononaco