3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function get_file_info($file_id) { $query = $this->db->query("SELECT * FROM files WHERE f_id = ?", array($file_id)); return ($this->db->num_rows() > 0) ? $query->row() : FALSE; }
Output for 4.3.0 - 7.1.0