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.5.10.0140.00416.86
8.5.00.0130.00818.93
8.4.150.0150.00618.33
8.4.140.0230.01017.67
8.4.130.0210.00917.64
8.4.120.0290.00918.42
8.4.110.0240.01018.00
8.4.100.0350.01017.98
8.4.90.0330.00617.84
8.4.80.0360.01017.79
8.4.70.0390.00817.99
8.4.60.0410.00817.89
8.4.50.0380.00918.00
8.4.40.0410.00817.80
8.4.30.0420.01117.71
8.4.20.0480.00917.89
8.4.10.0400.01117.83
8.3.280.0250.00717.20
8.3.270.0270.00917.11
8.3.260.0300.00817.14
8.3.250.0300.00916.93
8.3.240.0290.00816.95
8.3.230.0380.00717.07
8.3.220.0360.00917.13
8.3.210.0380.00617.08
8.3.200.0350.00817.21
8.3.190.0330.01117.05
8.3.180.0280.00716.93
8.3.170.0370.01117.18
8.3.160.0390.00817.18
8.3.150.0370.01017.08
8.3.140.0410.00917.05
8.3.130.0330.01017.19
8.3.120.0330.01017.08
8.3.110.0360.00717.17
8.3.100.0300.00917.16
8.3.90.0410.00717.14
8.3.80.0400.00817.07
8.3.70.0370.01117.03
8.3.60.0410.00817.10
8.3.50.0340.00716.99
8.3.40.0370.01117.79
8.3.30.0310.01017.81
8.3.20.0310.00917.63
8.3.10.0300.00817.61
8.3.00.0280.00617.72
8.2.290.0300.01017.20
8.2.280.0290.00817.11
8.2.270.0290.01017.09
8.2.260.0310.00717.13
8.2.250.0330.00717.05
8.2.240.0290.01017.04
8.2.230.0310.00817.10
8.2.220.0310.00717.06
8.2.210.0290.01017.04
8.2.200.0290.01017.05
8.2.190.0320.00817.04
8.2.180.0320.00817.02
8.2.170.0330.00717.71
8.2.160.0320.00817.79
8.2.150.0330.00717.71
8.2.140.0310.00917.64
8.2.130.0340.00617.64
8.2.120.0300.01017.65
8.2.110.0300.01017.84
8.2.100.0270.01117.82
8.2.90.0330.00917.81
8.2.80.0270.01017.69
8.2.70.0290.00917.68
8.2.60.0320.00917.66
8.2.50.0320.01017.66
8.2.40.0300.00917.63
8.2.30.0300.00717.70
8.2.20.0280.00917.67
8.2.10.0290.00817.70
8.2.00.0320.00917.67

preferences:
31.9 ms | 403 KiB | 5 Q