3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = file_get_contents("https://sbux-card.azurewebsites.net/?card_number=XXXXXXXX&pin=YYYYYYY"); $json_a = json_decode($string, true); echo $json_a['bal']; echo $json_a['lastUpdated'];

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.0030.01316.63
8.3.50.0110.00421.08
8.3.40.0110.00418.92
8.3.30.0110.00418.67
8.3.20.0040.00420.16
8.3.10.0030.00523.64
8.3.00.0100.00019.65
8.2.180.0100.01017.00
8.2.170.0140.00422.96
8.2.160.0110.01119.38
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0090.00017.75
8.2.110.0090.00022.07
8.2.100.0120.00017.50
8.2.90.0080.00019.34
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0080.00018.05
8.2.50.0030.00518.07
8.2.40.0040.00419.40
8.2.30.0000.00719.41
8.2.20.0000.00717.68
8.2.10.0030.00517.97
8.2.00.0000.00817.94
8.1.280.0000.01825.92
8.1.270.0150.00621.91
8.1.260.0070.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00622.43
8.1.230.0070.00417.48
8.1.220.0030.00517.77
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0030.00617.00
8.1.180.0000.00718.10
8.1.170.0040.00418.64
8.1.160.0070.00021.86
8.1.150.0000.00818.82
8.1.140.0040.00417.29
8.1.130.0000.01117.41
8.1.120.0040.00417.41
8.1.110.0050.00217.36
8.1.100.0020.00517.39
8.1.90.0030.00417.29
8.1.80.0000.00717.46
8.1.70.0070.00017.45
8.1.60.0030.00517.53
8.1.50.0080.00017.41
8.1.40.0040.00417.38
8.1.30.0000.01217.63
8.1.20.0000.00717.57
8.1.10.0080.00017.55
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0000.00718.46
8.0.270.0070.00017.32
8.0.260.0090.00017.28
8.0.250.0040.00417.04
8.0.240.0000.00816.93
8.0.230.0000.00716.93
8.0.220.0070.00017.04
8.0.210.0030.00416.87
8.0.200.0070.00017.05
8.0.190.0080.00016.89
8.0.180.0040.00416.89
8.0.170.0050.00216.82
8.0.160.0050.00316.99
8.0.150.0030.00516.91
8.0.140.0000.00716.96
8.0.130.0000.00513.34
8.0.120.0030.00616.83
8.0.110.0080.00016.93
8.0.100.0040.00416.99
8.0.90.0030.00317.00
8.0.80.0000.01516.93
8.0.70.0080.00016.95
8.0.60.0040.00416.88
8.0.50.0040.00416.84
8.0.30.0130.00817.31
8.0.20.0100.00817.40
8.0.10.0040.00416.89
8.0.00.0080.01116.77
7.4.330.0020.00215.08
7.4.320.0060.00016.30
7.4.300.0030.00316.57
7.4.290.0040.00416.57
7.4.280.0080.00016.54
7.4.270.0030.00516.35
7.4.260.0040.00416.48
7.4.250.0030.00616.45
7.4.240.0040.00316.52
7.4.230.0070.00016.34
7.4.220.0110.00716.64
7.4.210.0060.01116.61
7.4.200.0000.00716.45
7.4.160.0060.00916.56
7.4.150.0140.00317.40
7.4.140.0180.00717.86
7.4.130.0120.00616.58
7.4.120.0140.00816.68
7.4.110.0120.00616.46
7.4.100.0000.01916.49
7.4.90.0060.01116.66
7.4.80.0140.00319.39
7.4.70.0120.00616.34
7.4.60.0070.01116.48
7.4.50.0050.00316.64
7.4.40.0040.01216.32
7.4.30.0110.00616.50
7.4.00.0080.00814.91
7.3.330.0060.00013.31
7.3.320.0000.00713.16
7.3.310.0030.00316.48
7.3.300.0070.00016.32
7.3.290.0070.00016.26
7.3.280.0080.01016.27
7.3.270.0110.00617.40
7.3.260.0130.01016.43
7.3.240.0080.01516.54
7.3.230.0240.00016.50
7.3.210.0070.01016.38
7.3.200.0160.00516.38
7.3.190.0170.00616.52
7.3.180.0070.01116.54
7.3.170.0130.00416.27
7.3.160.0070.01016.20
7.3.10.0040.00816.65
7.3.00.0070.00316.74
7.2.330.0150.00316.84
7.2.320.0110.00716.77
7.2.310.0080.00916.70
7.2.300.0080.01316.50
7.2.290.0100.01416.38
7.2.130.0060.01216.78
7.2.120.0000.01116.91
7.2.110.0070.00716.91
7.2.100.0040.01216.55
7.2.90.0190.00717.05
7.2.80.0030.01416.44
7.2.70.0090.00916.98
7.2.60.0020.01116.89
7.2.50.0100.00516.65
7.2.40.0030.01016.99
7.2.30.0030.00917.11
7.2.20.0030.00717.06
7.2.10.0070.00716.75
7.2.00.0070.00717.98
7.1.250.0040.00715.77
7.1.200.0080.00015.58
7.1.100.0000.01118.48
7.1.70.0000.01117.32
7.1.60.0100.01019.27
7.1.50.0100.01617.03
7.1.00.0030.07722.96
7.0.200.0000.00817.01
7.0.60.0100.08020.43
7.0.50.0030.09018.27
7.0.40.0070.05020.46
7.0.30.0670.06020.59
7.0.20.0270.03720.61
7.0.10.0100.05320.46
7.0.00.0170.08020.48
5.6.280.0000.03721.40
5.6.210.0130.07021.09
5.6.200.0030.07318.41
5.6.190.0030.05721.11
5.6.180.0330.07321.04
5.6.170.0330.07720.85
5.6.160.0170.07720.82
5.6.150.0030.05018.55
5.6.140.0030.04318.48
5.6.130.0070.08018.39
5.6.120.0030.05021.41
5.6.110.0100.06721.52
5.6.100.0070.08321.31
5.6.90.0070.06021.40
5.6.80.0100.05020.92
5.6.70.2300.04720.87
5.5.350.0230.04320.81
5.5.340.0030.08718.36
5.5.330.0130.07320.77
5.5.320.0270.04320.60
5.5.310.0330.08020.61
5.5.300.0100.08018.40
5.5.290.0070.05018.31
5.5.280.0100.08721.28
5.5.270.0100.03321.06
5.5.260.0130.08021.05
5.5.250.0170.06321.06
5.5.240.0270.07320.67
5.4.450.0370.05319.64
5.4.440.0200.07019.65
5.4.430.0200.05719.83
5.4.420.0530.06019.60
5.4.410.0400.04319.55
5.4.400.0270.05719.36
5.4.390.0230.05719.42
5.4.380.0330.06719.48
5.4.370.0270.04719.42
5.4.360.0370.06019.44
5.4.350.0200.06719.29
5.4.340.0330.06319.49
5.4.320.0170.06019.39
5.4.310.0270.06719.32
5.4.300.0130.06719.18
5.4.290.0200.05719.37
5.4.280.0270.06719.47
5.4.270.0170.06319.38
5.4.260.0200.06719.54
5.4.250.0230.05019.27
5.4.240.0370.04719.51
5.4.230.0370.05319.39
5.4.220.0270.06019.44
5.4.210.0230.06719.38
5.4.200.0230.06319.20
5.4.190.0330.05719.43
5.4.180.0300.06319.26
5.4.170.0170.07019.34
5.4.160.0300.05719.33
5.4.150.0500.07019.28
5.4.140.0400.05716.18
5.4.130.0100.07016.45
5.4.120.0170.06016.47
5.4.110.0170.06716.30
5.4.100.0830.04716.46
5.4.90.0970.05316.54
5.4.80.0830.06716.43
5.4.70.0300.06016.41
5.4.60.0370.04716.44
5.4.50.0030.06016.37
5.4.40.0030.05016.31
5.4.30.0100.06716.42
5.4.20.0330.04716.36

preferences:
54.74 ms | 401 KiB | 5 Q