3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { new PDO('открываем для себя наследование', 'login', 'password'); } 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/vicnI:4 Stack trace: #0 /in/vicnI(4): PDO->__construct('\xD0\xBE\xD1\x82\xD0\xBA\xD1\x80\xD1\x8B\xD0\xB2\xD0\xB0\xD0...', 'login', 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:
64.8 ms | 401 KiB | 8 Q