3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '5'; $q = "SELECT * FROM new_members WHERE member_name='Admin' AND passwd='" . utf8_decode($test) . "' LIMIT 1"; $s = mysql_query($q); $row = mysql_fetch_assoc($s); if ($row) { echo '<h2>Welcome Admin</h2>'; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Function utf8_decode() is deprecated in /in/ZGUG1 on line 4 Fatal error: Uncaught Error: Call to undefined function mysql_query() in /in/ZGUG1:6 Stack trace: #0 {main} thrown in /in/ZGUG1 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:
47.76 ms | 401 KiB | 8 Q