3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function __construct () { $this->foo = 1; $this->bar[] = 2; } public function __set ($key, $value) { var_dump($key, $value); } } var_dump(new C);

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.70.0070.00718.43
8.3.60.0140.00318.43
8.3.50.0070.01016.28
8.3.40.0060.00819.13
8.3.30.0120.00318.75
8.3.20.0080.00021.64
8.3.10.0060.00321.96
8.3.00.0040.00423.71
8.2.190.0070.01016.63
8.2.180.0120.00916.88
8.2.170.0120.00622.96
8.2.160.0070.00720.86
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0030.00526.16
8.2.110.0110.00019.33
8.2.100.0120.00417.72
8.2.90.0060.00319.64
8.2.80.0060.00318.22
8.2.70.0050.00517.63
8.2.60.0040.00417.50
8.2.50.0060.00317.55
8.2.40.0000.00819.71
8.2.30.0000.00818.11
8.2.20.0000.00718.10
8.2.10.0000.00819.19
8.2.00.0000.00819.42
8.1.280.0030.01025.92
8.1.270.0000.00823.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.46
8.1.230.0080.00320.90
8.1.220.0040.00417.74
8.1.210.0040.00418.78
8.1.200.0030.00617.11
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0070.00019.03
8.1.160.0000.00718.69
8.1.150.0000.00718.73
8.1.140.0040.00418.88
8.1.130.0070.00017.38
8.1.120.0040.00417.29
8.1.110.0040.00417.40
8.1.100.0030.00517.40
8.1.90.0040.00417.40
8.1.80.0000.00717.32
8.1.70.0070.00017.30
8.1.60.0000.00817.60
8.1.50.0040.00417.52
8.1.40.0030.00617.52
8.1.30.0050.00317.61
8.1.20.0050.00317.57
8.1.10.0090.00017.52
8.1.00.0030.00917.36
8.0.300.0000.00819.98
8.0.290.0030.00616.63
8.0.280.0030.00318.37
8.0.270.0050.00218.06
8.0.260.0070.00016.74
8.0.250.0000.00716.93
8.0.240.0000.00716.75
8.0.230.0030.00316.77
8.0.220.0070.00016.81
8.0.210.0070.00016.86
8.0.200.0060.00016.90
8.0.190.0040.00416.82
8.0.180.0050.00316.73
8.0.170.0040.00416.75
8.0.160.0000.00816.77
8.0.150.0040.00416.62
8.0.140.0000.00716.79
8.0.130.0030.00313.21
8.0.120.0000.00716.77
8.0.110.0000.00716.88
8.0.100.0070.00016.88
8.0.90.0060.00316.72
8.0.80.0070.00816.82
8.0.70.0030.00616.69
8.0.60.0050.00216.66
8.0.50.0040.00416.62
8.0.30.0120.00616.91
8.0.20.0100.01016.88
8.0.10.0000.00716.89
8.0.00.0130.00716.63
7.4.330.0050.00015.55
7.4.320.0030.00316.39
7.4.300.0030.00316.48
7.4.290.0080.00016.52
7.4.280.0040.00316.41
7.4.270.0080.00016.33
7.4.260.0030.00313.25
7.4.250.0000.00716.41
7.4.240.0030.00316.46
7.4.230.0000.00716.55
7.4.220.0050.00216.37
7.4.210.0080.00716.50
7.4.200.0040.00416.60
7.4.130.0110.00816.39
7.4.120.0130.01016.40
7.4.110.0040.01416.48
7.4.100.0160.00616.40
7.4.90.0120.01216.18
7.4.80.0090.00919.39
7.4.70.0080.00816.34
7.4.60.0060.01016.52
7.4.50.0040.00816.43
7.4.40.0070.01016.38
7.4.30.0080.00816.38
7.4.20.0060.01016.49
7.4.10.0060.00916.36
7.4.00.0060.00916.44
7.3.330.0000.00716.19
7.3.320.0000.00513.20
7.3.310.0000.00616.36
7.3.300.0040.00416.34
7.3.290.0050.01116.30
7.3.260.0110.01116.36
7.3.230.0120.00316.18
7.3.210.0150.00616.42
7.3.200.0090.01016.38
7.3.190.0090.00916.34
7.3.180.0000.01616.26
7.3.170.0070.01116.54
7.3.160.0070.01016.22
7.3.150.0000.01816.32
7.3.140.0060.00916.55
7.3.130.0060.01516.57
7.3.120.0130.00316.31
7.3.110.0060.00916.38
7.3.100.0070.01016.47
7.3.90.0130.00316.50
7.3.80.0000.01516.60
7.3.70.0060.00916.26
7.3.60.0130.00716.48
7.3.50.0080.00816.38
7.3.40.0190.00416.20
7.3.30.0060.01116.19
7.3.20.0100.00716.43
7.3.10.0100.00716.23
7.3.00.0070.01316.23
7.2.330.0110.00716.68
7.2.320.0130.01416.39
7.2.310.0080.01116.60
7.2.300.0100.01116.78
7.2.290.0000.01616.42
7.2.280.0090.00816.32
7.2.270.0130.00616.65
7.2.260.0070.01116.47
7.2.250.0030.01416.59
7.2.240.0140.00416.77
7.2.230.0040.01116.45
7.2.220.0120.00616.63
7.2.210.0120.00316.71
7.2.200.0090.00616.65
7.2.190.0110.00816.50
7.2.180.0090.00616.43
7.2.170.0050.01116.49
7.2.160.0120.00816.41
7.2.150.0030.01316.56
7.2.140.0180.00516.74
7.2.130.0160.00016.33
7.2.120.0110.00616.64
7.2.110.0130.00316.35
7.2.100.0080.00916.47
7.2.90.0160.00316.70
7.2.80.0140.00716.46
7.2.70.0130.00616.45
7.2.60.0040.01516.35
7.2.50.0180.00016.52
7.2.40.0090.00816.78
7.2.30.0000.01616.48
7.2.20.0100.00716.63
7.2.10.0110.00716.54
7.2.00.0100.00716.50

preferences:
72.33 ms | 401 KiB | 5 Q