3v4l.org

run code in 300+ PHP versions simultaneously
<?php $address = 'http://iss.moex.com/iss/statistics/engines/futures/markets/indicativerates/securities/USD/RUB.json?from='.date('Y-m-d'); $string = file_get_contents($address); $data = json_encode($string, true); var_dump($data);

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.00418.68
8.3.50.0110.01116.38
8.3.40.0150.00019.13
8.3.30.0070.00719.07
8.3.20.0050.00220.66
8.3.10.0070.00022.13
8.3.00.0050.00321.14
8.2.180.0140.00018.66
8.2.170.0070.01022.96
8.2.160.0110.00422.21
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00822.43
8.2.120.0040.00426.35
8.2.110.0000.00919.52
8.2.100.0040.00720.61
8.2.90.0000.00819.82
8.2.80.0050.00318.27
8.2.70.0030.00518.29
8.2.60.0060.00318.34
8.2.50.0030.00618.18
8.2.40.0080.00022.45
8.2.30.0040.00421.37
8.2.20.0040.00418.25
8.2.10.0040.00418.22
8.2.00.0000.00718.38
8.1.280.0090.00925.92
8.1.270.0080.00022.32
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.37
8.1.230.0040.00821.03
8.1.220.0050.00317.89
8.1.210.0060.00318.77
8.1.200.0000.00917.63
8.1.190.0030.00617.47
8.1.180.0040.00818.10
8.1.170.0040.00418.75
8.1.160.0000.00719.30
8.1.150.0040.00419.05
8.1.140.0040.00419.79
8.1.130.0070.00019.16
8.1.120.0000.00917.69
8.1.110.0040.00417.77
8.1.100.0040.00417.56
8.1.90.0000.00717.61
8.1.80.0000.00717.64
8.1.70.0030.00517.77
8.1.60.0030.00517.79
8.1.50.0080.00017.81
8.1.40.0000.00817.68
8.1.30.0080.00017.73
8.1.20.0040.00417.77
8.1.10.0000.00817.60
8.1.00.0050.00317.65
8.0.300.0030.00519.92
8.0.290.0060.00317.25
8.0.280.0000.00718.84
8.0.270.0000.00717.59
8.0.260.0000.00717.16
8.0.250.0000.00717.33
8.0.240.0040.00417.07
8.0.230.0000.00717.34
8.0.220.0000.00817.18
8.0.210.0050.00217.28
8.0.200.0040.00417.34
8.0.190.0030.00617.29
8.0.180.0040.00417.22
8.0.170.0000.00817.25
8.0.160.0000.00817.27
8.0.150.0050.00317.18
8.0.140.0040.00417.15
8.0.130.0040.00413.67
8.0.120.0000.00817.23
8.0.110.0070.00017.20
8.0.100.0080.00017.21
8.0.90.0040.00417.28
8.0.80.0130.00317.30
8.0.70.0080.00017.15
8.0.60.0040.00417.31
8.0.50.0040.00417.36
8.0.30.0100.00617.28
8.0.20.0090.01017.56
8.0.10.0000.00817.41
8.0.00.0060.01617.00
7.4.330.0020.00215.55
7.4.320.0000.00616.70
7.4.300.0000.00716.76
7.4.290.0030.00316.72
7.4.280.0030.00616.75
7.4.270.0070.00016.74
7.4.260.0070.00016.78
7.4.250.0050.00316.72
7.4.240.0040.00416.88
7.4.230.0000.00716.86
7.4.220.0200.00716.77
7.4.210.0090.00616.81
7.4.200.0050.00216.88
7.4.160.0080.01216.68
7.4.150.0040.01417.40
7.4.140.0100.00817.86
7.4.130.0090.01216.97
7.4.120.0110.00916.78
7.4.110.0120.00916.64
7.4.100.0120.00616.88
7.4.90.0090.00916.74
7.4.80.0070.01019.39
7.4.70.0030.01516.61
7.4.60.0070.01116.71
7.4.50.0090.00916.88
7.4.40.0070.01716.91
7.4.30.0150.00916.70
7.4.00.0030.01215.15
7.3.330.0030.00313.42
7.3.320.0030.00313.61
7.3.310.0000.00816.72
7.3.300.0030.00316.60
7.3.290.0040.00416.61
7.3.280.0100.00816.60
7.3.270.0120.00617.40
7.3.260.0130.00816.83
7.3.250.0100.00916.68
7.3.240.0130.00716.61
7.3.230.0120.01216.66
7.3.210.0090.00916.76
7.3.200.0140.00516.52
7.3.190.0070.01416.86
7.3.180.0090.00916.97
7.3.170.0100.00716.81
7.3.160.0080.00816.75
7.3.120.0100.00714.86
7.3.110.0120.00615.13
7.3.100.0070.00715.27
7.3.90.0130.00615.41
7.3.80.0030.01315.39
7.3.70.0030.01015.19
7.3.60.0120.00314.98
7.3.50.0040.00414.99
7.3.40.0060.00615.21
7.3.30.0030.01315.18
7.3.20.0070.00716.86
7.3.10.0090.00616.91
7.3.00.0090.00616.89
7.2.330.0170.00716.69
7.2.320.0120.00916.87
7.2.310.0180.00017.04
7.2.300.0180.00016.91
7.2.290.0160.00316.83
7.2.250.0080.00915.17
7.2.240.0040.01615.29
7.2.230.0060.00915.47
7.2.220.0100.00715.27
7.2.210.0090.00615.36
7.2.200.0040.01115.07
7.2.190.0000.01215.36
7.2.180.0050.00515.23
7.2.170.0070.00315.09
7.2.60.0970.01115.37
7.2.00.0040.01119.79
7.1.330.0000.01215.98
7.1.320.0030.01315.96
7.1.310.0090.00316.21
7.1.300.0100.00316.27
7.1.290.0040.00716.24
7.1.280.0070.00316.08
7.1.270.0040.01215.81
7.1.260.0000.00915.99
7.1.200.0000.01516.09
7.1.100.0030.00618.49
7.1.70.0030.00617.68
7.1.60.0570.01733.57
7.1.50.0530.00733.14
7.1.40.0570.00732.94
7.1.30.0600.01033.00
7.1.20.0530.01333.24
7.1.10.0500.00315.15
7.1.00.0430.01015.42
7.0.200.0400.01015.25
7.0.190.0330.01315.03
7.0.180.0430.01014.53
7.0.170.0800.00714.96
7.0.160.0530.00314.63
7.0.150.0400.00714.90
7.0.140.0400.01314.68
7.0.130.0370.01314.81
7.0.120.0400.01314.81
7.0.110.0400.01314.86
7.0.100.0470.02314.76
7.0.90.0400.01014.83
7.0.80.0370.01314.77
7.0.70.0430.00714.92
7.0.60.0500.01314.62
7.0.50.0370.01314.85
7.0.40.0470.00714.96
7.0.30.0430.00714.82
7.0.20.0400.01014.91
7.0.10.0400.01014.79
7.0.00.0430.00715.08

preferences:
44.56 ms | 401 KiB | 5 Q