3v4l.org

run code in 300+ PHP versions simultaneously
<?php $form=array(); $form['first_name']=$this->input->post("first_name",true); $form['last_name']=$this->input->post("last_name",true); $form['dob']=date('Y-m-d',strtotime($this->input->post("dob",true))); $form['email_id']=$this->input->post("email_id",true); $form['password']=sha1($this->input->post("password",true)); $form['sex']=$this->input->post("sex",true); $form['phone']=$this->input->post("phone",true); $form['about_me']=$this->input->post("about_me",true); $form['fav_activity']=$this->input->post("activities",true); $form['help_others']=$this->input->post("help_other",true); $form['wish_country']=$this->input->post("wish_city",true); $form['country']=$this->input->post("country_name",true); $form['state']=$this->input->post("state_id",true); $form['city']=$this->input->post("city_id",true); $form['addline1']=$this->input->post("addressline1",true); $form['addline2']=$this->input->post("addressline2",true); $form['zip']=$this->input->post("zip",true); var_dump($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)
8.3.60.0150.00616.63
8.3.50.0100.01022.11
8.3.40.0110.01118.97
8.3.30.0150.00618.85
8.3.20.0000.00920.30
8.3.10.0000.00823.52
8.3.00.0040.00817.38
8.2.180.0150.00718.66
8.2.170.0100.01022.96
8.2.160.0080.00620.48
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0110.00017.63
8.2.110.0060.00321.97
8.2.100.0080.00417.92
8.2.90.0030.00619.09
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0040.00417.68
8.2.50.0000.00818.07
8.2.40.0040.00421.04
8.2.30.0040.00420.68
8.2.20.0050.00317.75
8.2.10.0050.00318.05
8.2.00.0040.00418.11
8.1.280.0090.01225.92
8.1.270.0060.00323.90
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.55
8.1.230.0110.00017.64
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0000.00718.99
8.1.160.0040.00422.04
8.1.150.0000.00818.89
8.1.140.0050.00319.46
8.1.130.0070.00017.70
8.1.120.0000.00717.37
8.1.110.0080.00017.41
8.1.100.0050.00317.46
8.1.90.0000.00717.35
8.1.80.0050.00217.52
8.1.70.0000.00717.36
8.1.60.0040.00417.47
8.1.50.0050.00317.59
8.1.40.0060.00317.58
8.1.30.0070.00417.63
8.1.20.0040.00417.70
8.1.10.0040.00417.62
8.1.00.0030.00617.57
8.0.300.0030.00618.77
8.0.290.0000.00716.88
8.0.280.0000.00718.48
8.0.270.0070.00017.25
8.0.260.0030.00317.13
8.0.250.0080.00017.06
8.0.240.0040.00417.05
8.0.230.0000.00817.05
8.0.220.0070.00016.86
8.0.210.0050.00316.83
8.0.200.0080.00016.94
8.0.190.0080.00017.00
8.0.180.0060.00316.92
8.0.170.0030.00516.86
8.0.160.0030.00516.91
8.0.150.0000.00717.00
8.0.140.0000.00716.86
8.0.130.0060.00313.36
8.0.120.0030.00516.91
8.0.110.0030.00516.84
8.0.100.0000.00716.73
8.0.90.0040.00416.91
8.0.80.0070.00716.94
8.0.70.0020.00516.75
8.0.60.0000.00716.75
8.0.50.0030.00516.82
8.0.30.0100.00717.24
8.0.20.0090.01117.40
8.0.10.0040.00416.98
8.0.00.0090.01016.69
7.4.330.0050.00015.08
7.4.320.0030.00316.60
7.4.300.0060.00016.52
7.4.290.0030.00316.58
7.4.280.0070.00316.64
7.4.270.0030.00316.65
7.4.260.0040.00416.54
7.4.250.0040.00416.60
7.4.240.0050.00216.58
7.4.230.0000.00716.65
7.4.220.0160.00916.56
7.4.210.0060.00916.61
7.4.200.0040.00416.54
7.4.160.0170.00016.50
7.4.150.0180.00017.40
7.4.140.0090.01217.86
7.4.130.0040.01616.47
7.4.120.0090.00916.63
7.4.110.0060.01816.62
7.4.100.0160.00616.77
7.4.90.0090.00916.63
7.4.80.0090.00919.39
7.4.70.0140.00516.65
7.4.60.0040.01216.46
7.4.50.0040.00416.78
7.4.40.0070.01116.51
7.4.30.0080.00816.41
7.4.00.0030.01315.34
7.3.330.0000.00613.20
7.3.320.0030.00313.21
7.3.310.0000.00716.39
7.3.300.0050.00216.20
7.3.290.0030.00316.35
7.3.280.0110.00516.38
7.3.270.0060.01017.40
7.3.260.0140.00316.48
7.3.240.0030.01516.40
7.3.230.0070.01016.39
7.3.210.0030.01516.58
7.3.200.0100.00716.52
7.3.190.0180.00016.59
7.3.180.0100.01016.18
7.3.170.0040.01216.27
7.3.160.0120.00316.29
7.2.330.0070.01116.38
7.2.320.0100.00716.65
7.2.310.0090.01216.64
7.2.300.0070.01016.59
7.2.290.0110.00616.61
7.2.60.0130.00316.82
7.2.00.0080.00619.48
7.1.200.0030.00615.57
7.1.100.0070.00718.09
7.1.70.0000.00817.14
7.1.60.0070.01719.43
7.1.50.0090.01516.44
7.1.00.0030.07722.27
7.0.200.0060.00614.91
7.0.100.0030.04719.98
7.0.90.0100.06020.23
7.0.80.0070.08320.02
7.0.70.0370.08320.02
7.0.60.0030.06319.98
7.0.50.0070.08020.37
7.0.40.0100.04020.13
7.0.30.0100.05020.02
7.0.20.0070.08020.14
7.0.10.0170.07719.95
7.0.00.0100.05020.14
5.6.280.0070.06321.13
5.6.250.0130.06320.61
5.6.240.0070.05720.66
5.6.230.0070.08720.65
5.6.220.0030.05320.57
5.6.210.0100.07720.77
5.6.200.0100.08320.95
5.6.190.0130.04321.12
5.6.180.0030.08020.95
5.6.170.0230.07321.04
5.6.160.0030.08720.97
5.6.150.0070.07721.05
5.6.140.0070.09020.96
5.6.130.0000.06021.09
5.6.120.0070.04321.03
5.6.110.0030.06721.03
5.6.100.0000.06321.04
5.6.90.0170.07721.13
5.6.80.0100.06320.35
5.6.70.0130.08320.46
5.6.60.0100.05020.48
5.6.50.0170.07020.43
5.6.40.0130.08020.47
5.6.30.0070.07720.48
5.6.20.0030.05320.31
5.6.10.0130.06020.47
5.6.00.0030.06320.30
5.5.380.0130.07720.44
5.5.370.0070.08720.34
5.5.360.0030.09020.37
5.5.350.0100.08320.44
5.5.340.0130.07320.92
5.5.330.0030.08020.94
5.5.320.0130.05720.86
5.5.310.0200.05720.79
5.5.300.0200.04020.79
5.5.290.0100.04720.90
5.5.280.0070.08320.82
5.5.270.0100.04720.84
5.5.260.0070.08020.89
5.5.250.0030.04320.63
5.5.240.0130.07320.27
5.5.230.0130.07020.25
5.5.220.0030.04720.26
5.5.210.0100.08320.14
5.5.200.0100.07320.10
5.5.190.0030.05720.28
5.5.180.0130.07020.14
5.5.160.0070.07320.25
5.5.150.0170.07020.04
5.5.140.0000.06320.09
5.5.130.0100.04320.16
5.5.120.0100.06320.29
5.5.110.0070.07720.23
5.5.100.0070.06320.09
5.5.90.0070.07019.96
5.5.80.0200.03320.17
5.5.70.0000.07320.10
5.5.60.0100.04020.13
5.5.50.0030.08019.99
5.5.40.0000.05720.10
5.5.30.0170.05720.05
5.5.20.0030.08320.13
5.5.10.0100.07720.09
5.5.00.0070.07320.13
5.4.450.0100.07719.37
5.4.440.0030.08019.30
5.4.430.0070.07719.22
5.4.420.0130.06719.55
5.4.410.0030.08319.28
5.4.400.0130.07019.14
5.4.390.0100.07719.12
5.4.380.0130.04319.04
5.4.370.0100.06319.07
5.4.360.0070.05018.81
5.4.350.0070.07318.95
5.4.340.0170.07319.23
5.4.320.0000.08318.78
5.4.310.0130.06718.98
5.4.300.0070.03719.00
5.4.290.0100.07719.07
5.4.280.0100.05719.02
5.4.270.0030.08019.23
5.4.260.0070.07319.07
5.4.250.0100.06019.02
5.4.240.0170.07719.09
5.4.230.0070.08018.96
5.4.220.0130.04319.06
5.4.210.0070.08019.13
5.4.200.0030.06319.14
5.4.190.0070.06719.13
5.4.180.0070.07719.02
5.4.170.0070.07719.02
5.4.160.0070.07319.01
5.4.150.0130.06019.00
5.4.140.0130.03716.28
5.4.130.0100.05716.36
5.4.120.0070.07016.33
5.4.110.0130.06316.40
5.4.100.0130.06016.41
5.4.90.0030.04716.28
5.4.80.0030.05016.43
5.4.70.0000.06716.34
5.4.60.0030.04716.28
5.4.50.0070.04316.19
5.4.40.0270.05016.34
5.4.30.0100.06016.30
5.4.20.0030.04316.27
5.4.10.0000.04016.29
5.4.00.0000.04715.71

preferences:
56.47 ms | 401 KiB | 5 Q