3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = isset($_REQUEST['email'])? $_REQUEST['email']: ""; $name=isset($_REQUEST['name'] )? $_REQUEST['name']: "" ; $phone = isset($_REQUEST['phone'] )? $_REQUEST['phone']: ""; $company = isset($_REQUEST['company'] )? $_REQUEST['company']: ""; $comment = isset($_REQUEST['commenttext'] )? $_REQUEST['commenttext']: ""; $title = isset($_REQUEST['title '] )? $_REQUEST['title ']: ""; // $budget = isset($_REQUEST['budget'] )? $_REQUEST['budget']: ""; // $country = isset($_REQUEST['country'] )? $_REQUEST['country']: ""; // $fax = isset($_REQUEST['fax'] )? $_REQUEST['fax']: ""; // $title = isset($_REQUEST['subject'] )? $_REQUEST['subject']: ""; //$link= $_SERVER['HTTP_REFERER']; //$IPaddress = $_SERVER['REMOTE_ADDR']; $file= isset($_FILES['upload']['name']) ? $_FILES['upload']['name']:""; //$fieldOrder=explode(',',$_REQUEST['fieldOrder']); if(count($fieldOrder)<=1) { // $extrafields = $_REQUEST['fieldOrder']; } else { for($i=0;$i<count($fieldOrder);$i++) { if($fieldOrder[$i]!="") { $extrafields = $extrafields . " | " .$_REQUEST[$fieldOrder[$i]]; } } } if($file!="") { move_uploaded_file($_FILES['upload']['tmp_name'],"../lakeb2b/re-marketing/upload/".str_replace(" ","-",$_FILES['upload']['name'])); $extrafields=$extrafields." | " ."http://localhost/lakeb2b/re-marketing/upload/".str_replace(" ","-","$file"); } ?> <html> <body onLoad="javascript:document.frmTracking.submit();"> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post" name="frmTracking" id="frmTracking" > <input name="email" type="hidden" value="<?php echo $email; ?>"/> <input name="first_name" type="hidden" value="<?php echo $name; ?>"/> <input name="phone" type="hidden" value="<?php echo $phone; ?>"/> <input name="company" type="hidden" value="<?php echo $company; ?>"/> <input name="URL" type="hidden" value="<?php echo $link; ?>"/> <input name="street" type="hidden" value="<?php echo $Address; ?>"/> <input name="country" type="hidden" value="<?php echo $country; ?>"/> <input name="retURL" type="hidden" value="http://localhost/lakeb2b/re-marketing/thank-you.php"/> <input name="title" type="hidden" value="<?php echo $title; ?>"/> <input name="lead_source" type="hidden" value="Nurtured Leads"/> <input type=hidden name="oid" value="00D90000000cdxt"/> <input name="description" type="hidden" value="<?php echo $extrafields; ?>"/> <input name="00N90000003Gb75EAC" type="hidden" value="<?php echo $Comments; ?>"/> <input name="faxOptOut" type="hidden" value="<?php echo $fax; ?>"/> <input name="00N90000003Gb3O" type="hidden" value="<?php echo $budget; ?>"/> <input name="00N90000006pnvV" type="hidden" value="<?php echo $IPaddress; ?>"/> </form> </body> </html>

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.01018.43
8.3.50.0060.01216.21
8.3.40.0120.00618.73
8.3.30.0060.01218.67
8.3.20.0040.00420.34
8.3.10.0060.00323.51
8.3.00.0060.00317.79
8.2.180.0160.00618.66
8.2.170.0090.00622.96
8.2.160.0070.00720.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00517.88
8.2.110.0040.00822.09
8.2.100.0060.00618.03
8.2.90.0090.00019.36
8.2.80.0060.00317.97
8.2.70.0030.00517.61
8.2.60.0050.00318.03
8.2.50.0060.00318.07
8.2.40.0030.00619.52
8.2.30.0030.00820.54
8.2.20.0070.00017.91
8.2.10.0040.00418.06
8.2.00.0000.00718.14
8.1.280.0150.00425.92
8.1.270.0080.00023.80
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.66
8.1.230.0070.00420.95
8.1.220.0060.00317.78
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0050.00317.35
8.1.180.0080.00018.10
8.1.170.0050.00318.66
8.1.160.0000.00721.99
8.1.150.0000.00718.93
8.1.140.0030.00517.54
8.1.130.0000.00717.75
8.1.120.0030.00617.50
8.1.110.0030.00317.35
8.1.100.0040.00417.39
8.1.90.0000.00817.47
8.1.80.0000.00817.48
8.1.70.0000.00717.48
8.1.60.0000.00817.65
8.1.50.0050.00317.62
8.1.40.0000.00917.61
8.1.30.0080.00017.63
8.1.20.0000.00817.57
8.1.10.0050.00317.45
8.1.00.0060.00317.44
8.0.300.0040.00418.77
8.0.290.0070.00316.75
8.0.280.0050.00318.53
8.0.270.0030.00317.34
8.0.260.0070.00017.32
8.0.250.0000.00717.10
8.0.240.0070.00017.08
8.0.230.0000.00717.01
8.0.220.0000.00716.97
8.0.210.0040.00416.88
8.0.200.0000.00617.10
8.0.190.0020.00517.00
8.0.180.0040.00417.05
8.0.170.0000.00816.93
8.0.160.0000.00716.93
8.0.150.0050.00216.96
8.0.140.0000.00816.95
8.0.130.0030.00313.38
8.0.120.0000.00816.95
8.0.110.0070.00016.91
8.0.100.0050.00316.97
8.0.90.0070.00016.96
8.0.80.0060.01016.95
8.0.70.0040.00417.06
8.0.60.0040.00416.95
8.0.50.0040.00416.96
8.0.30.0120.00717.00
8.0.20.0120.00617.40
8.0.10.0030.00517.17
8.0.00.0090.00716.82
7.4.330.0000.00515.08
7.4.320.0030.00316.60
7.4.300.0000.00616.54
7.4.290.0000.00716.63
7.4.280.0040.00416.63
7.4.270.0030.00316.66
7.4.260.0030.00316.58
7.4.250.0060.00316.51
7.4.240.0040.00416.62
7.4.230.0000.00716.68
7.4.220.0160.00916.59
7.4.210.0090.00916.71
7.4.200.0000.00716.74
7.4.160.0040.01116.56
7.4.150.0120.00617.40
7.4.140.0110.01117.86
7.4.130.0050.01316.62
7.4.120.0110.00716.68
7.4.110.0090.00916.72
7.4.100.0180.00616.57
7.4.90.0120.00616.62
7.4.80.0130.00519.39
7.4.70.0030.01316.70
7.4.60.0070.01016.50
7.4.50.0000.00616.43
7.4.40.0160.00316.55
7.4.30.0140.00416.46
7.4.00.0070.00715.09
7.3.330.0060.00013.36
7.3.320.0030.00313.26
7.3.310.0000.00616.31
7.3.300.0000.00716.33
7.3.290.0070.01016.43
7.3.280.0080.01016.36
7.3.270.0140.00417.40
7.3.260.0060.01316.46
7.3.250.0120.00816.55
7.3.240.0150.00716.43
7.3.230.0120.01116.42
7.3.210.0030.01316.45
7.3.200.0060.01216.50
7.3.190.0080.00816.54
7.3.180.0060.00916.48
7.3.170.0070.01116.55
7.3.160.0060.01116.56
7.3.10.0030.01116.68
7.3.00.0100.00616.48
7.2.330.0070.01116.54
7.2.320.0160.01016.68
7.2.310.0090.00916.40
7.2.300.0100.00716.55
7.2.290.0170.00016.66
7.2.130.0060.01116.85
7.2.120.0170.00716.85
7.2.110.0090.00516.93
7.2.100.0150.00616.57
7.2.90.0070.01116.84
7.2.80.0030.00916.82
7.2.70.0040.01116.86
7.2.60.0060.00816.54
7.2.50.0040.01216.91
7.2.40.0070.01116.73
7.2.30.0070.00316.99
7.2.20.0150.00016.85
7.2.10.0080.00416.88
7.2.00.0050.00718.21
7.1.250.0060.01315.68
7.1.200.0080.00415.46
7.1.100.0070.00718.21
7.1.70.0080.00017.22
7.1.60.0070.01619.29
7.1.50.0100.01034.88
7.1.00.0000.08022.54
7.0.200.0000.00816.54
7.0.60.0100.06719.86
7.0.50.0030.06017.94
7.0.40.0100.06720.07
7.0.30.0270.07320.21
7.0.20.0300.07720.02
7.0.10.0070.06320.01
7.0.00.0030.07720.00
5.6.280.0000.03321.00
5.6.210.0100.08020.57
5.6.200.0000.04718.09
5.6.190.0100.04020.42
5.6.180.0600.04720.45
5.6.170.0330.07720.36
5.6.160.0030.04320.37
5.6.150.0130.07318.17
5.6.140.0030.03718.20
5.6.130.0000.06018.19
5.6.120.0130.07721.13
5.6.110.0100.08321.04
5.6.100.0100.08321.03
5.6.90.0270.07021.01
5.6.80.0100.04320.39
5.5.350.0030.05320.45
5.5.340.0100.03317.89
5.5.330.0100.05020.25
5.5.320.2130.04320.20
5.5.310.0300.05320.24
5.5.300.0030.08717.89
5.5.290.0030.04018.00
5.5.280.0070.04020.89
5.5.270.0030.06720.87
5.5.260.0030.04320.73
5.5.250.0000.04720.76
5.5.240.0000.04720.13
5.4.450.0830.05019.61
5.4.440.0830.05319.32
5.4.430.0770.05719.54
5.4.420.0830.05019.62
5.4.410.1000.04719.50
5.4.400.0870.07319.16
5.4.390.0830.05019.28
5.4.380.0730.05719.09
5.4.370.0630.06319.14
5.4.360.0870.05319.19
5.4.350.0870.04718.92
5.4.340.0800.05319.20
5.4.320.0770.05019.16
5.4.310.0730.05719.27
5.4.300.0730.05719.08
5.4.290.0800.04319.08
5.4.280.0870.05319.16
5.4.270.0970.06718.99
5.4.260.0970.06319.27
5.4.250.0730.06019.13
5.4.240.0930.06319.27
5.4.230.0970.06318.77
5.4.220.0970.05318.99
5.4.210.0970.06719.30
5.4.200.0900.04719.27
5.4.190.0800.05718.93
5.4.180.0830.05019.29
5.4.170.0800.07319.21
5.4.160.0730.06318.74
5.4.150.0870.06019.12
5.4.140.0830.05716.53
5.4.130.0900.04716.43
5.4.120.1030.06016.32
5.4.110.1000.06016.50
5.4.100.1000.06016.37
5.4.90.1030.04016.49
5.4.80.1070.06316.27
5.4.70.0230.03316.48
5.4.60.0200.04316.37
5.4.50.0170.03316.28
5.4.40.0230.03716.43
5.4.30.0300.05016.21
5.4.20.0130.03716.40
5.4.10.0300.03316.36

preferences:
52.36 ms | 400 KiB | 5 Q