3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { const B = C; } const C = new A();

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.0100.00924.06
8.4.110.0090.01020.81
8.4.100.0120.00822.32
8.4.90.0090.01318.58
8.4.80.0080.00819.72
8.4.70.0110.00618.02
8.4.60.0040.00519.06
8.4.50.0130.00618.63
8.4.40.0160.00319.40
8.4.30.0060.01220.81
8.4.20.0100.00319.72
8.4.10.0030.00621.84
8.3.250.0080.00719.05
8.3.240.0050.00317.32
8.3.230.0060.00516.63
8.3.220.0150.00417.33
8.3.210.0110.00616.71
8.3.200.0040.00616.67
8.3.190.0090.00016.95
8.3.180.0130.00416.39
8.3.170.0070.00718.88
8.3.160.0120.00618.39
8.3.150.0150.00422.51
8.3.140.0080.00018.85
8.3.130.0080.00018.55
8.3.120.0080.00318.90
8.3.110.0000.00822.58
8.3.100.0050.00322.58
8.3.90.0060.00322.58
8.3.50.0000.00922.58
8.2.290.0130.00620.58
8.2.280.0110.01018.26
8.2.270.0160.00316.63
8.2.260.0100.00717.28
8.2.250.0120.00616.50
8.2.240.0030.00618.93
8.2.230.0050.00322.58
8.2.220.0090.00022.58
8.2.210.0040.00422.58
8.2.30.0080.00618.92
8.2.20.0060.00618.85
8.2.10.0120.00218.93
8.2.00.0100.00618.88
8.1.330.0120.00422.03
8.1.320.0090.00918.22
8.1.310.0080.00016.65
8.1.300.0120.00616.14
8.1.160.0040.00418.86
8.1.150.0150.00318.56
8.1.140.0140.00318.54
8.1.130.0160.00018.63
8.1.120.0040.01218.67
8.1.110.0110.00618.62
8.1.100.0120.00418.67
8.1.90.0120.00518.57
8.1.80.0060.00918.60
8.1.70.0110.00618.62
8.1.60.0140.00518.80
8.1.50.0150.00318.73
8.1.40.0120.00918.80
8.1.30.0140.00518.76
8.1.20.0160.00518.86
8.1.10.0130.00518.69
8.1.00.0110.00518.64
8.0.280.0070.00717.89
8.0.270.0140.00317.81
8.0.260.0150.00017.77
8.0.250.0130.00317.91
8.0.240.0170.00017.98
8.0.230.0060.00417.95
8.0.220.0000.01317.92
8.0.210.0000.01517.80
8.0.200.0090.00618.00
8.0.190.0040.00817.97
8.0.180.0080.00517.80
8.0.170.0110.00417.90
8.0.160.0000.01517.90
8.0.150.0110.00417.80
8.0.140.0100.00517.80
8.0.130.0020.01017.82
8.0.120.0090.00717.83
8.0.110.0100.00517.89
8.0.100.0140.00017.89
8.0.90.0070.00217.74
8.0.80.0080.00317.91
8.0.70.0050.01017.82
8.0.60.0110.00517.90
8.0.50.0110.00417.83
8.0.30.0120.00317.84
8.0.20.0100.00517.86
8.0.10.0140.00317.99

preferences:
27.73 ms | 403 KiB | 5 Q