3v4l.org

run code in 300+ PHP versions simultaneously
<?php $what = new stdClass(); $haha = function() {echo 'haha';}; $what->haha = $haha; $what->haha();

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.60.0070.00717.00
8.3.50.0070.00716.47
8.3.40.0060.01018.96
8.3.30.0110.00418.84
8.3.20.0000.00720.16
8.3.10.0090.00023.56
8.3.00.0080.00022.14
8.2.180.0190.00016.63
8.2.170.0100.01022.96
8.2.160.0140.00719.26
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00421.00
8.2.120.0000.00826.35
8.2.110.0090.00020.57
8.2.100.0060.00617.84
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0090.00417.75
8.2.60.0060.00318.04
8.2.50.0000.00818.10
8.2.40.0000.00820.54
8.2.30.0040.00419.36
8.2.20.0060.00317.99
8.2.10.0040.00418.07
8.2.00.0020.00518.07
8.1.280.0150.00425.92
8.1.270.0040.00422.14
8.1.260.0030.01026.35
8.1.250.0140.00028.09
8.1.240.0140.00723.92
8.1.230.0110.00017.76
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0000.00817.34
8.1.180.0060.00318.10
8.1.170.0060.00618.58
8.1.160.0000.00718.89
8.1.150.0040.00418.82
8.1.140.0030.00519.64
8.1.130.0030.00318.86
8.1.120.0070.00017.40
8.1.110.0040.00417.44
8.1.100.0040.00417.50
8.1.90.0000.00717.43
8.1.80.0040.00417.48
8.1.70.0060.00317.36
8.1.60.0030.00617.59
8.1.50.0050.00217.55
8.1.40.0040.00417.39
8.1.30.0000.00717.63
8.1.20.0040.00417.62
8.1.10.0030.00517.57
8.1.00.0080.00017.54
8.0.300.0000.00818.77
8.0.290.0050.00216.75
8.0.280.0080.00018.32
8.0.270.0000.00717.20
8.0.260.0030.00316.79
8.0.250.0000.00716.94
8.0.240.0050.00516.90
8.0.230.0040.00416.95
8.0.220.0030.00316.84
8.0.210.0070.00016.89
8.0.200.0030.00316.88
8.0.190.0000.00817.06
8.0.180.0000.00716.93
8.0.170.0070.00016.91
8.0.160.0000.00716.96
8.0.150.0050.00216.92
8.0.140.0000.00816.92
8.0.130.0060.00013.40
8.0.120.0000.00716.94
8.0.110.0040.00416.79
8.0.100.0000.00716.93
8.0.90.0070.00016.75
8.0.80.0120.00616.93
8.0.70.0040.00417.02
8.0.60.0000.00716.94
8.0.50.0070.00016.84
8.0.30.0110.00817.00
8.0.20.0100.00917.42
8.0.10.0000.00816.96
8.0.00.0100.00716.47
7.4.330.0000.00515.55
7.4.320.0000.00616.46
7.4.300.0030.00316.51
7.4.290.0000.00716.51
7.4.280.0000.00716.46
7.4.270.0000.00716.46
7.4.260.0030.00316.48
7.4.250.0080.00016.49
7.4.240.0070.00016.65
7.4.230.0000.00716.58
7.4.220.0110.00716.43
7.4.210.0040.01116.43
7.4.200.0000.00716.41
7.4.160.0090.00716.59
7.4.150.0100.00717.40
7.4.140.0110.00717.86
7.4.130.0100.00716.56
7.4.120.0100.00916.55
7.4.110.0090.01316.46
7.4.100.0200.00316.70
7.4.90.0130.00416.35
7.4.80.0140.00719.39
7.4.70.0070.01016.45
7.4.60.0060.00916.50
7.4.50.0140.00416.65
7.4.40.0080.00816.64
7.4.30.0160.00016.49
7.4.00.0040.01115.20
7.3.330.0000.00613.19
7.3.320.0050.00013.39
7.3.310.0000.00616.26
7.3.300.0000.00716.41
7.3.290.0080.01016.37
7.3.280.0060.01016.38
7.3.270.0160.00417.40
7.3.260.0120.00816.36
7.3.250.0110.00816.33
7.3.240.0090.01116.41
7.3.230.0060.01216.63
7.3.210.0120.00616.41
7.3.200.0160.00616.53
7.3.190.0030.01416.59
7.3.180.0100.00716.31
7.3.170.0070.01316.37
7.3.160.0090.00616.46
7.2.330.0040.01416.65
7.2.320.0100.01016.68
7.2.310.0120.00616.64
7.2.300.0000.01616.74
7.2.290.0100.00716.74
7.2.60.0040.01116.89
7.2.00.0200.00419.12
7.1.200.0130.00015.63
7.1.100.0040.00718.09
7.1.70.0060.01617.07
7.1.60.0360.01034.73
7.1.50.0310.01034.66
7.1.40.0360.00634.32
7.1.30.0190.02534.25
7.1.20.0230.01734.55
7.1.10.0130.00616.55
7.1.00.0100.01016.61
7.0.200.0090.01016.64
7.0.190.0030.01516.61
7.0.180.0100.00916.13
7.0.170.0120.00816.17
7.0.160.0060.01316.26
7.0.150.0060.01216.40
7.0.140.0060.01316.30
7.0.130.0150.00416.36
7.0.120.0060.01316.41
7.0.110.0100.01216.24
7.0.100.0110.01116.16
7.0.90.0090.00916.30
7.0.80.0090.01216.25
7.0.70.0030.01616.19
7.0.60.0060.01216.20
7.0.50.0120.00616.46
7.0.40.0130.00516.49
7.0.30.0030.01316.54
7.0.20.0060.00916.35
7.0.10.0060.01016.42
7.0.00.0030.01816.20

preferences:
36.73 ms | 401 KiB | 5 Q