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`)"; }

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.08020.17
7.0.00.0130.06020.25
5.6.160.0100.07020.58
5.6.150.0100.06318.19
5.6.140.0030.08318.11
5.6.130.0070.07318.16
5.6.120.0100.08021.14
5.6.110.0070.04320.98
5.6.100.0030.05720.91
5.6.90.0100.04020.97
5.6.80.0070.04720.50
5.5.300.0170.06718.00
5.5.290.0130.08317.98
5.5.280.0030.05320.78
5.5.270.0030.04320.95
5.5.260.0070.05320.67
5.5.250.0070.05320.79
5.5.240.0130.07320.25

preferences:
140.55 ms | 1394 KiB | 7 Q