3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Define connection $db = new PDO('mysql:host=m0th.co.uk;dbname=m0thc861_space;charset=utf8', 'm0thc861_read', 'reader'); // Query foreach($db->query('SELECT * FROM invTypes WHERE groupID = 6') as $row) { echo $row['typeName']; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught PDOException: could not find driver in /in/dg73A:3 Stack trace: #0 /in/dg73A(3): PDO->__construct('mysql:host=m0th...', 'm0thc861_read', Object(SensitiveParameterValue)) #1 {main} thrown in /in/dg73A on line 3
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:
51.95 ms | 401 KiB | 8 Q