3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sql = sprintf('SELECT * FROM %s INNER JOIN %s a ON (a.user_id = created_by) LEFT JOIN %s b ON (b.user_id = modified_by) WHERE provider_name LIKE "%%?%%" LIMIT ?,?', 1, 2, 3); echo $sql;
Output for 4.3.0 - 7.2.0
SELECT * FROM 1 INNER JOIN 2 a ON (a.user_id = created_by) LEFT JOIN 3 b ON (b.user_id = modified_by) WHERE provider_name LIKE "%?%" LIMIT ?,?