3v4l.org

run code in 300+ PHP versions simultaneously
<? define('DB', '1'); //MYSQLI Verbindung zur Datenbank $mysqli = mysqli_connect('rdbms.strato.de', 'U922826', 'peru1999!', 'DB922826'); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } //printf("Initial character set: %s\n", mysqli_character_set_name($mysqli)); if (!mysqli_set_charset($mysqli, "utf8")) { printf("Error loading character set utf8: %s\n", mysqli_error($mysqli)); exit(); } ?>
Output for git.master, git.master_jit, rfc.property-hooks
<? define('DB', '1'); //MYSQLI Verbindung zur Datenbank $mysqli = mysqli_connect('rdbms.strato.de', 'U922826', 'peru1999!', 'DB922826'); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } //printf("Initial character set: %s\n", mysqli_character_set_name($mysqli)); if (!mysqli_set_charset($mysqli, "utf8")) { printf("Error loading character set utf8: %s\n", mysqli_error($mysqli)); exit(); } ?>

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:
47.42 ms | 402 KiB | 8 Q