3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo \PDO::MYSQL_ATTR_INIT_COMMAND ;
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /in/sCT2o:3 Stack trace: #0 {main} thrown in /in/sCT2o on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /in/sCT2o on line 3
Process exited with code 255.