- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0 - 7.0.1
- Parse error: syntax error, unexpected '$BASE_QUERY' (T_VARIABLE), expecting function (T_FUNCTION) in /in/dlbji on line 3
Process exited with code 255.
<?php
class foo {
$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`)";
}