3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.google.com/a-url/that/returns/json'; $request = new WP_Http; // or use the $wp_http global $result = $request->request( $url ); $json = $result['body']; $data = json_decode( $json, true );

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.40.0090.00618.66
8.3.30.0090.00618.84
8.3.20.0070.00020.34
8.3.10.0050.00323.63
8.3.00.0030.00519.38
8.2.170.0120.00922.96
8.2.160.0070.00720.53
8.2.150.0070.00024.18
8.2.140.0050.00224.66
8.2.130.0090.00017.48
8.2.120.0040.00426.35
8.2.110.0080.00020.43
8.2.100.0060.00617.91
8.2.90.0030.00517.63
8.2.80.0060.00318.04
8.2.70.0000.00817.92
8.2.60.0040.00418.04
8.2.50.0080.00018.10
8.2.40.0050.00220.53
8.2.30.0000.00720.56
8.2.20.0070.00317.70
8.2.10.0000.00818.15
8.2.00.0000.00717.95
8.1.270.0000.01123.97
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.82
8.1.230.0120.00021.01
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0040.00421.86
8.1.150.0040.00418.73
8.1.140.0030.00619.52
8.1.130.0000.00717.56
8.1.120.0050.00317.38
8.1.110.0000.00717.45
8.1.100.0030.00317.36
8.1.90.0020.00517.31
8.1.80.0000.00817.39
8.1.70.0000.00717.36
8.1.60.0000.00917.54
8.1.50.0030.00717.52
8.1.40.0000.00717.59
8.1.30.0050.00317.56
8.1.20.0070.00017.54
8.1.10.0000.00717.61
8.1.00.0040.00417.52
8.0.300.0040.00419.60
8.0.290.0000.00816.63
8.0.280.0000.00718.38
8.0.270.0030.00317.12
8.0.260.0000.00617.20
8.0.250.0000.00616.85
8.0.240.0000.00717.02
8.0.230.0000.00816.95
8.0.220.0000.00716.86
8.0.210.0070.00016.76
8.0.200.0000.00716.84
8.0.190.0040.00416.83
8.0.180.0000.00716.81
8.0.170.0000.00916.81
8.0.160.0000.00716.94
8.0.150.0000.00716.84
8.0.140.0000.00716.87
8.0.130.0060.00013.32
8.0.120.0030.00516.75
8.0.110.0040.00416.93
8.0.100.0040.00416.94
8.0.90.0050.00216.75
8.0.80.0090.00616.81
8.0.70.0000.00916.91
8.0.60.0040.00416.73
8.0.50.0000.00716.93
8.0.30.0080.01217.13
8.0.20.0060.01217.40
8.0.10.0040.00417.03
8.0.00.0070.01016.72
7.4.330.0050.00016.66
7.4.320.0030.00316.49
7.4.300.0030.00316.36
7.4.290.0000.00616.58
7.4.280.0080.00016.52
7.4.270.0040.00416.61
7.4.260.0030.00316.39
7.4.250.0050.00316.52
7.4.240.0020.00516.48
7.4.230.0000.00716.40
7.4.220.0060.01316.69
7.4.210.0070.01416.61
7.4.200.0070.00016.69
7.4.160.0120.00416.38
7.4.150.0090.00917.40
7.4.140.0090.01017.86
7.4.130.0090.01016.63
7.4.120.0100.00716.67
7.4.110.0030.01416.33
7.4.100.0240.00016.45
7.4.90.0160.00716.65
7.4.80.0000.01619.39
7.4.70.0070.01016.26
7.4.60.0040.01116.62
7.4.50.0040.01416.41
7.4.40.0090.00916.53
7.4.30.0060.01016.23
7.4.00.0040.01414.80
7.3.330.0050.00013.11
7.3.320.0050.00013.23
7.3.310.0060.00016.39
7.3.300.0030.00316.27
7.3.290.0060.00716.27
7.3.280.0060.01216.29
7.3.270.0130.00317.40
7.3.260.0110.00716.47
7.3.240.0060.01316.41
7.3.230.0090.00916.39
7.3.210.0000.01616.38
7.3.200.0140.00716.27
7.3.190.0080.00916.14
7.3.180.0160.00016.32
7.3.170.0140.00716.27
7.3.160.0060.00916.50
7.2.330.0100.00716.40
7.2.320.0150.00616.27
7.2.310.0100.00616.66
7.2.300.0190.00316.29
7.2.290.0090.00916.54
7.2.60.0060.01016.72
7.2.00.0030.00619.22
7.1.200.0070.00415.39
7.1.100.0070.00317.80
7.1.70.0000.01017.07
7.1.60.0130.00919.48
7.1.50.0060.01616.87
7.1.00.0100.06722.42
7.0.200.0030.00716.47
7.0.60.0070.06719.95
7.0.50.0030.04017.89
7.0.40.0100.07320.27
7.0.30.0270.04320.26
7.0.20.0300.07720.20
7.0.10.0070.08320.04
7.0.00.0070.06720.02
5.6.280.0100.05721.06
5.6.210.0100.07020.56
5.6.200.0100.07318.21
5.6.190.0070.08720.27
5.6.180.0330.06020.27
5.6.170.0230.05320.52
5.6.160.0100.09020.52
5.6.150.0100.05718.16
5.6.140.0030.05018.18
5.6.130.0170.07718.16
5.6.120.0030.08320.99
5.6.110.0030.04320.98
5.6.100.0030.09321.11
5.6.90.0000.08721.10
5.6.80.0100.03320.33
5.5.350.4370.03320.44
5.5.340.0170.06317.98
5.5.330.0030.05020.25
5.5.320.0000.07720.28
5.5.310.0230.08720.17
5.5.300.0000.09018.01
5.5.290.0070.08317.88
5.5.280.0130.05720.84
5.5.270.0170.06320.89
5.5.260.0070.05720.75
5.5.250.0070.03720.65
5.5.240.0430.06320.18

preferences:
51.88 ms | 400 KiB | 5 Q