3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Http\Header; /** * Location Header * * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 */ class Location extends AbstractLocation { /** * Return header name * * @return string */ public function getFieldName() { return 'Location'; } }
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught Error: Class "Zend\Http\Header\AbstractLocation" not found in /in/N1XsE:17 Stack trace: #0 {main} thrown in /in/N1XsE on line 17
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Class 'Zend\Http\Header\AbstractLocation' not found in /in/N1XsE:17 Stack trace: #0 {main} thrown in /in/N1XsE on line 17
Process exited with code 255.
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33
Fatal error: Class 'Zend\Http\Header\AbstractLocation' not found in /in/N1XsE on line 17
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Fatal error: Class 'Zend\Http\Header\AbstractLocation' not found in /in/N1XsE on line 18
Process exited with code 255.

preferences:
185.84 ms | 401 KiB | 289 Q