3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { var $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`)"; }
Output for 7.0.0 - 7.0.1
Fatal error: Constant expression contains invalid operations in /in/5R82b on line 7
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected '"' in /in/5R82b on line 3
Process exited with code 255.

preferences:
179.88 ms | 1395 KiB | 25 Q