3v4l.org

run code in 300+ PHP versions simultaneously
<?php $both = array("no", "yes"); list(,$yes) = $both; var_dump($yes, $both);

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.0150.00618.43
8.3.50.0100.00317.93
8.3.40.0100.00318.67
8.3.30.0140.00018.88
8.3.20.0020.00520.33
8.3.10.0060.00321.90
8.3.00.0040.00418.92
8.2.180.0100.00618.41
8.2.170.0070.00722.96
8.2.160.0130.00321.96
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00419.67
8.2.110.0080.00022.20
8.2.100.0120.00017.91
8.2.90.0080.00019.09
8.2.80.0030.00617.97
8.2.70.0050.00317.62
8.2.60.0040.00418.04
8.2.50.0030.00618.07
8.2.40.0050.00318.22
8.2.30.0000.00718.05
8.2.20.0040.00417.73
8.2.10.0040.00418.01
8.2.00.0050.00317.61
8.1.270.0050.00318.88
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00923.96
8.1.230.0080.00419.00
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0090.00517.11
8.1.190.0000.00817.10
8.1.180.0030.00518.10
8.1.170.0000.01018.50
8.1.160.0000.00721.94
8.1.150.0050.00318.74
8.1.140.0000.00817.43
8.1.130.0000.00717.83
8.1.120.0000.00717.41
8.1.110.0040.00417.35
8.1.100.0040.00417.25
8.1.90.0000.00717.32
8.1.80.0040.00417.36
8.1.70.0030.00317.36
8.1.60.0000.00917.55
8.1.50.0000.00917.45
8.1.40.0080.00017.36
8.1.30.0080.00017.54
8.1.20.0030.00517.61
8.1.10.0000.00717.53
8.1.00.0040.00417.43
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.31
8.0.270.0000.00717.09
8.0.260.0030.00317.22
8.0.250.0070.00016.75
8.0.240.0000.00716.91
8.0.230.0000.00716.92
8.0.220.0070.00016.80
8.0.210.0030.00316.78
8.0.200.0030.00616.76
8.0.190.0050.00216.88
8.0.180.0000.00716.87
8.0.170.0080.00016.89
8.0.160.0070.00016.68
8.0.150.0000.00716.85
8.0.140.0040.00416.69
8.0.130.0050.00013.31
8.0.120.0030.00516.62
8.0.110.0040.00416.85
8.0.100.0040.00416.88
8.0.90.0070.00016.89
8.0.80.0080.00816.78
8.0.70.0020.00516.69
8.0.60.0000.00716.66
8.0.50.0030.00316.69
8.0.30.0110.01217.03
8.0.20.0120.01017.40
8.0.10.0040.00416.93
8.0.00.0100.00816.52
7.4.330.0000.00515.03
7.4.320.0060.00016.45
7.4.300.0000.00616.32
7.4.290.0000.00716.43
7.4.280.0070.00016.42
7.4.270.0030.00316.48
7.4.260.0030.00616.52
7.4.250.0070.00016.30
7.4.240.0020.00516.54
7.4.230.0030.00316.61
7.4.220.0150.00816.59
7.4.210.0090.00616.49
7.4.200.0000.00716.41
7.4.160.0160.00016.35
7.4.150.0090.00917.40
7.4.140.0080.01017.86
7.4.130.0120.00516.32
7.4.120.0100.01216.48
7.4.110.0090.00916.37
7.4.100.0070.01616.42
7.4.90.0060.01216.41
7.4.80.0030.01419.39
7.4.70.0030.01516.39
7.4.60.0000.01716.45
7.4.50.0050.00316.66
7.4.40.0090.01516.37
7.4.30.0110.00516.31
7.4.00.0110.00614.85
7.3.330.0000.00712.94
7.3.320.0020.00213.09
7.3.310.0030.00316.19
7.3.300.0060.00016.09
7.3.290.0050.01216.16
7.3.280.0100.00916.24
7.3.270.0100.00717.40
7.3.260.0120.00616.26
7.3.250.0090.00816.33
7.3.240.0070.01016.57
7.3.230.0120.00916.39
7.3.210.0140.00516.40
7.3.200.0030.01319.39
7.3.190.0110.00416.18
7.3.180.0090.00616.30
7.3.170.0200.00316.27
7.3.160.0100.00616.25
7.3.120.0030.01214.92
7.3.110.0070.01014.66
7.3.100.0100.00314.99
7.3.90.0070.01014.71
7.3.80.0080.00414.62
7.3.70.0040.01214.86
7.3.60.0030.01614.75
7.3.50.0040.01414.70
7.3.40.0030.00614.63
7.3.30.0110.00414.62
7.3.20.0110.00416.76
7.3.10.0030.01016.63
7.3.00.0150.00016.34
7.2.330.0060.01116.30
7.2.320.0060.01416.58
7.2.310.0150.00916.43
7.2.300.0130.00416.36
7.2.290.0060.01016.32
7.2.250.0070.01114.79
7.2.240.0100.01014.82
7.2.230.0070.00314.99
7.2.220.0030.01214.68
7.2.210.0100.00615.16
7.2.200.0100.00314.82
7.2.190.0060.01014.85
7.2.180.0140.00714.85
7.2.170.0060.01014.97
7.2.00.0030.00919.29
7.1.330.0040.01115.89
7.1.320.0070.00315.86
7.1.310.0070.00715.65
7.1.300.0070.00715.49
7.1.290.0040.00415.82
7.1.280.0000.01415.77
7.1.270.0000.01415.77
7.1.260.0070.00715.69
7.1.100.0000.00817.84
7.1.70.0090.00016.70
7.1.60.0100.01319.46
7.1.50.0090.01216.57
7.1.00.0070.07022.33
7.0.200.0030.00616.75
7.0.140.0000.04321.99
7.0.60.0070.08720.00
7.0.50.0070.04717.84
7.0.40.0070.04320.11
7.0.30.0230.04720.28
7.0.20.0230.03320.09
7.0.10.0070.07020.04
7.0.00.0000.07320.16
5.6.280.0000.07721.07
5.6.210.0170.06020.53
5.6.200.0130.07018.13
5.6.190.0070.04320.56
5.6.180.0370.04020.67
5.6.170.0270.08020.41
5.6.160.0070.08320.50
5.6.150.0070.08018.21
5.6.140.0030.08318.20
5.6.130.0030.04318.21
5.6.120.0070.04021.01
5.6.110.0100.08021.13
5.6.100.0030.09020.88
5.6.90.0000.07021.10
5.6.80.0070.08020.40
5.5.350.4170.03020.43
5.5.340.0070.07017.89
5.5.330.0030.08720.13
5.5.320.2830.03720.28
5.5.310.0270.05720.28
5.5.300.0030.03718.02
5.5.290.0000.09317.92
5.5.280.0170.07720.87
5.5.270.0100.06020.83
5.5.260.0230.06020.94
5.5.250.0100.07320.54
5.5.240.0000.08020.12
5.4.450.0370.06319.41
5.4.440.0130.06319.41
5.4.430.0070.06019.51
5.4.420.0130.05019.25
5.4.410.0070.05719.36
5.4.400.0200.04319.13
5.4.390.0970.04718.66
5.4.380.0870.04718.43
5.4.370.0830.06718.55
5.4.360.0870.05018.56
5.4.350.1000.06018.55
5.4.340.0970.06018.43
5.4.320.0870.06018.51
5.4.310.0900.05318.50
5.4.300.1170.06718.65
5.4.290.1070.07318.45
5.4.280.0900.05718.56
5.4.270.0930.05718.42
5.4.260.0870.05318.49
5.4.250.0870.05318.49
5.4.240.0870.07018.52
5.4.230.0970.05318.70
5.4.220.0930.06018.71
5.4.210.0970.04718.57
5.4.200.1000.07016.66
5.4.190.1000.07318.48
5.4.180.0730.06318.66
5.4.170.0870.06718.58
5.4.160.0830.05318.67
5.4.150.0770.05318.57
5.4.140.1000.05016.21
5.4.130.0700.04016.13
5.4.120.0230.04316.09
5.4.110.0230.04716.16
5.4.100.0130.06316.28
5.4.90.0270.04716.16
5.4.80.0270.05016.18
5.4.70.0170.06016.05
5.4.60.0270.04716.22
5.4.50.0170.05016.23
5.4.40.0230.04716.13
5.4.30.0370.05316.27
5.4.20.0100.06016.13
5.4.10.0200.05316.13
5.4.00.0170.06715.67
5.3.290.0130.08314.55
5.3.280.0270.06314.52
5.3.270.0200.05314.51
5.3.260.0130.06314.49
5.3.250.0230.06014.69
5.3.240.0300.06314.55
5.3.230.0270.06714.64
5.3.220.0230.05014.59
5.3.210.0270.07314.59
5.3.200.0200.07314.66
5.3.190.0170.08014.58
5.3.180.0330.06314.48
5.3.170.0270.04314.65
5.3.160.0170.06314.50
5.3.150.0130.06014.59
5.3.140.0300.06014.46
5.3.130.0070.06314.54
5.3.120.0170.05714.54
5.3.110.0200.05314.55
5.3.100.0170.05714.04
5.3.90.0300.04713.91
5.3.80.0100.06013.93
5.3.70.0200.05013.93
5.3.60.0270.04314.08
5.3.50.0170.05713.86
5.3.40.0100.05713.86
5.3.30.0230.05713.89
5.3.20.0300.05013.60
5.3.10.0200.04713.64
5.3.00.0200.05713.60
5.2.170.0130.05711.20
5.2.160.0170.05711.20
5.2.150.0130.04311.12
5.2.140.0200.04011.08
5.2.130.0100.04711.06
5.2.120.0130.04011.14
5.2.110.0270.04711.02
5.2.100.0200.03711.15
5.2.90.0170.04011.16
5.2.80.0230.03711.23
5.2.70.0130.04311.10
5.2.60.0230.04011.03
5.2.50.0270.04711.08
5.2.40.0130.04310.95
5.2.30.0230.04011.02
5.2.20.0100.04310.94
5.2.10.0200.04010.83
5.2.00.0100.04310.80
5.1.60.0200.04310.08
5.1.50.0200.0409.97
5.1.40.0070.04010.09
5.1.30.0230.03010.48
5.1.20.0130.04010.38
5.1.10.0170.03710.08
5.1.00.0130.03710.07
5.0.50.0030.0338.63
5.0.40.0130.0238.54
5.0.30.0130.0378.29
5.0.20.0030.0338.21
5.0.10.0100.0278.20
5.0.00.0130.0378.24
4.4.90.0100.0205.88
4.4.80.0070.0305.93
4.4.70.0100.0305.89
4.4.60.0130.0235.88
4.4.50.0100.0235.92
4.4.40.0070.0335.92
4.4.30.0030.0235.82
4.4.20.0070.0235.92
4.4.10.0030.0275.98
4.4.00.0070.0375.85
4.3.110.0070.0235.79
4.3.100.0170.0135.82
4.3.90.0030.0235.79
4.3.80.0070.0335.79
4.3.70.0070.0205.88
4.3.60.0070.0205.80
4.3.50.0070.0235.76
4.3.40.0030.0375.77
4.3.30.0030.0234.55
4.3.20.0070.0204.51
4.3.10.0070.0204.53
4.3.00.0030.0278.72

preferences:
54.62 ms | 400 KiB | 5 Q