3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = ' SELECT picture.`%1$s` AS entity_id, picture.picture_id FROM picture JOIN category_pictures USING (picture_id) WHERE picture.`%1$s` IN (%2$s) #FILTER_CATEGORY AND category_pictures.category_id IN (%3$s) '; var_dump(substr_replace($str, '', 207, 16));
Output for 4.3.0, 5.3.28 - 5.3.29, 5.4.18 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(260) " SELECT picture.`%1$s` AS entity_id, picture.picture_id FROM picture JOIN category_pictures USING (picture_id) WHERE picture.`%1$s` IN (%2$s) AND category_pictures.category_id IN (%3$s) "
Output for 4.3.1 - 5.3.27, 5.4.0 - 5.4.17
string(266) " SELECT picture.`%1$s` AS entity_id, picture.picture_id FROM picture JOIN category_pictures USING (picture_id) WHERE picture.`%1$s` IN (%2$s) EGORY AND category_pictures.category_id IN (%3$s) "