3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '1,2,3,4,5,6,7,8,9,10,0);DROP table users'; $var = explode(',', $var); array_walk($var, function(&$value){ $value = (int) $value; }); $sql = ' SELECT * FROM table WHERE id NOT IN ( '.implode(',', array_fill(0, count($var), '?')).' ) '; echo $sql;
Output for git.master_jit, git.master, rfc.property-hooks
SELECT * FROM table WHERE id NOT IN ( ?,?,?,?,?,?,?,?,?,?,? )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
108.22 ms | 405 KiB | 5 Q