3v4l.org

run code in 300+ PHP versions simultaneously
<?php include'Forms/add.php'; $que= "SELECT * FROM email"; $result= mysql_query($que); while($em = mysql_fetch_array($result)) { echo "<h4>" .$em['name'] . "</h4>"; echo "<p>" .$em['email'] . "</p>"; echo "<p>" .$em['phone'] . "</p>"; echo "<p>" .$em['subject'] . "</p>"; echo "<p>" .$em['message'] . "</p>"; } ?> <h3>Contact me</h3> <form action="addmore.php" method="post"> Name: <input type="text" name="inputName" value="" /> Email:<input type="text" name="inputEmail" value="" /> </br> Phone Number:<input type="text" name="inputPhone" value="" /> </br> Subject: <input type="text" name="inputSubject" value="" /> </br> Message: <input type="text" name="inputMessage" value="" /> </br> </br> <input type="submit" name="submit" /> </form>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: include(): open_basedir restriction in effect. File(Forms/add.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/f0IMI on line 2 Warning: include(Forms/add.php): Failed to open stream: Operation not permitted in /in/f0IMI on line 2 Warning: include(): Failed opening 'Forms/add.php' for inclusion (include_path='.:') in /in/f0IMI on line 2 Fatal error: Uncaught Error: Call to undefined function mysql_query() in /in/f0IMI:6 Stack trace: #0 {main} thrown in /in/f0IMI 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:
43.18 ms | 401 KiB | 8 Q