3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo in_array('setFetchMode', get_class_methods('PDO')) ? 'Yes' : 'No';
Output for 5.1.0 - 7.1.0
No
Output for 4.3.2 - 5.0.5
Warning: in_array(): Wrong datatype for second argument in /in/YJM2q on line 3 No
Output for 4.3.0 - 4.3.1
Warning: in_array() [http://www.php.net/function.in-array]: Wrong datatype for second argument in /in/YJM2q on line 3 No