3v4l.org

run code in 500+ PHP versions simultaneously
<?php trait Accessor { public static function int():int { return self::value; } } enum Titular: int { use Accessor; case minimus=1; case maximus=2; } echo Titular::minimus::int();

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.90.0170.00417.11
8.5.80.0100.00816.93
8.5.70.0020.00516.77
8.5.60.0110.00716.95
8.5.50.0070.01016.89
8.5.30.0120.00619.44
8.5.20.0090.00920.15
8.5.10.0090.00819.71
8.5.00.0120.00820.11
8.4.240.0150.00819.57
8.4.230.0100.00819.52
8.4.220.0050.00419.54
8.4.210.0110.00921.48
8.4.180.0140.00722.16
8.4.170.0130.00920.59
8.4.160.0130.00923.61
8.4.150.0070.00516.93
8.4.140.0110.01117.74
8.4.130.0100.01117.91
8.4.120.0120.00824.05
8.4.110.0130.00622.52
8.4.100.0060.01118.53
8.4.90.0150.00518.65
8.4.80.0040.00418.71
8.4.70.0120.00818.13
8.4.60.0120.00918.74
8.4.50.0150.00519.57
8.4.40.0040.01418.07
8.4.30.0040.01524.05
8.4.20.0140.00719.79
8.4.10.0040.01219.41
8.3.330.0090.01018.48
8.3.320.0100.01118.50
8.3.310.0080.01120.25
8.3.300.0110.00920.72
8.3.290.0170.00420.82
8.3.280.0170.00918.51
8.3.270.0140.00616.87
8.3.260.0130.00616.67
8.3.250.0130.00618.74
8.3.240.0100.01017.00
8.3.230.0060.00516.45
8.3.220.0120.00718.72
8.3.210.0110.00716.92
8.3.200.0060.00316.70
8.3.190.0090.00917.09
8.3.180.0140.00616.75
8.3.170.0070.00717.14
8.3.160.0120.00620.75
8.3.150.0090.00917.15
8.3.140.0080.00318.23
8.3.130.0060.00316.82
8.3.120.0110.00718.39
8.3.110.0350.00816.71
8.3.100.0330.01516.91
8.3.90.0410.00916.41
8.3.80.0430.00716.43
8.3.70.0290.01016.68
8.3.60.0220.00016.46
8.3.50.0280.00916.69
8.3.40.0170.00417.54
8.3.30.0320.00717.55
8.3.20.0240.01017.27
8.3.10.0260.00717.39
8.3.00.0270.00717.38
8.2.320.0120.00818.16
8.2.310.0100.00918.20
8.2.300.0110.01022.01
8.2.290.0110.00820.29
8.2.280.0110.00418.97
8.2.270.0110.00716.65
8.2.260.0060.00316.91
8.2.250.0050.00318.52
8.2.240.0320.01316.09
8.2.230.0250.00716.57
8.2.220.0190.00016.64
8.2.210.0100.01016.16
8.2.200.0140.00616.39
8.2.190.0190.00016.47
8.2.180.0180.00016.52
8.2.170.0150.00617.64
8.2.160.0110.00817.62
8.2.150.0200.00017.29
8.2.140.0150.00517.35
8.2.130.0160.00317.18
8.2.120.0110.00817.32
8.2.110.0140.00317.72
8.2.100.0140.00317.49
8.2.90.0180.00017.54
8.2.80.0170.00317.39
8.2.70.0170.00216.99
8.2.60.0170.00617.35
8.2.50.0130.00417.23
8.2.40.0170.00017.17
8.2.30.0130.00317.09
8.2.20.0160.00017.40
8.2.10.0130.00317.48
8.2.00.0110.00517.30
8.1.340.0070.00223.47
8.1.330.0130.00621.92
8.1.320.0100.00916.20
8.1.310.0040.00418.38
8.1.300.0110.00715.77
8.1.290.0080.00816.06
8.1.280.0120.00416.27
8.1.270.0130.00917.13
8.1.260.0170.00516.84
8.1.250.0070.01117.08
8.1.240.0040.01316.77
8.1.230.0090.00716.89
8.1.220.0050.01017.11
8.1.210.0160.00017.04
8.1.200.0160.00017.11
8.1.190.0100.00516.94
8.1.180.0140.00017.22
8.1.170.0170.00017.00
8.1.160.0130.00316.55
8.1.150.0120.00316.60
8.1.140.0160.00016.85
8.1.130.0080.00817.35
8.1.120.0160.00017.20
8.1.110.0130.00316.90
8.1.100.0100.00616.96
8.1.90.0110.00817.21
8.1.80.0140.00716.86
8.1.70.0160.00016.98
8.1.60.0140.00517.03
8.1.50.0100.00816.84
8.1.40.0090.00617.29
8.1.30.0150.00217.45
8.1.20.0150.00416.80
8.1.10.0120.00417.16
8.1.00.0130.00317.01

preferences:
59.44 ms | 1048 KiB | 5 Q