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);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Using $this when not in object context in /in/VeR7n:4 Stack trace: #0 {main} thrown in /in/VeR7n on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
117.27 ms | 401 KiB | 8 Q