3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const BASE_QUERY = "SELECT wp.ID FROM `{$this->tablePosts}` wp INNER JOIN `{$this->tablePostMeta}` wm ON (wm.`post_id` = wp.`ID`) INNER JOIN `{$this->tableTermRelationships}` wtr ON (wp.`ID` = wtr.`object_id`) INNER JOIN `{$this->tableTermTaxonomy}` wtt ON (wtr.`term_taxonomy_id` = wtt.`term_taxonomy_id`) INNER JOIN `{$this->tableTerms}` wt ON (wt.`term_id` = wtt.`term_id`)";
based on UFmuK
Output for 7.0.0 - 7.0.1
Fatal error: Constant expression contains invalid operations in /in/gn4WZ on line 6
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected '"' in /in/gn4WZ on line 2
Process exited with code 255.