3v4l.org

run code in 300+ PHP versions simultaneously
<?php public function sourceForm($source_config) { $form = array(); $urlink1 = array('#type' => 'textfield', '#title' => t('URL'), '#description' => t('Enter a feed URL.'), '#default_value' => "https://api.edmunds.com/api/vehicle/v2/vins/", '#maxlength' => NULL, '#required' => TRUE); $urlkey2 = array('#type' => 'textfield', '#title' => t('VIN'), '#default_value' => "2G1FC3D33C9165616?fmt=json&api_key=dp9ghvr5sxrbmvupg2naccuk"); $form['source'] = array_merge($urlink1 , $urlkey2 ); return $form; } ?>

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)
5.4.360.0130.05018.45
5.4.350.0130.03313.78
5.4.340.0070.03713.77
5.4.320.0100.04714.29
5.4.310.0100.03714.38
5.4.300.0200.03314.19
5.4.290.0100.03714.19
5.4.280.0100.03314.15
5.4.270.0030.04314.23
5.4.260.0070.04014.13
5.4.250.0100.03314.11
5.4.240.0030.04014.21
5.4.230.0000.04014.14
5.4.220.0170.02714.14
5.4.210.0100.03014.17
5.4.200.0200.03014.14
5.4.190.0070.03714.22
5.4.180.0070.04014.10
5.4.170.0000.04014.18
5.4.160.0000.04014.30
5.4.150.0070.03314.18
5.4.140.0030.04013.84
5.4.130.0100.03313.80
5.4.120.0070.03713.80
5.4.110.0100.04013.78
5.4.100.0070.03313.83
5.4.90.0100.03313.71
5.4.80.0030.04013.75
5.4.70.0000.04013.78
5.4.60.0070.03313.77
5.4.50.0070.03713.93
5.4.40.0070.03313.77
5.4.30.0100.04013.78
5.4.20.0000.04013.76
5.4.10.0000.04313.73
5.4.00.0030.04713.22
5.3.290.0100.04014.57
5.3.280.0070.04314.63
5.3.270.0030.04714.48
5.3.260.0030.04014.62
5.3.250.0130.03314.65
5.3.240.0030.04714.64
5.3.230.0100.04014.65
5.3.220.0030.04014.41
5.3.210.0100.03714.50
5.3.200.0070.04714.50
5.3.190.0030.04314.54
5.3.180.0070.03714.62
5.3.170.0070.04014.53
5.3.160.0070.04014.50
5.3.150.0130.03314.46
5.3.140.0100.03314.45
5.3.130.0100.03714.39
5.3.120.0070.04314.44
5.3.110.0100.04314.46
5.3.100.0030.04013.95
5.3.90.0130.03014.06
5.3.80.0100.03313.95
5.3.70.0030.04013.88
5.3.60.0070.03714.03
5.3.50.0170.03013.93
5.3.40.0100.04013.92
5.3.30.0000.04313.84
5.3.20.0130.03313.66
5.3.10.0130.03313.52
5.3.00.0100.04013.62
5.2.170.0030.03311.19
5.2.160.0100.03011.07
5.2.150.0070.03711.23
5.2.140.0070.03011.14
5.2.130.0030.03711.00
5.2.120.0070.02710.96
5.2.110.0000.03310.95
5.2.100.0100.02711.02
5.2.90.0100.03011.09
5.2.80.0100.03311.11
5.2.70.0030.03711.09
5.2.60.0070.03011.13
5.2.50.0030.03710.98
5.2.40.0030.03010.91
5.2.30.0000.03310.84
5.2.20.0030.03010.93
5.2.10.0070.02710.81
5.2.00.0070.03010.80
5.1.60.0070.0209.99
5.1.50.0100.0209.95
5.1.40.0030.02310.05
5.1.30.0070.02310.26
5.1.20.0000.03010.46
5.1.10.0070.02310.00
5.1.00.0070.02710.13
5.0.50.0070.0178.62
5.0.40.0030.0208.48
5.0.30.0030.0308.14
5.0.20.0000.0238.23
5.0.10.0030.0238.22
5.0.00.0030.0408.35
4.4.90.0030.0175.77
4.4.80.0030.0135.84
4.4.70.0000.0205.83
4.4.60.0030.0175.84
4.4.50.0030.0175.84
4.4.40.0030.0235.81
4.4.30.0030.0135.76
4.4.20.0000.0205.91
4.4.10.0000.0205.88
4.4.00.0000.0335.91
4.3.110.0030.0205.76
4.3.100.0030.0175.73
4.3.90.0000.0205.90
4.3.80.0000.0275.77
4.3.70.0030.0205.77
4.3.60.0000.0205.73
4.3.50.0030.0205.76
4.3.40.0030.0235.77
4.3.30.0000.0174.50
4.3.20.0030.0174.58
4.3.10.0000.0174.48
4.3.00.0030.0237.09

preferences:
142.15 ms | 1394 KiB | 7 Q