Products and Solutions
Services and Support
Try and BuyDownload Now
PHP indexer now 3 times faster
Zend Studio 13.5 introduces a new PHP indexer, based on Apache Lucene, that replaces the prior PHP indexer based on the H2 database. The new indexer allows faster execution of basic tasks like displaying code assist, validating code, navigating through source code, searching for PHP types and methods, and building the type hierarchy. All these tasks execute up to 3 times faster. The indexing process itself runs up to 3 times faster too and consumes up to 3 times less space on the file system.
Check this blog post for more details on the new indexer, including benchmarks.
Query the index database while it’s still being built
A noteworthy feature of the new PHP indexer is that it allows querying the index database while it’s still being built. This means no more freezing of the IDE if the code assist is triggered while the projects are still being indexed. You can start being productive the very first second after launching Zend Studio.
Execute your code when you want
Any long-running background jobs that lock the IDE workspace no longer block the executing run/debug launchers. You can execute your code as soon as you want, while the IDE is still executing the code validation, indexing, and other background jobs.
PHP 7 is the default
PHP 7 is the default interpreter. New PHP projects are configured for PHP 7.
PHP 7 built-in executables with Zend Debugger
Zend Studio bundles PHP 7 built-in executables with Zend Debugger that can be used for running and debugging PHP CLI scripts. These built-in executables are also used for running Composer, PHPUnit, and the Apigility editors.
Anonymous classes and functions support
The support for anonymous classes and functions is improved both in the PHP editor and in the outline view.
Return types in the outline view
The return types of functions and methods are displayed in the outline view. The outline view displays both PHP 7 return type declarations and PHPDoc @return declarations.
Correct syntax highlighting for reserved words
PHP 7 allows the use of reserved words as properties, constants, and method names, defined on classes, functions, and traits. Zend Studio 13.5 now determines the context where the reserved words are used and highlights them correctly.
Adjust and save code assist window sizes
If the window size of the code assist is too small, you can easily resize using the mouse by hovering on the window edges. With Zend Studio 13.5 this change in the window size is remembered, so you don't need to do it again next time you use the code assist.
Hovering over problem markers shows the available quick fixes
Zend Studio provides quick fixes for many validation issues. It’s now easier to use the quick fixes by simply hovering the mouse over the underlined problem marker – a hover window pops up showing the available quick fixes. Clicking on any of the quick fixes immediately applies it to the source code.
Improved support for PHPDoc tags
Code assist now works better inside PHPDoc blocks. In particular, code assist suggests available PHP classes for the @param, @return, and @throws tags.
Inline @var comments considered by semantic analysis
In previous releases, semantic analysis marked variables as "undefined" even though they were explicitly annotated with an inline @var comment. These comments are now scanned by semantic analysis and taken into account when identifying undefined variables.
PHP exception breakpoints (Xdebug only)
PHP exception breakpoints can be added using the "Add PHP Exception Breakpoint" tool button in the breakpoints view. The debugger breaks the execution when the specified PHP exception is thrown. The exception breakpoints work only if Xdebug is used - Zend Debugger does not support these kind of breakpoints.
Terminal view now available in the main package
The terminal view is now part of the main installation package. It can be opened in several ways:
Composer output integration
The output of the composer tool is now displayed in the terminal view instead of the plain console view. This way the composer output supports ANSI coloring and enables interactive user input.