3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<JSON [ [ 51.11041991029261, -2.274169921875 ], [ 51.08282186160978, -3.460693359375 ], [ 50.443513052458044, -3.570556640625 ], [ 50.443513052458044, -1.966552734375 ] ] JSON; $coords = json_decode($json, true); $lats = array_column($coords, 0); $lons = array_column($coords, 1); var_dump($lats, $lons);

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.0070.00718.28
8.3.50.0060.01022.04
8.3.40.0080.00818.75
8.3.30.0170.00018.88
8.3.20.0060.00320.34
8.3.10.0040.00423.67
8.3.00.0000.00719.08
8.2.180.0060.00918.25
8.2.170.0110.00422.96
8.2.160.0040.01120.52
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00420.85
8.2.110.0000.01122.26
8.2.100.0090.00317.72
8.2.90.0000.00919.09
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0040.00417.78
8.2.50.0030.00618.07
8.2.40.0000.00818.09
8.2.30.0000.00818.14
8.2.20.0000.00917.54
8.2.10.0070.00018.07
8.2.00.0000.00817.62
8.1.280.0110.00425.92
8.1.270.0050.00320.38
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00022.01
8.1.230.0110.00019.11
8.1.220.0000.00717.74
8.1.210.0060.00318.77
8.1.200.0000.00917.35
8.1.190.0000.00817.22
8.1.180.0070.00318.10
8.1.170.0060.00318.59
8.1.160.0040.00422.00
8.1.150.0000.00718.58
8.1.140.0080.00017.30
8.1.130.0050.00317.75
8.1.120.0070.00017.44
8.1.110.0070.00317.32
8.1.100.0040.00417.36
8.1.90.0030.00317.44
8.1.80.0040.00417.45
8.1.70.0030.00317.26
8.1.60.0000.00717.53
8.1.50.0030.00617.48
8.1.40.0000.00817.46
8.1.30.0030.00617.55
8.1.20.0000.00817.61
8.1.10.0040.00417.45
8.1.00.0040.00417.37
8.0.300.0000.00718.77
8.0.290.0000.00817.04
8.0.280.0070.00018.44
8.0.270.0000.00817.12
8.0.260.0060.00017.20
8.0.250.0070.00016.93
8.0.240.0050.00216.98
8.0.230.0040.00416.83
8.0.220.0040.00416.84
8.0.210.0060.00316.91
8.0.200.0030.00316.91
8.0.190.0000.00817.02
8.0.180.0030.00316.90
8.0.170.0000.00816.93
8.0.160.0040.00316.95
8.0.150.0000.00716.88
8.0.140.0070.00016.74
8.0.130.0030.00313.29
8.0.120.0040.00416.69
8.0.110.0000.00716.73
8.0.100.0050.00216.84
8.0.90.0040.00416.91
8.0.80.0160.00716.85
8.0.70.0030.00516.84
8.0.60.0080.00016.77
8.0.50.0080.00016.76
8.0.30.0150.00417.00
8.0.20.0160.00517.40
8.0.10.0000.00716.91
8.0.00.0070.01016.71
7.4.330.0050.00015.00
7.4.320.0000.00616.46
7.4.300.0030.00316.57
7.4.290.0000.00716.37
7.4.280.0000.00716.54
7.4.270.0070.00016.50
7.4.260.0030.00316.46
7.4.250.0030.00316.27
7.4.240.0050.00316.56
7.4.230.0030.00316.56
7.4.220.0090.01616.44
7.4.210.0040.01116.55
7.4.200.0000.00816.38
7.4.190.0030.00316.42
7.4.160.0090.00916.56
7.4.150.0080.00817.40
7.4.140.0060.01317.86
7.4.130.0110.00716.51
7.4.120.0070.01116.59
7.4.110.0100.00716.39
7.4.100.0090.01216.53
7.4.90.0070.01016.30
7.4.80.0070.01419.39
7.4.70.0070.01016.23
7.4.60.0090.01316.43
7.4.50.0080.00016.33
7.4.40.0140.01016.28
7.4.30.0210.00316.51
7.4.00.0030.01314.93
7.3.330.0060.00013.04
7.3.320.0030.00312.95
7.3.310.0000.00716.27
7.3.300.0030.00316.23
7.3.290.0040.01116.09
7.3.280.0110.01016.19
7.3.270.0170.00017.40
7.3.260.0110.00916.14
7.3.250.0120.00616.28
7.3.240.0160.00716.21
7.3.230.0040.01516.39
7.3.210.0060.01216.31
7.3.200.0120.00619.39
7.3.190.0100.01316.24
7.3.180.0050.01116.26
7.3.170.0120.00616.34
7.3.160.0090.00616.26
7.3.120.0030.01414.92
7.3.10.0030.01016.67
7.3.00.0030.01016.63
7.2.330.0150.00316.31
7.2.320.0100.00616.64
7.2.310.0080.00916.62
7.2.300.0090.00616.52
7.2.290.0060.01216.54
7.2.130.0080.00816.79
7.2.120.0070.00716.92
7.2.110.0060.00916.62
7.2.100.0060.00316.72
7.2.90.0050.00516.84
7.2.80.0030.01016.61
7.2.70.0060.00616.56
7.2.60.0090.00616.81
7.2.50.0030.01016.62
7.2.40.0060.00916.99
7.2.30.0080.00816.86
7.2.20.0090.00316.76
7.2.10.0030.00916.86
7.2.00.0040.00717.92
7.1.250.0120.00415.68
7.1.100.0060.00818.19
7.1.70.0100.00017.12
7.1.60.0100.01419.70
7.1.50.0250.01434.82
7.1.00.0000.08022.54
7.0.200.0080.00816.34
7.0.140.0000.07321.95
7.0.60.0200.07719.93
7.0.50.0100.08017.89
7.0.40.0000.07020.02
7.0.30.0400.07020.30
7.0.20.0300.05720.09
7.0.10.0070.09020.16
7.0.00.0070.04020.17
5.6.280.0030.07721.14
5.6.210.0030.08320.69
5.6.200.0130.08018.22
5.6.190.0070.07720.67
5.6.180.0270.06720.63
5.6.170.0200.05320.61
5.6.160.0100.08320.54
5.6.150.0030.04018.11
5.6.140.0100.07318.14
5.6.130.0070.04018.15
5.6.120.0070.04320.99
5.6.110.0070.08321.01
5.6.100.0100.08020.98
5.6.90.0000.04720.96
5.6.80.0100.07720.37
5.5.350.0300.07020.34
5.5.340.0070.04017.98
5.5.330.0130.08020.40
5.5.320.0030.04320.24
5.5.310.0230.07720.28
5.5.300.0030.08317.87
5.5.290.0100.08017.98
5.5.280.0100.08720.88
5.5.270.0070.08720.72
5.5.260.0130.07020.66
5.5.250.0070.03720.64
5.5.240.0370.07320.11
5.4.450.0500.06019.26
5.4.440.0670.06019.63
5.4.430.0870.05719.11
5.4.420.1030.05019.59
5.4.410.0770.06319.42
5.4.400.0530.07318.78
5.4.390.0400.04718.91
5.4.380.0770.06018.56
5.4.370.1170.04718.67
5.4.360.1030.04718.45
5.4.350.0930.04718.50
5.4.340.0800.07318.58
5.4.320.0050.03812.46
5.4.310.0070.03812.45
5.4.300.0090.04012.46
5.4.290.0120.05512.46
5.4.280.0080.05012.35
5.4.270.0090.04812.35
5.4.260.0130.04712.36
5.4.250.0120.04812.36
5.4.240.0130.04412.35
5.4.230.0110.04412.35
5.4.220.0100.04212.35
5.4.210.0130.03812.35
5.4.200.0140.04712.35
5.4.190.0080.04112.34
5.4.180.0080.04112.34
5.4.170.0090.04812.36
5.4.160.0090.04712.35
5.4.150.0110.04212.35
5.4.140.0060.04612.03
5.4.130.0080.05412.02
5.4.120.0110.04511.97
5.4.110.0120.04011.97
5.4.100.0090.04211.97
5.4.90.0130.03911.97
5.4.80.0070.04811.97
5.4.70.0120.04611.97
5.4.60.0070.04611.96
5.4.50.0100.04911.96
5.4.40.0080.04311.95
5.4.30.0080.04611.96
5.4.20.0100.05611.95
5.4.10.0090.05011.96
5.4.00.0080.05111.45
5.3.290.0040.04112.80
5.3.280.0070.04612.71
5.3.270.0130.04612.73
5.3.260.0070.05212.72
5.3.250.0090.04312.72
5.3.240.0050.05712.72
5.3.230.0090.03812.71
5.3.220.0070.04312.68
5.3.210.0080.05012.68
5.3.200.0080.05912.68
5.3.190.0130.04912.68
5.3.180.0100.05312.67
5.3.170.0090.05512.67
5.3.160.0080.04212.67
5.3.150.0110.03912.67
5.3.140.0100.04112.66
5.3.130.0080.04612.66
5.3.120.0060.04712.66
5.3.110.0110.04012.66
5.3.100.0130.03712.12
5.3.90.0070.04412.09
5.3.80.0060.04812.07
5.3.70.0130.04712.07
5.3.60.0160.04112.06
5.3.50.0110.04212.00
5.3.40.0120.04512.00
5.3.30.0080.05211.95
5.3.20.0050.05411.73
5.3.10.0110.05111.70
5.3.00.0100.05111.69
5.2.170.0060.0459.18
5.2.160.0120.0409.18
5.2.150.0090.0459.18
5.2.140.0090.0459.17
5.2.130.0090.0439.14
5.2.120.0090.0389.14
5.2.110.0050.0429.15
5.2.100.0120.0359.14
5.2.90.0100.0409.14
5.2.80.0100.0429.14
5.2.70.0110.0399.14
5.2.60.0080.0449.09
5.2.50.0070.0459.06
5.2.40.0110.0509.04
5.2.30.0110.0859.01
5.2.20.0120.0409.04
5.2.10.0140.0748.96
5.2.00.0100.0478.82
5.1.60.0140.0528.08
5.1.50.0080.0378.08
5.1.40.0090.0368.06
5.1.30.0110.0468.41
5.1.20.0080.0408.43
5.1.10.0070.0368.15
5.1.00.0110.0368.15
5.0.50.0090.0346.63
5.0.40.0070.0286.49
5.0.30.0050.0426.31
5.0.20.0080.0326.28
5.0.10.0080.0266.25
5.0.00.0070.0386.25
4.4.90.0040.0254.78
4.4.80.0070.0274.75
4.4.70.0060.0254.75
4.4.60.0050.0244.75
4.4.50.0030.0284.77
4.4.40.0090.0354.71
4.4.30.0030.0274.76
4.4.20.0070.0204.85
4.4.10.0030.0234.85
4.4.00.0070.0354.76
4.3.110.0040.0464.67
4.3.100.0040.0224.66
4.3.90.0030.0234.63
4.3.80.0090.0344.59
4.3.70.0040.0274.63
4.3.60.0050.0244.63
4.3.50.0110.0424.63
4.3.40.0030.0354.54
4.3.30.0030.0213.30
4.3.20.0020.0223.27
4.3.10.0040.0233.22
4.3.00.0070.01316.92

preferences:
38.01 ms | 401 KiB | 5 Q