3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ids = array(1, 2, 3, 7, 8, 9); $inQuery = implode(',', array_fill(0, count($ids), $ids)); print_r($inQuery); ?>
based on 2I81N
Output for 4.3.0 - 7.2.0
Notice: Array to string conversion in /in/A6YWR on line 3 Notice: Array to string conversion in /in/A6YWR on line 3 Notice: Array to string conversion in /in/A6YWR on line 3 Notice: Array to string conversion in /in/A6YWR on line 3 Notice: Array to string conversion in /in/A6YWR on line 3 Notice: Array to string conversion in /in/A6YWR on line 3 Array,Array,Array,Array,Array,Array