3v4l.org

run code in 300+ PHP versions simultaneously
<?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`)"; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0130.05320.23
7.0.00.0200.07020.05
5.6.160.0030.05720.57
5.6.150.0100.05018.14
5.6.140.0030.05018.15
5.6.130.0070.05318.18
5.6.120.0100.08320.99
5.6.110.0000.06021.07
5.6.100.0030.05320.95
5.6.90.0100.04320.96
5.6.80.0070.04720.40
5.5.300.0100.03717.97
5.5.290.0130.07318.08
5.5.280.0000.05020.87
5.5.270.0130.04720.76
5.5.260.0030.04020.86
5.5.250.0070.07320.46
5.5.240.0200.07020.03

preferences:
142.93 ms | 1394 KiB | 7 Q