Getting Started with PHP 7 in Zend Studio
This tutorial will introduce you to some of the new features available in this version of Zend Studio that support PHP 7 so you can get started with PHP 7 in your projects.
Tutorial Content
In this tutorial you will learn:
- How to use the PHP 7 Express to get your projects ready for migration to PHP 7
 - How to create a new PHP 7 project
 - How to add PHP 7 support to existing projects
 - 
                                    
How to run PHP 7 projects in Zend Studio
 
Prerequisites
- 
                                    
Zend Studio 13.x or above which can be downloaded from the Zend Studio Downloads page
 
The PHP 7 Express helps you get your PHP 5 code ready for migration to PHP 7 by performing a compatibility check on your existing projects and pointing out deprecated expressions and obsolete syntax.
| 
                                                 
  | 
                                            
                                                 
  | 
                                        
| 
                                                 
                                                      | 
                                            
                                                 To use the PHP 7 Express: 
 
 
  | 
                                        
| 
                                                 Tip: In some cases, you can apply a quick fix to your code. For more information on the supported quick fixes, see PHP 7 Express.  | 
                                        |
This step will describes how to create a new local PHP 7 project in Zend Studio.
| 
                                                 
  | 
                                            
                                                 
  | 
                                        
| 
                                                 
                                                      | 
                                            
                                                 To create a new PHP 7 project: 
 
 
  | 
                                        
| 
                                                 
  | 
                                        |
Got a project based on an older version of PHP? This step of the tutorial describes how to add PHP 7 support to existing projects in Zend Studio.
| 
                                                 
  | 
                                            
                                                 
  | 
                                        
| 
                                                 
                                                      | 
                                            
                                                 To add PHP 7 support to existing projects: 
 
  | 
                                        
| 
                                                 
  | 
                                        |
To be able to run a PHP 7 project, PHP 7 executables need to be added and installed. This is done just like with any other add on feature in Zend Studio.
| 
                                                 
  | 
                                            
                                                 
  | 
                                        
| 
                                                 
                                                      | 
                                            
                                                 To run PHP 7 projects: 
 
  | 
                                        
| 
                                                 
  | 
                                        |
                            
                            
                        