3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace epay; /*** * Enumeration for logging levels of importancy. * * @author Talaeezadeh */ class LogLevel extends \SplEnum { const __default = self::NONE; /** * Disable logging * * @var Constatnt(Int) No loggong */ const NONE = 0; /** * Fatal Errors * * @var Constant(Int) Fatal Errors */ const FATAL = 1; /** * Errors that are not fatal * * @var Constant(Int) Normal Errors */ const ERROR = 2; /** * Warnings * * @var Constant(Int) Warnings */ const WARNING = 3; /** * Notifications * * @var Constant(Int) Notifications */ const NOTICE = 4; /** * Informations * * @var Constant(Int) Informations */ const INFO = 5; /** * Everything that are not categorized in previous levels * * @var Constant(Int) Every (other) thing */ const EVERYTHING = 6; }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "SplEnum" not found in /in/CjvbM:16 Stack trace: #0 {main} thrown in /in/CjvbM on line 16
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.29 ms | 401 KiB | 8 Q