3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array_fill(0, 1, '..'); $x[] = 'a'; var_dump($x);

Looking for PHP 7.0.6 bugs?

Version 7.0.6 was released twice by the PHP Team. We're using the latest version;
meaning this script no longer shows the bug which the original release had.

The bugs that were fixed in the second release are 72116 and 72119.

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.0110.01118.18
8.3.50.0070.01116.50
8.3.40.0070.00718.45
8.3.30.0080.00818.34
8.3.20.0050.00318.65
8.3.10.0040.00421.87
8.3.00.0080.00017.67
8.2.180.0140.00718.04
8.2.170.0110.00422.96
8.2.160.0000.01320.53
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00721.04
8.2.110.0100.00022.21
8.2.100.0080.00417.79
8.2.90.0040.00417.91
8.2.80.0040.00419.16
8.2.70.0000.00817.50
8.2.60.0030.00517.50
8.2.50.0040.00417.55
8.2.40.0090.00019.35
8.2.30.0040.00418.05
8.2.20.0000.00717.74
8.2.10.0040.00418.04
8.2.00.0000.00817.95
8.1.280.0070.01025.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0080.00023.91
8.1.230.0110.00020.96
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00917.13
8.1.180.0030.00518.10
8.1.170.0040.00417.62
8.1.160.0000.00722.00
8.1.150.0000.00718.73
8.1.140.0050.00519.46
8.1.130.0040.00417.27
8.1.120.0000.00717.39
8.1.110.0040.00417.33
8.1.100.0040.00317.40
8.1.90.0070.00417.36
8.1.80.0000.00717.37
8.1.70.0000.00817.37
8.1.60.0030.00617.33
8.1.50.0030.00617.39
8.1.40.0060.00317.44
8.1.30.0000.00817.53
8.1.20.0040.00417.58
8.1.10.0000.00817.40
8.1.00.0080.00017.30
8.0.300.0040.00420.04
8.0.290.0060.00316.63
8.0.280.0030.00318.28
8.0.270.0060.00316.75
8.0.260.0030.00516.80
8.0.250.0030.00316.85
8.0.240.0000.00716.89
8.0.230.0000.00716.91
8.0.220.0040.00416.81
8.0.210.0070.00016.84
8.0.200.0030.00316.79
8.0.190.0000.00816.90
8.0.180.0050.00316.74
8.0.170.0080.00016.80
8.0.160.0030.00516.84
8.0.150.0030.00316.72
8.0.140.0000.00816.68
8.0.130.0060.00013.29
8.0.120.0050.00216.78
8.0.110.0050.00216.80
8.0.100.0030.00516.70
8.0.90.0050.00316.67
8.0.80.0060.00916.81
8.0.70.0080.00016.88
8.0.60.0070.00016.82
8.0.50.0070.00016.88
8.0.30.0110.00616.87
8.0.20.0100.01017.40
8.0.10.0000.00816.73
8.0.00.0080.00816.77
7.4.330.0050.00015.08
7.4.320.0030.00316.34
7.4.300.0000.00716.36
7.4.290.0040.00416.57
7.4.280.0080.00016.54
7.4.270.0070.00016.34
7.4.260.0000.00716.45
7.4.250.0050.00216.45
7.4.240.0040.00416.55
7.4.230.0030.00316.57
7.4.220.0110.00716.63
7.4.210.0090.00616.49
7.4.200.0000.00816.52
7.4.160.0120.00616.45
7.4.150.0000.01817.40
7.4.140.0110.01117.86
7.4.130.0090.00816.48
7.4.120.0120.00516.43
7.4.110.0130.00516.55
7.4.100.0070.01016.19
7.4.90.0120.00616.44
7.4.80.0120.01219.39
7.4.70.0030.01416.45
7.4.60.0100.00716.34
7.4.50.0100.00316.07
7.4.40.0140.01116.56
7.4.30.0100.00616.55
7.4.00.0040.01115.02
7.3.330.0020.00213.18
7.3.320.0000.00613.13
7.3.310.0000.00716.27
7.3.300.0030.00316.19
7.3.290.0060.00916.19
7.3.280.0110.00616.17
7.3.270.0090.00917.40
7.3.260.0130.00616.18
7.3.250.0120.00916.42
7.3.240.0120.00916.33
7.3.230.0070.01016.39
7.3.210.0070.01016.18
7.3.200.0080.01119.39
7.3.190.0070.01416.36
7.3.180.0030.01316.23
7.3.170.0090.00916.36
7.3.160.0120.00316.41
7.2.330.0110.00616.25
7.2.320.0080.00916.67
7.2.310.0080.01516.25
7.2.300.0060.01216.37
7.2.290.0090.00616.61
7.2.60.0250.00616.90
7.1.200.0060.00815.57
7.1.70.0050.00217.22
7.1.60.0070.00717.19
7.1.00.0030.07722.51
7.0.200.0050.00216.45
7.0.80.0100.08719.86
7.0.70.0230.07020.13
7.0.60.0130.06319.97
7.0.50.0570.04320.30
7.0.40.0070.04320.14
7.0.30.0100.04320.12
7.0.20.0100.07020.02
7.0.10.0070.08320.04
7.0.00.0070.08720.07
5.6.230.0070.07720.65
5.6.220.0170.04320.67
5.6.210.0130.07320.43
5.6.200.0100.07721.05
5.6.190.0200.05021.13
5.6.180.0030.04721.01
5.6.170.0100.06321.09
5.6.160.0030.08721.00
5.6.150.0070.05021.08
5.6.140.0070.04320.94
5.6.130.0100.04320.95
5.6.120.0100.08320.91
5.6.110.0100.06721.07
5.6.100.0030.08721.11
5.6.90.0030.05020.97
5.6.80.0030.08020.43
5.6.70.0200.06020.40
5.6.60.0130.06720.34
5.6.50.0030.04720.43
5.6.40.0030.07720.37
5.6.30.0070.08320.43
5.6.20.0070.03720.36
5.6.10.0070.07320.30
5.6.00.0070.05320.29
5.5.370.0100.07720.44
5.5.360.0030.06320.55
5.5.350.0030.08720.37
5.5.340.0100.07020.88
5.5.330.0070.07320.86
5.5.320.0100.06020.88
5.5.310.0070.08320.63
5.5.300.0170.07720.79
5.5.290.0030.07720.91
5.5.280.0030.08320.85
5.5.270.0170.08020.88
5.5.260.0200.08020.89
5.5.250.0000.08020.72
5.5.240.0130.07020.15
5.5.230.0030.08320.20
5.5.220.0070.06720.20
5.5.210.0170.06720.11
5.5.200.0130.07320.11
5.5.190.0130.07720.19
5.5.180.0100.04720.23
5.5.160.0100.07319.98
5.5.150.0070.05720.24
5.5.140.0000.06320.16
5.5.130.0100.04720.13
5.5.120.0130.06720.14
5.5.110.0100.04720.10
5.5.100.0100.09720.07
5.5.90.0130.06020.11
5.5.80.0100.04320.06
5.5.70.0030.04720.03
5.5.60.0030.04020.15
5.5.50.0170.06320.08
5.5.40.0130.04020.12
5.5.30.0070.05320.04
5.5.20.0100.07320.13
5.5.10.0100.07720.12
5.5.00.0070.08020.01

preferences:
54.77 ms | 401 KiB | 5 Q