3v4l.org

run code in 300+ PHP versions simultaneously
<div class="artical"> <?php $username = "root"; $password = ""; $database = "techinsight"; $server = "127.0.0.1"; $db_handle = mysql_connect($server, $username, $password); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL= "SELECT * from questions"; $result= mysql_query($SQL); while($db_field=mysql_fetch_assoc($result)) { $x=$db_field['Qid']; while($x==1 && $x==NULL) { $SQL= "SELECT * from questions"; $result= mysql_query($SQL); $db_field=mysql_fetch_assoc($result); $x=$db_field['Qid']; } } if($x==$x) { for($x; $x>0; $x--) { $SQL= "SELECT * from questions WHERE Qid=$x"; $result= mysql_query($SQL); $db_field=mysql_fetch_assoc($result); $str_que= $db_field['question']; echo "<div class='dabba'> <div class='block_a'> <?php include('a.php'); ?> //here it is. </div> <br> <div class='block_b'> it is 2nd section. <br> <div><br> <div class='block_c'> last one.<br> </div> </div> <br><br>"; } } } ?> </div>
Output for git.master, git.master_jit, rfc.property-hooks
<div class="artical"> Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/c9I55:8 Stack trace: #0 {main} thrown in /in/c9I55 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:
42.54 ms | 401 KiB | 8 Q