Skip to content

Commit 71ce0ad

Browse files
authored
Merge pull request #995 from petk/patch-php8.3
Update current PHP version to 8.3
2 parents 40f42ca + af68f8b commit 71ce0ad

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
2-
title: Use the Current Stable Version (8.2)
2+
title: Use the Current Stable Version (8.3)
33
isChild: true
44
anchor: use_the_current_stable_version
55
---
66

7-
## Use the Current Stable Version (8.2) {#use_the_current_stable_version_title}
7+
## Use the Current Stable Version (8.3) {#use_the_current_stable_version_title}
88

9-
If you are getting started with PHP, start with the current stable release of [PHP 8.2][php-release]. PHP 8.x adds many [new features](#language_highlights) over the older 7.x and 5.x versions. The engine has been largely re-written, and PHP is now even quicker than older versions. PHP 8 is a major update of the language and contains many new features and optimizations.
9+
If you are getting started with PHP, start with the current stable release of [PHP 8.3][php-release]. PHP 8.x adds many [new features](#language_highlights) over the older 7.x and 5.x versions. The engine has been largely re-written, and PHP is now even quicker than older versions. PHP 8 is a major update of the language and contains many new features and optimizations.
1010

11-
You should try to upgrade to the latest stable version quickly - PHP 7.4 [is already End of Life][php-supported]. Upgrading is easy, as there are not many backwards compatibility breaks [PHP 8.0][php-bc-80], [PHP 8.1][php-bc-81], [PHP 8.2][php-bc-82]. If you are not sure which version a function or feature is in, you can check the PHP documentation on the [php.net][php-docs] website.
11+
You should try to upgrade to the latest stable version quickly - PHP 7.4 [is already End of Life][php-supported]. Upgrading is easy, as there are not many backwards compatibility breaks [PHP 8.0][php-bc-80], [PHP 8.1][php-bc-81], [PHP 8.2][php-bc-82], [PHP 8.3][php-bc-83]. If you are not sure which version a function or feature is in, you can check the PHP documentation on the [php.net][php-docs] website.
1212

1313
[php-release]: https://www.php.net/downloads.php
1414
[php-supported]: https://www.php.net/supported-versions.php
1515
[php-docs]: https://www.php.net/manual/
1616
[php-bc-80]: https://www.php.net/manual/migration80.incompatible.php
1717
[php-bc-81]: https://www.php.net/manual/migration81.incompatible.php
1818
[php-bc-82]: https://www.php.net/manual/migration82.incompatible.php
19+
[php-bc-83]: https://www.php.net/manual/migration83.incompatible.php

_posts/01-04-01-Mac-Setup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ macOS comes prepackaged with PHP but it is normally a little behind the latest s
99

1010
### Install PHP via Homebrew
1111

12-
[Homebrew] is a package manager for macOS that helps you easily install PHP and various extensions. The Homebrew core repository provides "formulae" for PHP 7.4, 8.0, 8.1 and PHP 8.2. Install the latest version with this command:
12+
[Homebrew] is a package manager for macOS that helps you easily install PHP and various extensions. The Homebrew core repository provides "formulae" for PHP 7.4, 8.0, 8.1, 8.2 and PHP 8.3. Install the latest version with this command:
1313

1414
```
15-
brew install php@8.2
15+
brew install php@8.3
1616
```
1717

1818
You can switch between Homebrew PHP versions by modifying your `PATH` variable. Alternatively, you can use [brew-php-switcher][brew-php-switcher] to switch PHP versions automatically.
@@ -21,12 +21,12 @@ You can also switch between PHP versions manually by unlinking and linking the w
2121

2222
```
2323
brew unlink php
24-
brew link --overwrite php@8.1
24+
brew link --overwrite php@8.2
2525
```
2626

2727
```
2828
brew unlink php
29-
brew link --overwrite php@8.2
29+
brew link --overwrite php@8.3
3030
```
3131

3232
### Install PHP via Macports
@@ -40,14 +40,14 @@ MacPorts supports pre-compiled binaries, so you don't need to recompile every
4040
dependency from the source tarball files, it saves your life if you don't
4141
have any package installed on your system.
4242

43-
At this point, you can install `php54`, `php55`, `php56`, `php70`, `php71`, `php72`, `php73`, `php74`, `php80`, `php81` or `php82` using the `port install` command, for example:
43+
At this point, you can install `php54`, `php55`, `php56`, `php70`, `php71`, `php72`, `php73`, `php74`, `php80`, `php81`, `php82` or `php83` using the `port install` command, for example:
4444

4545
sudo port install php74
46-
sudo port install php82
46+
sudo port install php83
4747

4848
And you can run `select` command to switch your active PHP:
4949

50-
sudo port select --set php php82
50+
sudo port select --set php php83
5151

5252
### Install PHP via phpbrew
5353

0 commit comments

Comments
 (0)