3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a0 { public function c3($a) { if (is_array($a)) { $this->key = $a; } } }

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.0040.01218.30
8.3.50.0130.00521.98
8.3.40.0090.00618.57
8.3.30.0100.00318.54
8.3.20.0000.00719.09
8.3.10.0000.00721.78
8.3.00.0070.00019.02
8.2.180.0170.00325.92
8.2.170.0070.00718.96
8.2.160.0070.00719.33
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00417.91
8.2.120.0000.00726.35
8.2.110.0090.00019.30
8.2.100.0090.00317.80
8.2.90.0050.00319.00
8.2.80.0060.00317.97
8.2.70.0060.00317.37
8.2.60.0000.01117.68
8.2.50.0050.00318.09
8.2.40.0000.00722.39
8.2.30.0000.00719.21
8.2.20.0030.00517.49
8.2.10.0040.00417.89
8.2.00.0000.00717.92
8.1.280.0120.00325.92
8.1.270.0060.00324.66
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00322.39
8.1.230.0080.00317.64
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00317.23
8.1.190.0000.00817.00
8.1.180.0000.00818.10
8.1.170.0030.00618.49
8.1.160.0070.00020.58
8.1.150.0060.00318.94
8.1.140.0070.00019.40
8.1.130.0070.00017.48
8.1.120.0000.00817.36
8.1.110.0040.00417.31
8.1.100.0000.00717.34
8.1.90.0030.00617.34
8.1.80.0000.00717.35
8.1.70.0040.00417.29
8.1.60.0050.00317.49
8.1.50.0060.00317.36
8.1.40.0040.00417.27
8.1.30.0050.00317.42
8.1.20.0000.00817.48
8.1.10.0040.00417.40
8.1.00.0030.00617.33
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0070.00018.37
8.0.270.0000.00816.60
8.0.260.0030.00317.01
8.0.250.0000.00616.82
8.0.240.0000.00916.82
8.0.230.0000.00716.86
8.0.220.0080.00016.66
8.0.210.0000.00716.77
8.0.200.0000.00616.83
8.0.190.0000.00716.79
8.0.180.0040.00416.69
8.0.170.0050.00316.81
8.0.160.0040.00416.77
8.0.150.0000.00816.79
8.0.140.0000.00716.75
8.0.130.0060.00013.28
8.0.120.0040.00416.70
8.0.110.0070.00016.77
8.0.100.0000.00816.67
8.0.90.0050.00216.62
8.0.80.0080.00816.70
8.0.70.0000.00816.64
8.0.60.0070.00016.74
8.0.50.0040.00416.57
8.0.30.0110.00917.03
8.0.20.0130.00717.40
8.0.10.0000.00716.95
8.0.00.0100.00716.72
7.4.330.0000.00415.08
7.4.320.0060.00016.46
7.4.300.0060.00016.46
7.4.290.0030.00316.42
7.4.280.0070.00016.32
7.4.270.0030.00316.50
7.4.260.0030.00316.50
7.4.250.0080.00016.36
7.4.240.0040.00416.28
7.4.230.0070.00016.57
7.4.220.0050.01316.51
7.4.210.0000.02116.50
7.4.200.0070.00016.12
7.4.160.0000.01416.25
7.4.150.0030.01417.40
7.4.140.0050.01117.86
7.4.130.0090.00816.36
7.4.120.0080.00916.28
7.4.110.0120.00616.34
7.4.100.0060.00916.44
7.4.90.0120.00816.33
7.4.80.0040.01519.39
7.4.70.0080.00816.31
7.4.60.0060.01016.39
7.4.50.0000.01516.34
7.4.40.0090.00616.31
7.4.30.0070.01116.48
7.4.00.0080.01014.63
7.3.330.0030.00313.17
7.3.320.0030.00313.04
7.3.310.0000.00716.27
7.3.300.0000.00816.10
7.3.290.0090.00716.18
7.3.280.0080.01016.18
7.3.270.0100.00717.40
7.3.260.0100.01116.25
7.3.250.0070.01016.29
7.3.240.0140.00716.22
7.3.230.0100.00616.39
7.3.210.0100.00616.34
7.3.200.0080.01219.39
7.3.190.0060.01216.22
7.3.180.0100.00716.40
7.3.170.0130.01016.21
7.3.160.0130.00316.32
7.3.120.0030.01614.84
7.3.110.0140.00414.29
7.3.100.0000.01614.62
7.3.90.0100.00314.91
7.3.80.0030.01014.78
7.3.70.0040.01114.67
7.3.60.0000.00814.76
7.3.50.0030.00614.36
7.3.40.0000.01414.73
7.3.30.0000.00914.58
7.3.20.0070.00416.69
7.3.10.0040.01116.30
7.3.00.0060.00916.32
7.2.330.0120.00616.24
7.2.320.0090.01016.33
7.2.310.0150.00316.50
7.2.300.0080.01116.43
7.2.290.0030.01316.51
7.2.250.0070.01414.74
7.2.240.0060.01014.63
7.2.230.0030.01315.04
7.2.220.0060.00614.45
7.2.210.0060.00314.74
7.2.200.0030.01214.62
7.2.190.0030.00614.82
7.2.180.0100.00014.95
7.2.170.0080.00514.92
7.2.60.0070.00716.74
7.2.00.0000.01219.22
7.1.330.0070.00715.49
7.1.320.0000.01315.69
7.1.310.0060.00615.37
7.1.300.0030.00715.36
7.1.290.0110.00415.58
7.1.280.0030.00615.41
7.1.270.0100.00315.61
7.1.260.0110.00415.61
7.1.200.0000.00915.57
7.1.100.0040.00717.70
7.1.70.0100.00616.88
7.1.60.0070.01819.85
7.1.00.0030.07722.40
7.0.200.1020.00314.66
7.0.60.0170.05719.83
7.0.50.0170.05320.29
7.0.40.0030.06720.42
7.0.30.0130.05720.28
7.0.20.0100.06020.44
7.0.10.0170.06020.43
7.0.00.0170.05720.43
5.6.280.0100.06720.78
5.6.210.0170.05720.78
5.6.200.0170.06021.09
5.6.190.0100.06021.05
5.6.180.0030.06721.07
5.6.170.0170.05321.03
5.6.160.0030.06321.12
5.6.150.0130.05320.96
5.6.140.0170.05321.04
5.6.130.0270.06021.20
5.6.120.0070.06021.07
5.6.110.0200.06021.07
5.6.100.0430.05721.02
5.6.90.0430.06021.18
5.6.80.0430.06020.50
5.6.70.0530.05020.59
5.6.60.0570.06020.43
5.6.50.0630.04720.59
5.6.40.0530.05320.48
5.6.30.0570.05020.54
5.6.20.0400.06320.41
5.6.10.0400.06020.56
5.6.00.0500.05020.38
5.5.350.0000.07020.35
5.5.340.0200.05020.68
5.5.330.0130.05320.76
5.5.320.0130.06720.88
5.5.310.0170.05021.03
5.5.300.0230.05021.01
5.5.290.0130.06020.77
5.5.280.0100.05720.98
5.5.270.0370.06320.83
5.5.260.0570.04720.82
5.5.250.0500.05720.52
5.5.240.0470.05320.26
5.5.230.0500.06020.42
5.5.220.0570.05020.24
5.5.210.0500.05720.12
5.5.200.0600.05020.17
5.5.190.0530.06020.19
5.5.180.0530.05020.14
5.5.160.0500.05020.30
5.5.150.0630.04720.14
5.5.140.0600.04720.24
5.5.130.0630.05020.21
5.5.120.0670.04020.29
5.5.110.0630.04320.21
5.5.100.0570.05020.18
5.5.90.0570.05020.11
5.5.80.0530.05320.11
5.5.70.0530.05020.14
5.5.60.0470.05020.07
5.5.50.0570.05720.25
5.5.40.0530.05320.25
5.5.30.0600.04720.04
5.5.20.0630.04720.09
5.5.10.0570.05320.07
5.5.00.0470.06020.21

preferences:
60.27 ms | 401 KiB | 5 Q