3v4l.org

run code in 500+ PHP versions simultaneously
<?php class X { const abstract = A; function foo($a = A) {} } const A = new x();

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.0060.00216.99
8.5.80.0070.00917.01
8.5.70.0090.01018.68
8.5.60.0100.00816.86
8.5.50.0090.00916.86
8.5.30.0120.00519.68
8.5.20.0090.01020.11
8.5.10.0110.00716.81
8.5.00.0140.00719.88
8.4.240.0070.00319.73
8.4.230.0060.00319.55
8.4.220.0130.00619.66
8.4.210.0090.01019.67
8.4.180.0130.00919.57
8.4.170.0120.01022.03
8.4.160.0130.00921.91
8.4.150.0050.00716.98
8.4.140.0160.00717.49
8.4.130.0060.00217.85
8.4.120.0070.00920.53
8.4.110.0130.00722.69
8.4.100.0150.00617.89
8.4.90.0110.01018.06
8.4.80.0090.01117.89
8.4.70.0110.00717.84
8.4.60.0380.01117.41
8.4.50.0380.00817.77
8.4.40.0410.00717.37
8.4.30.0390.00917.26
8.4.20.0390.01117.50
8.4.10.0440.00717.47
8.3.330.0100.00718.66
8.3.320.0050.00318.43
8.3.310.0060.00318.37
8.3.300.0150.00520.70
8.3.290.0080.01120.73
8.3.280.0120.00920.79
8.3.270.0110.00816.67
8.3.260.0080.01016.73
8.3.250.0130.00518.79
8.3.240.0110.00816.71
8.3.230.0110.00816.54
8.3.220.0130.00316.71
8.3.210.0100.00816.78
8.3.200.0320.01116.52
8.3.190.0340.00716.48
8.3.180.0270.00516.63
8.3.170.0160.00916.31
8.3.160.0300.00816.33
8.3.150.0400.00916.33
8.3.140.0340.00716.40
8.3.130.0230.00616.71
8.3.120.0290.00716.77
8.3.110.0330.00916.56
8.3.100.0350.01016.70
8.3.90.0340.00616.55
8.3.80.0350.00616.64
8.3.70.0290.00616.51
8.3.60.0370.00916.42
8.3.50.0360.00816.57
8.3.40.0420.00717.26
8.3.30.0330.00817.44
8.3.20.0310.01117.49
8.3.10.0320.00917.47
8.3.00.0180.01017.57
8.2.320.0130.00718.23
8.2.310.0090.01118.23
8.2.300.0120.00920.32
8.2.290.0130.00820.17
8.2.280.0350.00616.56
8.2.270.0300.00916.54
8.2.260.0290.01016.48
8.2.250.0300.01016.54
8.2.240.0320.00916.41
8.2.230.0320.00816.59
8.2.220.0340.00816.46
8.2.210.0310.00916.64
8.2.200.0310.01016.46
8.2.190.0270.01216.35
8.2.180.0290.00916.57
8.2.170.0370.00617.64
8.2.160.0500.00617.47
8.2.150.0430.00617.31
8.2.140.0330.01017.37
8.2.130.0310.00617.50
8.2.120.0250.00717.43
8.2.110.0250.00617.61
8.2.100.0270.00717.63
8.2.90.0350.00617.76
8.2.80.0320.01017.64
8.2.70.0320.01017.43
8.2.60.0310.00817.46
8.2.50.0360.00517.45
8.2.40.0320.00917.58
8.2.30.0350.00617.52
8.2.20.0290.00817.48
8.2.10.0290.01317.52
8.2.00.0300.00617.53
8.1.340.0140.00520.12

preferences:
70.48 ms | 896 KiB | 5 Q