Migrating from PHP 5.6.x to PHP 7.0.x

Table of Contents

Despite the fact that PHP 7.0 is a new major version, efforts have been made to make migration as painless as possible. This release focuses mainly on removing functionality deprecated in previous versions and improving language consistency.

There are a few incompatibilities and new features that should be considered, and code should be tested before switching PHP versions in production environments.

See also the migration guides for PHP versions 5.0.x, 5.1.x, 5.2.x, 5.3.x, 5.4.x, 5.5.x and 5.6.x.

add a note add a note

User Contributed Notes 2 notes

up
1
agilare at gmail dot com
1 day ago
In the french version of this page, this warning should be removed :

> Avertissement
>
> PHP 7.0 est encore en développement et les fonctionnalités et changements notés dans cette section sont sujets à changement d'ici la version finale 7.0.0, bien que cela ait peu de chances d'arriver. Veuillez consulter attentivement ce guide de migration avant de déployer une version 7.0 en production.
up
-220
contact at kalculator dot ro
2 months ago
Hello! How can I upgrade PHP 5.6.25 to PHP 7.1.7? If I can keep "Configure Command".
A nice summer!
To Top