3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pdo = 'PDO'; $stmt = 'PDOStatement'; var_dump($pdo); var_dump($stmt); $pdo, $stmt = null; var_dump($pdo); var_dump($stmt);
Output for 5.3.0 - 5.4.19
Parse error: syntax error, unexpected ',' in /in/BRfqZ on line 6
Process exited with code 255.