3v4l.org

run code in 300+ PHP versions simultaneously
<?php $get_string = "TOKEN=EC%2d09F245458F168291J&TIMESTAMP=2015%2d08%2d29T08%3a22%3a55Z&CORRELATIONID=bf30a7057eaa1&ACK=Success&VERSION=78&BUILD=000000"; parse_str($get_string, $get_array); //print_r($get_array); // echo $get_array['ACK']; $params=['name'=>'John', 'surname'=>'Doe', 'age'=>36]; $defaults = array( CURLOPT_URL => 'http://myremoteservice/', CURLOPT_POST => true, CURLOPT_POSTFIELDS => $params, ); $ch = curl_init(); curl_setopt_array($ch, ($options + $defaults));

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.70.0070.01116.61
8.3.60.0170.00318.27
8.3.50.0180.00321.28
8.3.40.0140.00718.82
8.3.30.0070.00719.18
8.3.20.0040.00420.22
8.3.10.0160.00323.70
8.3.00.0080.00023.58
8.2.190.0040.01116.75
8.2.180.0140.00416.75
8.2.170.0120.00622.96
8.2.160.0100.00322.14
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00721.18
8.2.110.0060.00318.95
8.2.100.0070.00317.84
8.2.90.0000.00819.22
8.2.80.0030.00517.97
8.2.70.0090.00017.75
8.2.60.0050.00317.90
8.2.50.0030.00518.07
8.2.40.0050.00321.07
8.2.30.0070.00019.67
8.2.20.0000.00917.74
8.2.10.0040.00418.16
8.2.00.0040.00417.98
8.1.280.0120.00925.92
8.1.270.0060.00320.20
8.1.260.0040.00426.35
8.1.250.0040.01128.09
8.1.240.0060.00321.05
8.1.230.0070.00417.52
8.1.220.0060.00317.78
8.1.210.0060.00318.77
8.1.200.0090.00017.23
8.1.190.0040.00417.35
8.1.180.0000.00718.10
8.1.170.0000.01018.50
8.1.160.0050.00322.05
8.1.150.0070.00018.82
8.1.140.0040.00417.50
8.1.130.0030.00317.61
8.1.120.0040.00417.43
8.1.110.0040.00417.38
8.1.100.0070.00017.45
8.1.90.0040.00417.46
8.1.80.0000.00717.46
8.1.70.0040.00417.41
8.1.60.0040.00417.59
8.1.50.0000.00817.54
8.1.40.0050.00217.51
8.1.30.0040.00417.40
8.1.20.0040.00417.61
8.1.10.0000.00817.57
8.1.00.0030.00617.59
8.0.300.0000.00818.77
8.0.290.0090.00016.63
8.0.280.0030.00318.50
8.0.270.0030.00517.29
8.0.260.0000.00817.17
8.0.250.0040.00416.91
8.0.240.0030.00317.02
8.0.230.0030.00317.01
8.0.220.0060.00016.95
8.0.210.0040.00416.95
8.0.200.0060.00017.01
8.0.190.0040.00416.92
8.0.180.0040.00417.03
8.0.170.0040.00416.88
8.0.160.0070.00016.88
8.0.150.0070.00016.90
8.0.140.0050.00316.86
8.0.130.0000.00713.37
8.0.120.0000.00816.80
8.0.110.0000.00716.86
8.0.100.0070.00016.86
8.0.90.0000.00716.82
8.0.80.0070.01016.89
8.0.70.0000.00816.83
8.0.60.0070.00016.96
8.0.50.0080.00016.85
8.0.30.0180.00017.15
8.0.20.0150.00317.40
8.0.10.0050.00317.04
8.0.00.0110.00716.76
7.4.330.0050.00015.23
7.4.320.0040.00416.41
7.4.300.0030.00316.50
7.4.290.0030.00516.54
7.4.280.0050.00216.51
7.4.270.0030.00316.39
7.4.260.0020.00513.22
7.4.250.0050.00316.61
7.4.240.0000.00716.54
7.4.230.0000.00716.41
7.4.220.0150.00316.63
7.4.210.0050.00916.63
7.4.200.0070.00016.30
7.4.160.0130.00916.58
7.4.150.0090.00917.40
7.4.140.0080.01017.86
7.4.130.0080.01116.49
7.4.120.0070.01016.53
7.4.110.0090.00816.64
7.4.100.0060.01216.59
7.4.90.0210.00316.41
7.4.80.0060.01119.39
7.4.70.0090.01316.49
7.4.60.0060.00916.51
7.4.50.0030.00616.59
7.4.40.0140.00316.52
7.4.30.0110.00616.52
7.4.00.0070.01114.99
7.3.330.0030.00313.08
7.3.320.0030.00313.26
7.3.310.0050.00216.39
7.3.300.0030.00316.31
7.3.290.0090.00916.33
7.3.280.0110.00716.35
7.3.270.0080.00817.40
7.3.260.0190.00316.71
7.3.250.0100.00816.45
7.3.240.0130.00316.36
7.3.230.0100.01316.39
7.3.210.0030.01216.32
7.3.200.0080.00816.38
7.3.190.0060.00916.66
7.3.180.0130.00316.28
7.3.170.0140.00516.45
7.3.160.0100.01016.52
7.2.330.0120.00616.37
7.2.320.0070.01016.55
7.2.310.0150.00316.62
7.2.300.0090.00916.57
7.2.290.0060.01016.48
7.2.60.0090.00316.56
7.2.00.0040.01619.22
7.1.200.0040.00415.84
7.1.100.0000.01317.64
7.1.70.0040.00416.91
7.1.60.0100.01419.42
7.1.50.0140.01017.01
7.1.00.0030.07722.46
7.0.200.0060.00316.54
7.0.60.0000.04320.01
7.0.50.0070.04017.82
7.0.40.0030.04320.02
7.0.30.0200.05720.16
7.0.20.0070.05020.01
7.0.10.0030.08020.04
7.0.00.0070.04720.13
5.6.280.0070.04320.78
5.6.210.0000.09020.46
5.6.200.0070.08018.11
5.6.190.0170.05020.45
5.6.180.0430.07720.56
5.6.170.0300.06720.46
5.6.160.0100.07320.43
5.6.150.0030.05718.15
5.6.140.0030.03718.16
5.6.130.0030.09018.20
5.6.120.0070.08720.98
5.6.110.0000.04321.00
5.6.100.0100.08021.13
5.6.90.0070.09020.99
5.6.80.0130.07720.43
5.5.350.0270.03320.42
5.5.340.0070.08018.01
5.5.330.0070.04020.46
5.5.320.0300.04320.29
5.5.310.0330.07720.31
5.5.300.0000.06018.00
5.5.290.0100.08018.00
5.5.280.0000.09320.77
5.5.270.0070.06020.74
5.5.260.0030.07720.64
5.5.250.0100.04320.58
5.5.240.0030.07720.15
5.4.450.0370.05719.62
5.4.440.0830.06319.63
5.4.430.0930.06319.57
5.4.420.0630.05019.46
5.4.410.0800.06319.49
5.4.400.0700.05718.94
5.4.390.0630.06319.28
5.4.380.0570.05319.25
5.4.370.0130.05318.91
5.4.360.0100.05719.12
5.4.350.0200.05019.19
5.4.340.0730.05719.31
5.4.320.0570.07019.26
5.4.310.0700.05019.14
5.4.300.0770.05019.08
5.4.290.0670.05319.14
5.4.280.0770.04719.19
5.4.270.0670.05318.98
5.4.260.0800.04018.77
5.4.250.0770.05019.13
5.4.240.0730.05019.27
5.4.230.0630.05719.23
5.4.220.0630.06019.15
5.4.210.0800.04019.09
5.4.200.0730.04316.89
5.4.190.0700.05319.28
5.4.180.0770.04319.09
5.4.170.0600.06019.28
5.4.160.0730.04318.94
5.4.150.0700.05018.92
5.4.140.0700.05016.18
5.4.130.0670.05316.43
5.4.120.0630.05016.27
5.4.110.0670.05016.17
5.4.100.0730.04716.36
5.4.90.0700.05316.31
5.4.80.0570.05716.44
5.4.70.0700.05016.18
5.4.60.0670.05016.37
5.4.50.0700.04316.46
5.4.40.0700.04716.24
5.4.30.0730.04316.14
5.4.20.0730.04316.30
5.4.10.0800.04016.22
5.4.00.0700.04715.64
5.3.290.0600.06014.50
5.3.280.0700.05714.47
5.3.270.0600.06714.43
5.3.260.0730.05014.59
5.3.250.0770.04314.69
5.3.240.0670.05714.45
5.3.230.0700.05314.45
5.3.220.0700.05014.66
5.3.210.0630.05714.55
5.3.200.0630.05314.55
5.3.190.0770.05014.55
5.3.180.0570.05314.54
5.3.170.0730.05014.58
5.3.160.0700.05314.41
5.3.150.0630.05714.40
5.3.140.0700.07014.39
5.3.130.0670.05714.64
5.3.120.0670.04314.47
5.3.110.0600.05014.38
5.3.100.0770.04013.98
5.3.90.0530.05013.88
5.3.80.0630.05314.11
5.3.70.0730.04313.99
5.3.60.0700.05313.85
5.3.50.0700.05313.94
5.3.40.0670.05313.72
5.3.30.0770.05013.70
5.3.20.0670.05013.57
5.3.10.0800.04013.50
5.3.00.0700.05013.48
5.2.170.0630.03710.99
5.2.160.0530.04311.22
5.2.150.0570.04310.98
5.2.140.0600.04311.15
5.2.130.0700.03711.16
5.2.120.0600.03711.05
5.2.110.0600.05711.04
5.2.100.0530.04311.03
5.2.90.0600.03711.08
5.2.80.0630.04011.14
5.2.70.0600.04710.91
5.2.60.0530.04310.91
5.2.50.0670.06010.96
5.2.40.0500.03710.84
5.2.30.0530.04010.85
5.2.20.0530.03710.89
5.2.10.0370.05010.91
5.2.00.0400.05310.67
5.1.60.0430.0379.96
5.1.50.0530.0279.98
5.1.40.0500.0439.95
5.1.30.0470.04010.27
5.1.20.0530.05310.39
5.1.10.0430.0409.92
5.1.00.0570.03310.08
5.0.50.0270.0278.60
5.0.40.0200.0338.38
5.0.30.0330.0338.15
5.0.20.0230.0308.36
5.0.10.0330.0278.04
5.0.00.0270.0438.08
4.4.90.0270.0205.76
4.4.80.0300.0305.73
4.4.70.0230.0235.78
4.4.60.0330.0205.80
4.4.50.0270.0175.83
4.4.40.0200.0375.83
4.4.30.0230.0205.75
4.4.20.0200.0205.81
4.4.10.0270.0235.92
4.4.00.0270.0335.87
4.3.110.0200.0305.75
4.3.100.0230.0235.68
4.3.90.0230.0205.78
4.3.80.0200.0375.70
4.3.70.0270.0175.75
4.3.60.0230.0205.66
4.3.50.0270.0175.82
4.3.40.0230.0335.71
4.3.30.0100.0234.46
4.3.20.0100.0234.47
4.3.10.0170.0174.40
4.3.00.0030.02310.29

preferences:
62.33 ms | 401 KiB | 5 Q