3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo sprintf('SELECT * FROM ((%s) UNION (%s)) AS gt ORDER BY event_time DESC LIMIT 10', 'lala', 'lolo');
Output for 4.3.0 - 7.2.0
SELECT * FROM ((lala) UNION (lolo)) AS gt ORDER BY event_time DESC LIMIT 10