mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-29 08:11:11 +02:00
PHP 7.0 is a thing.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
---
|
||||
title: Use the Current Stable Version (5.6)
|
||||
title: Use the Current Stable Version (7.0)
|
||||
isChild: true
|
||||
anchor: use_the_current_stable_version
|
||||
---
|
||||
|
||||
## Use the Current Stable Version (5.6) {#use_the_current_stable_version_title}
|
||||
## Use the Current Stable Version (7.0) {#use_the_current_stable_version_title}
|
||||
|
||||
If you are getting started with PHP, start with the current stable release of [PHP 5.6][php-release]. PHP has added
|
||||
powerful [new features](#language_highlights) over the last few years. Though the incremental version number difference
|
||||
between 5.2 and 5.6 is small, it represents _major_ improvements. If you are looking for a function or its usage, the
|
||||
documentation on the [php.net][php-docs] website will have the answer.
|
||||
If you are getting started with PHP, start with the current stable release of [PHP 7.0][php-release]. PHP 7.0 is very
|
||||
new, and adds many amazing [new features](#language_highlights) over the older 5.x versions. The engine has been largely re-written, and PHP is now even quicker than older versions.
|
||||
|
||||
Most commonly in the near future you will find PHP 5.x being used, and the latest 5.x version is 5.6. This is not a bad option, but you should try to upgrade to the latest stable quickly. Upgrading is really quite easy, as there are not many [backwards compatibility breaks][php70-bc]. 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.
|
||||
|
||||
[php-release]: http://php.net/downloads.php
|
||||
[php-docs]: http://php.net/manual/
|
||||
[php70-bc]: http://php.net/manual/migration70.incompatible.php
|
||||
|
Reference in New Issue
Block a user