3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = "yonder"; $password = "simbioza"; $hostname = "www.db4free.net"; $link = mysqli_connect($hostname,$username,$password,"zombiezz") or die("Error " . mysqli_error($link)); echo "Connected to MySQL</br>"; $mysql_upit = "select * from zombiezz.users"; $promet = mysql_query($mysql_upit); if (!$promet) { echo ("error with query"); exit; } $num=mysql_numrows($promet); echo($num." zapisa"); while ($row = mysql_fetch_array($promet)) { $promenljiva1= $row['name']; echo $promenljiva1; } mysqli_close($link); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /in/gpIpW:6 Stack trace: #0 {main} thrown in /in/gpIpW on line 6
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:
38.93 ms | 401 KiB | 8 Q