Seven Reasons Why Zend Z-Ray Is Winning Favor With PHP Developers

1 - Seven Reasons Why Zend Z-Ray Is Winning Favor With PHP Developers
2 - Page Requests
3 - Execution Time
4 - Monitor Events
5 - Errors and Warnings
6 - Database Queries
7 - Functions
8 - PHP Variables
1 of 8

Seven Reasons Why Zend Z-Ray Is Winning Favor With PHP Developers

by Darryl K. Taft

2 of 8

Page Requests

You can inspect the requests sent from your page to the Web server, and view their response, method, path and the time they took. You also get an indication of issues that may have occurred during their execution. When there are multiple requests as in the case of AJAX or equivalent, Z-Ray can filter the information to show only the results from any subset of these requests.

3 of 8

Execution Time

Users can view the Execution Time panel to see a processing breakdown of the request, so you can understand how the request was handled by the Web server. Also, you can see the peak amount of memory that was consumed by the request.

4 of 8

Monitor Events

You can view a list of the Zend Server events that may have been triggered by the request, alerting you about PHP errors, high memory usage, slow request execution and more. From this panel, you can find additional details about these events in the Zend Server UI, or access a code trace, if one was triggered by the event.

5 of 8

Errors and Warnings

The Errors and Warnings panel displays the errors generated during the page request by PHP itself or by its core functions. Z-Ray tells you when they were created, their type and the associated error messages.

6 of 8

Database Queries

The Database Queries panel displays all the SQL queries executed by the page request. It shows priceless information such as the query's bound value, the result of the query, how long the query took and the number of rows in the code affected by the query. You can even see a backtrace of the query to get the larger picture of how the code was executed.

7 of 8


In the Functions panel you'll be able to see all the PHP functions called during the page request. You can see the name; how many times called; time spent in the scope of the function, including or excluding time spent in children functions; and more. If you use any of the PHP frameworks, you can filter by function groups and name spaces.

8 of 8

PHP Variables

You can use the Variables panel to see any PHP "superglobals" used in your code. You can see, for example, if the value of your session or cookie superglobals changed between the start and completion of the request, and what the change was. PHP superglobals are arrays that give a PHP script global access to data originating externally. PHP superglobals represent data coming from URLs, HTML forms, cookies, sessions and the Web server itself.

Top White Papers and Webcasts