3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keywords = range(1, 30); $temp = str_repeat('?, ', count($keywords) - 1) . '?'; echo $temp;
Output for 8.1.32, 8.2.25 - 8.2.29, 8.3.5 - 8.3.25, 8.4.1 - 8.4.12
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?

preferences:
62.95 ms | 406 KiB | 5 Q