3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { new PDO('открываем для себя наследование', 'логин', 'пароль'); } catch (Exception $e) { echo $e; }
Output for git.master, git.master_jit, rfc.property-hooks
PDOException: PDO::__construct(): Argument #1 ($dsn) must be a valid data source name in /in/7cpaV:4 Stack trace: #0 /in/7cpaV(4): PDO->__construct('\xD0\xBE\xD1\x82\xD0\xBA\xD1\x80\xD1\x8B\xD0\xB2\xD0\xB0\xD0...', '\xD0\xBB\xD0\xBE\xD0\xB3\xD0\xB8\xD0\xBD', Object(SensitiveParameterValue)) #1 {main}

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:
109.99 ms | 401 KiB | 8 Q