3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(get_class_methods('PDO'));
Output for 5.3.3 - 7.1.0
Array ( [0] => __construct [1] => prepare [2] => beginTransaction [3] => commit [4] => rollBack [5] => inTransaction [6] => setAttribute [7] => exec [8] => query [9] => lastInsertId [10] => errorCode [11] => errorInfo [12] => getAttribute [13] => quote [14] => __wakeup [15] => __sleep [16] => getAvailableDrivers )
Output for 5.1.0 - 5.3.2
Array ( [0] => __construct [1] => prepare [2] => beginTransaction [3] => commit [4] => rollBack [5] => setAttribute [6] => exec [7] => query [8] => lastInsertId [9] => errorCode [10] => errorInfo [11] => getAttribute [12] => quote [13] => __wakeup [14] => __sleep [15] => getAvailableDrivers )
Output for 4.3.0 - 5.0.5