3v4l.org

run code in 300+ PHP versions simultaneously
<?php function readonly() { } $var = readonly ();

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.3.110.0000.00820.94
8.3.100.0090.00924.06
8.3.90.0100.01026.77
8.3.80.0000.01016.38
8.3.70.0070.00716.58
8.3.60.0070.01118.55
8.3.50.0090.00618.22
8.3.40.0100.01018.72
8.3.30.0120.00318.95
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.230.0050.00322.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0090.00016.38
8.2.190.0150.00316.63
8.2.180.0180.00325.92
8.2.170.0110.00422.96
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0000.00826.16
8.2.110.0060.00320.99
8.2.100.0080.00317.47
8.2.90.0030.00519.00
8.2.80.0000.00817.97
8.2.70.0030.00517.50
8.2.60.0000.00717.93
8.2.50.0090.00018.10
8.2.40.0070.00018.09
8.2.30.0080.00017.86
8.2.20.0000.00720.42
8.2.10.0000.00718.04
8.2.00.0000.00719.02
8.1.290.0000.00930.84
8.1.280.0110.00425.92
8.1.270.0000.01023.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.66
8.1.230.0080.00417.83
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.00
8.1.190.0060.00317.10
8.1.180.0080.00018.10
8.1.170.0040.00418.50
8.1.160.0070.00018.80
8.1.150.0000.00718.56
8.1.140.0040.00417.25
8.1.130.0000.00718.85
8.1.120.0000.00717.36
8.1.110.0000.01117.30
8.1.100.0040.00417.27
8.1.90.0030.00617.39
8.1.80.0040.00417.30
8.1.70.0070.00017.27
8.1.60.0040.00417.50
8.1.50.0190.00017.51
8.1.40.0110.00517.45
8.1.30.0080.00717.48
8.1.20.0140.00617.66
8.1.10.0200.00517.41
8.1.00.0230.00317.30
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00718.37
8.0.270.0050.00216.68
8.0.260.0030.00318.38
8.0.250.0000.00716.94
8.0.240.0030.00316.79
8.0.230.0070.00016.77
8.0.220.0030.00316.74
8.0.210.0040.00316.84
8.0.200.0040.00416.86
8.0.190.0050.00316.86
8.0.180.0160.00516.73
8.0.170.0140.00616.83
8.0.160.0180.00116.70
8.0.150.0120.00716.72
8.0.140.0130.00516.76
8.0.130.0210.00216.73
8.0.120.0150.00416.84
8.0.110.0130.00516.73
8.0.100.0160.00216.78
8.0.90.0040.00816.72
8.0.80.0140.00316.78
8.0.70.0070.00916.83
8.0.60.0110.00216.71
8.0.50.0100.00616.73
8.0.30.0120.00216.72
8.0.20.0110.00616.74
8.0.10.0120.00716.92
7.4.330.0050.00015.55
7.4.320.0000.00616.54
7.4.300.0040.00416.48
7.4.290.0120.00716.42
7.4.280.0200.00116.60
7.4.270.0200.00216.46
7.4.260.0170.00616.55
7.4.250.0110.00516.60
7.4.240.0110.00616.54
7.4.230.0140.00516.60
7.4.220.0170.00016.52
7.4.210.0130.00516.41
7.4.200.0130.00516.44
7.4.190.0140.00416.67
7.4.180.0050.00816.56
7.4.160.0060.00616.45
7.4.150.0150.00016.44
7.4.140.0130.00516.50
7.4.130.0180.00316.37
7.4.120.0220.00216.44
7.4.110.0140.00816.38
7.4.100.0120.00616.40
7.4.90.0090.00716.41
7.4.80.0150.00216.35
7.4.70.0130.00516.21
7.4.60.0160.00216.26
7.4.50.0090.00516.14
7.4.40.0120.00416.30
7.4.30.0150.00216.37
7.4.20.0120.00416.34
7.4.10.0120.00616.27
7.4.00.0090.00816.42

preferences:
27.2 ms | 403 KiB | 5 Q