3v4l.org

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

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.0100.08720.21
7.0.00.0170.07320.11
5.6.160.0070.04720.54
5.6.150.0070.03718.29
5.6.140.0030.03718.29
5.6.130.0030.08318.17
5.6.120.0070.08721.02
5.6.110.0170.07021.11
5.6.100.0000.07321.10
5.6.90.0200.06021.00
5.6.80.0000.04020.35
5.5.300.0070.08018.08
5.5.290.0100.07717.98
5.5.280.0070.08320.87
5.5.270.0130.07720.79
5.5.260.0200.07320.67
5.5.250.0100.05720.57
5.5.240.0170.07720.16

preferences:
146.68 ms | 1398 KiB | 7 Q