3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $qw = "Select * from table " $list = Array('satte','dfgsdfgdsg','grgs3'); $list = implode("','",$list); $qw .= sprintf(" WHERE subscription_id IN ('%s') ", $list); echo $qw;
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '$list' (T_VARIABLE) in /in/0u14X on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/0u14X on line 4
Process exited with code 255.