3v4l.org

run code in 300+ PHP versions simultaneously
<?php $atttarget=$_POST['scraptarget']; $attoutput=$_POST['scrapoutput']; // echo $atttarget.$attoutput; $mysqli= new mysqli('localhost','root','','monitoring2016'); $result=$mysqli->query('UPDATE dlc_yield SET cumm_target="'.$atttarget.'", cumm_output="'.$attoutput.'" where rec_seq=1 '); if($result){ echo 1; }else{ echo $mysqli->error; } ?>Y
Output for rfc.property-hooks, git.master, git.master_jit
Warning: Undefined array key "scraptarget" in /in/eghcU on line 3 Warning: Undefined array key "scrapoutput" in /in/eghcU on line 4 Fatal error: Uncaught Error: Class "mysqli" not found in /in/eghcU:8 Stack trace: #0 {main} thrown in /in/eghcU on line 8
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:
99.11 ms | 2012 KiB | 4 Q