3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$url = 'http://138.197.100.140:8080/otp/routers/default/index/stops/154:27970/stoptimes/20170127'; //$api_json = file_get_contents($url); $json = '{"a":1,"b":2,"c":3,"d":4,"e":5}'; $result_json = json_decode($api_json, TRUE); echo '<pre>'; print_r($result_json); echo '</pre>';

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.0100.01016.38
8.3.50.0110.00419.72
8.3.40.0040.01118.78
8.3.30.0070.01118.79
8.3.20.0080.00021.95
8.3.10.0040.00421.60
8.3.00.0080.00020.84
8.2.180.0130.00618.41
8.2.170.0090.00622.96
8.2.160.0100.00320.22
8.2.150.0070.00024.18
8.2.140.0020.00524.66
8.2.130.0030.00519.70
8.2.120.0040.00426.35
8.2.110.0090.00020.36
8.2.100.0070.00317.91
8.2.90.0030.00617.75
8.2.80.0000.00818.04
8.2.70.0030.00518.03
8.2.60.0080.00018.13
8.2.50.0060.00319.30
8.2.40.0040.00422.20
8.2.30.0060.00319.06
8.2.20.0040.00418.11
8.2.10.0070.00018.09
8.2.00.0040.00417.71
8.1.280.0150.00325.92
8.1.270.0000.00820.37
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.82
8.1.230.0000.01019.10
8.1.220.0000.00817.78
8.1.210.0000.00820.92
8.1.200.0030.00617.10
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0080.00018.71
8.1.160.0040.00418.88
8.1.150.0070.00020.17
8.1.140.0040.00419.38
8.1.130.0000.00718.95
8.1.120.0000.00717.43
8.1.110.0040.00417.29
8.1.100.0030.00517.30
8.1.90.0000.00717.46
8.1.80.0070.00017.28
8.1.70.0030.00317.41
8.1.60.0000.00717.55
8.1.50.0050.00317.44
8.1.40.0030.00617.40
8.1.30.0050.00317.44
8.1.20.0040.00417.52
8.1.10.0060.00317.53
8.1.00.0050.00317.33
8.0.300.0040.00419.66
8.0.290.0000.00716.75
8.0.280.0000.00718.31
8.0.270.0000.00917.25
8.0.260.0030.00317.21
8.0.250.0030.00316.98
8.0.240.0050.00316.97
8.0.230.0000.00716.97
8.0.220.0000.00716.89
8.0.210.0030.00516.91
8.0.200.0000.00716.79
8.0.190.0000.00716.96
8.0.180.0070.00416.93
8.0.170.0030.00416.89
8.0.160.0030.00516.74
8.0.150.0030.00316.88
8.0.140.0040.00316.93
8.0.130.0000.00513.30
8.0.120.0000.00716.89
8.0.110.0000.00716.93
8.0.100.0000.00816.82
8.0.90.0030.00316.88
8.0.80.0150.00016.92
8.0.70.0040.00416.71
8.0.60.0070.00016.94
8.0.50.0040.00416.85
8.0.30.0110.00816.95
8.0.20.0130.00817.40
8.0.10.0000.00716.89
8.0.00.0120.00616.77
7.4.330.0050.00015.55
7.4.320.0000.00716.36
7.4.300.0030.00316.58
7.4.290.0040.00316.56
7.4.280.0050.00316.37
7.4.270.0000.00716.43
7.4.260.0030.00316.35
7.4.250.0040.00416.40
7.4.240.0000.00716.60
7.4.230.0000.00716.19
7.4.220.0100.01016.35
7.4.210.0060.00916.40
7.4.200.0030.00316.34
7.4.160.0100.00616.47
7.4.150.0060.01217.40
7.4.140.0110.00617.86
7.4.130.0120.00816.49
7.4.120.0090.01116.41
7.4.110.0030.01316.54
7.4.100.0080.00816.57
7.4.90.0070.01016.55
7.4.80.0220.00319.39
7.4.70.0110.00716.55
7.4.60.0080.00816.41
7.4.50.0040.01416.45
7.4.40.0110.00616.48
7.4.30.0130.00316.45
7.4.00.0030.01114.93
7.3.330.0000.00513.05
7.3.320.0050.00013.10
7.3.310.0030.00616.02
7.3.300.0030.00315.98
7.3.290.0110.00316.19
7.3.280.0090.00816.18
7.3.270.0090.00917.40
7.3.260.0060.01116.32
7.3.250.0080.01116.30
7.3.240.0050.01316.23
7.3.230.0100.00716.13
7.3.210.0120.00616.21
7.3.200.0120.01219.39
7.3.190.0150.00316.45
7.3.180.0060.01016.40
7.3.170.0100.00616.10
7.3.160.0060.00916.35
7.3.120.0070.01014.61
7.3.110.0060.01014.74
7.3.100.0030.01214.64
7.3.90.0100.00714.95
7.3.80.0000.01114.70
7.3.70.0120.00314.53
7.3.60.0000.01514.63
7.3.50.0000.01414.52
7.3.40.0040.00714.75
7.3.30.0000.00914.74
7.3.20.0060.00616.29
7.3.10.0130.00716.38
7.3.00.0060.00816.42
7.2.330.0080.00816.54
7.2.320.0070.01116.30
7.2.310.0090.00616.23
7.2.300.0060.01316.45
7.2.290.0080.00816.41
7.2.250.0070.01114.62
7.2.240.0100.01015.27
7.2.230.0090.00914.91
7.2.220.0070.00714.94
7.2.210.0030.00714.89
7.2.200.0000.01415.18
7.2.190.0060.00915.09
7.2.180.0030.00714.86
7.2.170.0060.00914.94
7.2.130.0080.01216.55
7.2.120.0070.01216.64
7.2.110.0160.00416.44
7.2.100.0070.01116.55
7.2.90.0090.00716.51
7.2.80.0140.00616.62
7.2.70.0100.01016.54
7.2.60.0100.00816.66
7.2.50.0180.00216.54
7.2.40.0140.00916.57
7.2.30.0140.00916.38
7.2.20.0150.01016.85
7.2.10.0090.00916.63
7.2.00.0070.00917.70
7.1.330.0080.00615.73
7.1.320.0090.00315.81
7.1.310.0040.00715.68
7.1.300.0070.01015.63
7.1.290.0060.00615.71
7.1.280.0080.00415.79
7.1.270.0060.00615.57
7.1.260.0070.00315.46
7.1.250.0100.00615.35
7.1.240.0060.00615.35
7.1.230.0000.01015.50
7.1.220.0120.00315.76
7.1.210.0130.00015.77
7.1.200.0080.00515.77
7.1.190.0090.00615.68
7.1.180.0120.00315.72
7.1.170.0000.00815.25
7.1.160.0000.00815.66
7.1.150.0060.00315.64
7.1.140.0070.00715.48
7.1.130.0120.00815.76
7.1.120.0070.01115.75
7.1.110.0070.00715.51
7.1.100.0050.01016.86
7.1.90.0180.00015.75
7.1.80.0090.00315.65
7.1.70.0070.00416.54
7.1.60.0060.00816.19
7.1.50.0080.00816.20
7.1.40.0110.00715.52
7.1.30.0100.00315.77
7.1.20.0120.00615.64
7.1.10.0170.03517.95
7.1.00.0180.03518.12
7.0.330.0030.01015.27
7.0.320.0030.01015.23
7.0.310.0030.00615.31
7.0.300.0080.00615.09
7.0.290.0000.01215.18
7.0.280.0070.00715.44
7.0.270.0030.00615.00
7.0.260.0080.00315.45
7.0.250.0000.00915.29
7.0.240.0100.00315.29
7.0.230.0130.00815.30
7.0.220.0100.00815.14
7.0.210.0100.01014.96
7.0.200.0070.01115.97
7.0.190.0110.00515.45
7.0.180.0200.00315.18
7.0.170.0140.01015.09
7.0.160.0090.00615.41
7.0.150.0280.03517.61
7.0.140.0160.03217.55
7.0.130.0170.04317.70
7.0.120.0190.02717.52
7.0.110.0130.03317.54
7.0.100.0130.03517.72
7.0.90.0160.02817.64
7.0.80.0180.03017.64
7.0.70.0070.03717.67
7.0.60.0120.03917.54
7.0.50.0160.02617.74
7.0.40.0180.02716.59
7.0.30.0100.03316.79
7.0.20.0230.02817.63
7.0.10.0290.03016.74
7.0.00.0140.03216.75
5.6.380.0060.00614.18

preferences:
33.2 ms | 400 KiB | 5 Q