3v4l.org

run code in 300+ PHP versions simultaneously
<?php //login.php $db_hostname = 'localhost'; $db_database = 'edgabbmc_db_practice'; $db_username = 'edgabbmc_db'; $db_password = 'Apple2014!'; // Connect to server. $db_server = mysql_connect($db_hostname, $db_username, $db_password) or die("Unable to connect to MySQL: " . mysql_error()); // Select the database. mysql_select_db($db_database) or die("Unable to select database: " . mysql_error()); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /in/Q1Ueb:7 Stack trace: #0 {main} thrown in /in/Q1Ueb on line 7
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.05 ms | 401 KiB | 8 Q