3v4l.org

run code in 300+ PHP versions simultaneously
<?php enum LogLevel: string { case EMERGENCY = 'emergency'; case ALERT = 'alert'; case CRITICAL = 'critical'; case ERROR = 'error'; case WARNING = 'warning'; case NOTICE = 'notice'; case INFO = 'info'; case DEBUG = 'debug'; } echo LogLevel::DEBUG;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.120.0300.00818.79
8.4.110.0110.01017.59
8.4.90.0170.00317.70
8.3.250.0100.00916.33
8.3.240.0050.00416.57
8.3.180.0060.00216.54
8.3.50.0150.00416.74

preferences:
26.77 ms | 403 KiB | 5 Q