3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(PDO::getAvailableDrivers());
Output for 5.4.0 - 7.1.0
Array ( [0] => sqlite )
Output for 5.2.10 - 5.3.29
Array ( [0] => sqlite [1] => sqlite2 )
Output for 5.1.0 - 5.1.3, 5.2.0 - 5.2.9
Array ( [0] => sqlite2 [1] => sqlite )
Output for 5.1.4 - 5.1.6
Array ( [0] => sqlite2 )
Output for 5.0.0 - 5.0.5
Fatal error: Class 'PDO' not found in /in/QqJcH on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'pdo' in /in/QqJcH on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'pdo' in /in/QqJcH on line 3