3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar() { $this->blah = 33; } } $f = new Foo(); $f->bar(); var_dump($f);

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.0090.01218.68
8.3.50.0000.01418.09
8.3.40.0080.00818.57
8.3.30.0070.01418.79
8.3.20.0080.00019.21
8.3.10.0080.00021.70
8.3.00.0070.00020.77
8.2.180.0040.01418.41
8.2.170.0100.00722.96
8.2.160.0100.00322.08
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0050.00319.70
8.2.120.0040.00426.35
8.2.110.0060.00321.12
8.2.100.0090.00317.84
8.2.90.0030.00617.75
8.2.80.0080.00017.97
8.2.70.0000.00817.80
8.2.60.0000.00918.03
8.2.50.0050.00318.10
8.2.40.0040.00419.34
8.2.30.0050.00219.20
8.2.20.0070.00317.88
8.2.10.0000.00717.98
8.2.00.0000.00817.50
8.1.280.0110.00325.92
8.1.270.0040.00418.83
8.1.260.0000.00726.35
8.1.250.0070.00428.09
8.1.240.0000.00921.44
8.1.230.0090.00317.42
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0040.00817.10
8.1.190.0030.00517.23
8.1.180.0060.00318.10
8.1.170.0030.00618.51
8.1.160.0000.00718.71
8.1.150.0070.00018.84
8.1.140.0070.00022.14
8.1.130.0030.00320.33
8.1.120.0070.00017.31
8.1.110.0000.00717.45
8.1.100.0040.00417.41
8.1.90.0040.00417.46
8.1.80.0000.00717.36
8.1.70.0000.00917.42
8.1.60.0000.00817.46
8.1.50.0040.00417.53
8.1.40.0030.00517.52
8.1.30.0000.00817.57
8.1.20.0070.00017.52
8.1.10.0040.00417.59
8.1.00.0000.00817.45
8.0.300.0000.00718.77
8.0.290.0060.00316.58
8.0.280.0000.00718.45
8.0.270.0030.00317.21
8.0.260.0000.00618.34
8.0.250.0060.00016.87
8.0.240.0000.00716.83
8.0.230.0000.00716.88
8.0.220.0000.00716.83
8.0.210.0000.00716.81
8.0.200.0000.00616.89
8.0.190.0000.00716.79
8.0.180.0040.00416.86
8.0.170.0000.00916.85
8.0.160.0030.00316.91
8.0.150.0000.00716.76
8.0.140.0070.00016.73
8.0.130.0050.00013.18
8.0.120.0040.00416.82
8.0.110.0040.00416.81
8.0.100.0000.00816.73
8.0.90.0050.00316.79
8.0.80.0090.00616.84
8.0.70.0070.00016.72
8.0.60.0020.00516.84
8.0.50.0000.00716.73
8.0.30.0050.01517.13
8.0.20.0180.02017.40
8.0.10.0030.00516.94
8.0.00.0100.00916.68
7.4.330.0050.00015.55
7.4.320.0030.00316.46
7.4.300.0000.00716.40
7.4.290.0030.00316.53
7.4.280.0040.00416.49
7.4.270.0070.00016.62
7.4.260.0040.00416.56
7.4.250.0000.00816.48
7.4.240.0030.00316.46
7.4.230.0070.00016.51
7.4.220.0030.00516.61
7.4.210.0080.00716.52
7.4.200.0030.00316.31
7.4.160.0070.00916.51
7.4.140.0100.01117.86
7.4.130.0040.01216.56
7.4.120.0080.00916.48
7.4.110.0130.01416.52
7.4.100.0130.00316.53
7.4.90.0030.01416.59
7.4.80.0030.01919.39
7.4.70.0080.00816.51
7.4.60.0090.00616.28
7.4.50.0080.00816.49
7.4.40.0140.00716.41
7.3.330.0060.00013.21
7.3.320.0000.00513.32
7.3.310.0080.00016.28
7.3.300.0050.00216.23
7.3.290.0060.00016.22
7.3.280.0090.01116.31
7.3.260.0100.00816.34
7.3.240.0080.01016.37
7.3.230.0140.00316.48
7.3.210.0040.01216.30
7.3.200.0070.01016.20
7.3.190.0160.00716.41
7.3.180.0040.01216.43
7.3.170.0090.00916.41
7.3.160.0160.00016.25
7.2.330.0160.00016.55
7.2.320.0110.00716.51
7.2.310.0090.01216.54
7.2.300.0050.01116.51
7.2.290.0130.00816.45

preferences:
41.66 ms | 400 KiB | 5 Q