3v4l.org

run code in 300+ PHP versions simultaneously
<?php var re = /(projects\[bactency\].*)/g; var str = '; =============================================================\n; Subency Makefile\n; =============================================================\n\napi = 2\ncore = 7.x\n\n; ======================= Core\n; This is mandatory !!! We have to keep these files sync between Drupency and Subency...\n; Include the definition for how to build Drupal core directly, including patches:\nincludes[] = drupal-core.make\n\n; Download the install profile and recursively build all its dependencies:\nprojects[drupency][type] = "profile"\nprojects[drupency][download][type] = "git"\nprojects[drupency][download][url] = "https://github.com/Actency/drupency.git"\nprojects[drupency][download][branch] = "develop"\n\n; ======================= Themes\n; Download actency bootstrap theme "bactency"\nprojects[bactency][type] = "theme"\nprojects[bactency][download][type] = "git"\nprojects[bactency][download][url] = "https://github.com/Actency/bactency.git"\nprojects[bactency][download][branch] = "develop"\n'; var m; while ((m = re.exec(str)) !== null) { if (m.index === re.lastIndex) { re.lastIndex++; } // View your result using the m-variable. var_dump(m); }

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.20.0300.07320.15
7.0.10.0170.08020.24
7.0.00.0100.04020.27
5.6.170.0370.07020.47
5.6.160.0070.07720.39
5.6.150.0170.07018.28
5.6.140.0100.03718.16
5.6.130.0100.07318.15
5.6.120.0070.08021.14
5.6.110.0130.08021.02
5.6.100.0100.08020.98
5.6.90.0100.03721.06
5.6.80.0070.07320.37
5.5.310.0300.07320.34
5.5.300.0070.04718.08
5.5.290.0200.07018.06
5.5.280.0000.04320.73
5.5.270.0130.07720.72
5.5.260.0070.08720.79
5.5.250.0130.07720.60
5.5.240.0030.03020.06

preferences:
146.52 ms | 1394 KiB | 7 Q