3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { public static function ii(){ var_dump($this); } } class b { public function aa(){ $a = new a(); $a->ii(); } } $bb = new b(); $bb->aa();

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.01018.41
8.3.50.0100.00318.18
8.3.40.0100.00718.93
8.3.30.0080.00820.04
8.3.20.0040.00420.27
8.3.10.0080.00022.14
8.3.00.0030.00522.44
8.2.180.0070.01118.26
8.2.170.0040.01122.96
8.2.160.0070.00722.25
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00626.16
8.2.120.0040.00420.91
8.2.110.0090.00320.49
8.2.100.0080.00418.09
8.2.90.0040.00419.07
8.2.80.0050.00317.97
8.2.70.0080.00017.50
8.2.60.0030.00617.92
8.2.50.0040.00418.10
8.2.40.0060.00320.46
8.2.30.0000.00717.90
8.2.20.0070.00017.76
8.2.10.0000.00817.67
8.2.00.0080.00317.61
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00023.84
8.1.230.0070.00417.83
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0040.00417.09
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00722.13
8.1.150.0080.00018.52
8.1.140.0040.00417.44
8.1.130.0000.00717.72
8.1.120.0040.00417.29
8.1.110.0040.00417.27
8.1.100.0040.00417.30
8.1.90.0050.00317.39
8.1.80.0030.00617.28
8.1.70.0030.00317.36
8.1.60.0000.00917.55
8.1.50.0040.00417.50
8.1.40.0030.00617.38
8.1.30.0070.00017.67
8.1.20.0000.00817.62
8.1.10.0040.00417.52
8.1.00.0050.00517.42
8.0.300.0000.00818.77
8.0.290.0050.00316.63
8.0.280.0070.00018.24
8.0.270.0000.00717.20
8.0.260.0040.00416.87
8.0.250.0040.00416.94
8.0.240.0060.00316.96
8.0.230.0000.00716.79
8.0.220.0000.00716.77
8.0.210.0070.00016.88
8.0.200.0050.00216.96
8.0.190.0040.00416.90
8.0.180.0060.00316.87
8.0.170.0080.00016.88
8.0.160.0040.00416.82
8.0.150.0040.00416.72
8.0.140.0040.00416.86
8.0.130.0000.00613.35
8.0.120.0040.00416.81
8.0.110.0030.00516.87
8.0.100.0040.00416.79
8.0.90.0000.00716.83
8.0.80.0000.01516.91
8.0.70.0080.00016.79
8.0.60.0070.00016.77
8.0.50.0050.00316.78
8.0.30.0100.01216.76
8.0.20.0090.00917.40
8.0.10.0040.00416.88
8.0.00.0080.01016.71
7.4.330.0050.00015.08
7.4.320.0000.00616.44
7.4.300.0030.00316.54
7.4.290.0000.00716.46
7.4.280.0040.00416.52
7.4.270.0000.00816.57
7.4.260.0050.00013.32
7.4.250.0040.00416.47
7.4.240.0070.00116.53
7.4.230.0060.00016.28
7.4.220.0120.00616.62
7.4.210.0080.00616.57
7.4.200.0000.00716.29
7.4.190.0000.00716.51
7.4.160.0030.01116.30
7.4.150.0090.00917.40
7.4.140.0100.00917.86
7.4.130.0080.00916.56
7.4.120.0090.00816.59
7.4.110.0100.00716.46
7.4.100.0130.00316.31
7.4.90.0110.00516.29
7.4.80.0110.00619.39
7.4.70.0070.01016.61
7.4.60.0070.01016.50
7.4.50.0000.00816.25
7.4.40.0090.00622.77
7.4.30.0040.01116.52
7.4.00.0090.00614.79
7.3.330.0050.00013.23
7.3.320.0000.00513.39
7.3.310.0070.00016.21
7.3.300.0020.00516.28
7.3.290.0040.01416.32
7.3.280.0040.01116.32
7.3.270.0100.01017.40
7.3.260.0150.00416.52
7.3.250.0150.00316.46
7.3.240.0110.00716.36
7.3.230.0070.01016.41
7.3.210.0070.01016.42
7.3.200.0060.01619.39
7.3.190.0200.00016.24
7.3.180.0060.01016.33
7.3.170.0120.01316.41
7.3.160.0060.01216.43
7.3.120.0030.01415.04
7.2.330.0100.01316.35
7.2.320.0130.00916.70
7.2.310.0080.00816.59
7.2.300.0050.01116.59
7.2.290.0130.00616.65
7.2.60.0040.01016.80
7.2.00.0070.01119.37
7.1.200.0150.00415.42
7.1.100.0030.00918.03
7.1.70.0040.01217.06
7.1.60.0100.01419.43
7.1.50.0150.00716.87
7.1.00.0000.08022.28
7.0.200.0070.00016.40
7.0.140.0070.06722.15
7.0.60.0130.07719.82
7.0.50.0100.07017.96
7.0.40.0030.07320.09
7.0.30.0270.04720.06
7.0.20.0270.08320.10
7.0.10.0330.07020.15
7.0.00.0000.04720.23
5.6.280.0030.07320.88
5.6.210.0070.05720.48
5.6.200.0030.05318.20
5.6.190.0070.09020.45
5.6.180.0270.06320.39
5.6.170.0230.05720.47
5.6.160.0100.05320.44
5.6.150.0130.04018.16
5.6.140.0070.07318.14
5.6.130.0130.08018.14
5.6.120.0030.04720.99
5.6.110.0070.04320.97
5.6.100.0130.03321.00
5.6.90.0130.08020.98
5.6.80.0070.06020.36
5.6.70.0200.04020.43
5.5.350.0030.08320.46
5.5.340.0030.05018.07
5.5.330.0030.05020.25
5.5.320.0230.04020.30
5.5.310.0330.07320.34
5.5.300.0030.04017.97
5.5.290.0100.07717.98
5.5.280.0030.09020.77
5.5.270.0030.05020.80
5.5.260.0170.08020.88
5.5.250.0070.07320.70
5.5.240.0130.05720.27
5.4.450.0830.05719.33
5.4.440.0930.06319.55
5.4.430.0870.05719.47
5.4.420.0800.05719.44
5.4.410.1070.04719.21
5.4.400.0070.05718.82
5.4.390.0200.06018.51
5.4.380.0270.05318.70
5.4.370.0200.04718.78
5.4.360.0100.05718.75
5.4.350.0110.04012.02
5.4.340.0070.04412.02
5.4.320.0040.04212.50
5.4.310.0050.04312.50
5.4.300.0060.03712.50
5.4.290.0070.03912.50
5.4.280.0040.03712.40
5.4.270.0070.04112.40
5.4.260.0070.05112.40
5.4.250.0060.04512.40
5.4.240.0100.06718.99
5.4.230.0000.08318.77
5.4.220.0170.04318.94
5.4.210.0130.04318.90
5.4.200.0030.05318.99
5.4.190.0030.05319.10
5.4.180.0070.05018.96
5.4.170.0000.06018.96
5.4.160.0000.05718.99
5.4.150.0100.05018.78
5.4.140.0100.04316.61
5.4.130.0070.05016.64
5.4.120.0070.07016.40
5.4.110.0000.05716.44
5.4.100.0070.05016.70
5.4.90.0070.04716.51
5.4.80.0030.05016.45
5.4.70.0030.05016.58
5.4.60.0130.04016.64
5.4.50.0070.04716.45
5.4.40.0070.04716.44
5.4.30.0030.04716.50
5.4.20.0030.05016.43
5.4.10.0100.05316.38
5.4.00.0100.04316.04
5.3.290.0100.04412.80
5.3.280.0130.06014.78
5.3.270.0070.05014.60
5.3.260.0100.05714.44
5.3.250.0000.05314.70
5.3.240.0070.05014.69
5.3.230.0000.05714.73
5.3.220.0030.05014.79
5.3.210.0030.05314.41
5.3.200.0030.05014.72
5.3.190.0030.06714.57
5.3.180.0030.05314.63
5.3.170.0100.04314.75
5.3.160.0100.05014.55
5.3.150.0100.04714.74
5.3.140.0000.05314.58
5.3.130.0030.05714.56
5.3.120.0070.05014.63
5.3.110.0000.05714.45
5.3.100.0030.07014.20
5.3.90.0070.04714.00
5.3.80.0070.04714.01
5.3.70.0030.05014.00
5.3.60.0000.05314.08
5.3.50.0070.04713.96
5.3.40.0070.04714.04
5.3.30.0070.04713.99
5.3.20.0070.04713.78
5.3.10.0070.05713.62
5.3.00.0130.04313.80
5.2.170.0070.03711.05
5.2.160.0000.04311.23
5.2.150.0070.03711.31
5.2.140.0000.04711.11
5.2.130.0100.05311.06
5.2.120.0100.04011.19
5.2.110.0000.04011.32
5.2.100.0030.05011.09
5.2.90.0100.03011.08
5.2.80.0070.03711.31
5.2.70.0070.05311.17
5.2.60.0070.03711.04
5.2.50.0030.04011.11
5.2.40.0000.04310.98
5.2.30.0030.04011.07
5.2.20.0070.03711.05
5.2.10.0100.03310.86
5.2.00.0100.03310.89
5.1.60.0070.0339.97
5.1.50.0100.0279.95
5.1.40.0030.0339.95
5.1.30.0030.04310.41
5.1.20.0030.05310.43
5.1.10.0030.03310.17
5.1.00.0100.03010.17
5.0.50.0030.0278.55
5.0.40.0030.0238.47
5.0.30.0000.0438.42
5.0.20.0070.0338.39
5.0.10.0030.0278.23
5.0.00.0000.0478.14
4.4.90.0000.0235.86
4.4.80.0000.0235.82
4.4.70.0000.0205.85
4.4.60.0030.0205.81
4.4.50.0030.0205.86
4.4.40.0030.0405.80
4.4.30.0030.0275.82
4.4.20.0000.0205.90
4.4.10.0000.0336.05
4.4.00.0000.0405.87
4.3.110.0000.0235.74
4.3.100.0000.0205.77
4.3.90.0000.0205.87
4.3.80.0000.0375.74
4.3.70.0000.0305.71
4.3.60.0000.0305.77
4.3.50.0000.0235.73
4.3.40.0070.0275.72
4.3.30.0000.0334.54
4.3.20.0070.0174.56
4.3.10.0030.0304.51
4.3.00.0170.0176.81

preferences:
60.15 ms | 400 KiB | 5 Q