3v4l.org

run code in 300+ PHP versions simultaneously
<?php $kiwi = 'vert'; $fruit = &$kiwi; $fruit = array(); $fruit['kiwi'] = $kiwi; echo $fruit;

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.0120.00316.34
8.3.50.0100.00822.05
8.3.40.0060.00818.88
8.3.30.0040.01118.79
8.3.20.0040.00420.27
8.3.10.0030.00620.54
8.3.00.0080.00022.52
8.2.180.0060.00918.29
8.2.170.0120.00922.96
8.2.160.0030.01019.36
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0030.00619.48
8.2.120.0040.00426.35
8.2.110.0100.00020.52
8.2.100.0090.00317.61
8.2.90.0000.00719.35
8.2.80.0000.00917.97
8.2.70.0040.00417.75
8.2.60.0090.00018.05
8.2.50.0080.00018.10
8.2.40.0040.00420.59
8.2.30.0060.00320.54
8.2.20.0050.00317.74
8.2.10.0040.00418.17
8.2.00.0050.00318.16
8.1.280.0100.00325.92
8.1.270.0000.00723.80
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0040.00422.14
8.1.230.0100.00317.44
8.1.220.0060.00317.80
8.1.210.0060.00318.77
8.1.200.0100.00017.25
8.1.190.0080.00217.10
8.1.180.0040.00418.10
8.1.170.0030.00518.52
8.1.160.0000.00720.78
8.1.150.0040.00418.76
8.1.140.0040.00419.41
8.1.130.0000.00717.57
8.1.120.0030.00317.36
8.1.110.0060.00317.34
8.1.100.0020.00517.43
8.1.90.0030.00517.42
8.1.80.0000.00817.43
8.1.70.0040.00417.27
8.1.60.0050.00217.41
8.1.50.0050.00417.38
8.1.40.0000.00717.49
8.1.30.0040.00417.61
8.1.20.0070.00017.53
8.1.10.0000.00817.50
8.1.00.0040.00417.51
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0000.00718.35
8.0.270.0030.00317.30
8.0.260.0030.00617.29
8.0.250.0060.00016.93
8.0.240.0030.00316.96
8.0.230.0070.00016.90
8.0.220.0000.00716.88
8.0.210.0000.00716.91
8.0.200.0000.00716.97
8.0.190.0040.00416.93
8.0.180.0040.00416.76
8.0.170.0030.00316.93
8.0.160.0070.00016.87
8.0.150.0040.00416.80
8.0.140.0000.00716.79
8.0.130.0000.00613.34
8.0.120.0030.00616.74
8.0.110.0030.00316.79
8.0.100.0060.00316.70
8.0.90.0050.00216.94
8.0.80.0090.00616.79
8.0.70.0080.00016.81
8.0.60.0050.00316.75
8.0.50.0000.00716.91
8.0.30.0070.00917.02
8.0.20.0130.01117.40
8.0.10.0000.00716.88
8.0.00.0110.00716.77
7.4.330.0050.00015.08
7.4.320.0000.00616.53
7.4.300.0030.00316.55
7.4.290.0080.00016.53
7.4.280.0030.00416.51
7.4.270.0040.00416.42
7.4.260.0000.00816.41
7.4.250.0030.00316.46
7.4.240.0070.00016.46
7.4.230.0000.00716.59
7.4.220.0130.00616.49
7.4.210.0090.00616.47
7.4.200.0000.00716.27
7.4.160.0150.00416.32
7.4.150.0140.00317.40
7.4.140.0140.00617.86
7.4.130.0150.00716.56
7.4.120.0140.00916.45
7.4.110.0080.00816.40
7.4.100.0090.00916.67
7.4.90.0060.01116.59
7.4.80.0060.00919.39
7.4.70.0150.00316.54
7.4.60.0090.00616.50
7.4.50.0090.00616.35
7.4.40.0090.01216.41
7.4.30.0120.00316.56
7.4.00.0000.01414.77
7.3.330.0050.00013.24
7.3.320.0000.00513.19
7.3.310.0030.00316.17
7.3.300.0030.00316.19
7.3.290.0040.01316.29
7.3.280.0070.00816.34
7.3.270.0140.00417.40
7.3.260.0100.01116.26
7.3.250.0110.00816.27
7.3.240.0110.00616.53
7.3.230.0100.00716.39
7.3.210.0130.00316.32
7.3.200.0090.00616.39
7.3.190.0110.00616.44
7.3.180.0130.00316.63
7.3.170.0120.01016.63
7.3.160.0040.01116.41
7.2.330.0060.01316.74
7.2.320.0070.01016.77
7.2.310.0000.01616.35
7.2.300.0100.01316.38
7.2.290.0040.01216.65
7.2.60.0030.00916.73
7.2.00.0000.01319.47
7.1.200.0060.00615.79
7.1.100.0000.01217.81
7.1.70.0120.00317.01
7.1.60.0070.01719.28
7.1.00.0030.07322.36
7.0.200.0030.00516.47
7.0.60.0200.06319.94
7.0.50.0100.08017.81
7.0.40.0230.06320.16
7.0.30.0300.05020.30
7.0.20.0200.06020.09
7.0.10.0270.06020.42
7.0.00.0130.06320.29
5.6.280.0170.05721.04
5.6.210.0000.09020.75
5.6.200.0030.07718.09
5.6.190.0170.08320.55
5.6.180.0270.05020.82
5.6.170.0300.05020.60
5.6.160.0200.06020.58
5.6.150.0230.05720.38
5.6.140.0130.07320.13
5.6.130.0200.05720.43
5.6.120.0100.06020.39
5.6.110.0100.06720.34
5.6.100.0330.05320.10
5.6.90.0070.06720.08
5.6.80.0730.05719.88
5.6.70.0100.05719.54
5.6.60.0470.05719.54
5.6.50.0070.06019.78
5.6.40.0770.04719.70
5.6.30.0400.05719.46
5.6.20.0200.05019.82
5.6.10.0530.05719.46
5.6.00.0330.07019.68
5.5.350.0030.03020.32
5.5.340.0030.06717.93
5.5.330.0230.06020.27
5.5.320.0170.06020.46
5.5.310.0100.06320.29
5.5.300.0130.05720.24
5.5.290.0500.05719.97
5.5.280.0030.07320.29
5.5.270.0100.06020.29
5.5.260.0630.05019.89
5.5.250.0370.05320.02
5.5.240.0700.06319.59
5.5.230.0200.05719.57
5.5.220.0630.05319.61
5.5.210.0000.06719.55
5.5.200.0300.05019.32
5.5.190.0170.04719.65
5.5.180.0100.05719.49
5.5.160.0170.04719.26
5.5.150.0230.06019.61
5.5.140.0470.05719.58
5.5.130.0400.06719.41
5.5.120.0630.04719.25
5.5.110.0570.04719.54
5.5.100.0400.06319.18
5.5.90.0670.04019.52
5.5.80.0500.05319.42
5.5.70.0570.06319.34
5.5.60.0530.05019.16
5.5.50.0570.04719.16
5.5.40.0470.06019.50
5.5.30.0530.05019.34
5.5.20.0630.05719.25
5.5.10.0130.05319.43
5.5.00.0100.05719.49

preferences:
66.56 ms | 401 KiB | 5 Q