3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?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.0230.07720.17
7.0.10.0130.08320.15
7.0.00.0030.04320.09
5.6.170.0300.08320.57
5.6.160.0130.08020.46
5.6.150.0070.04018.21
5.6.140.0100.07718.31
5.6.130.0070.06018.17
5.6.120.0100.08021.02
5.6.110.0070.04720.98
5.6.100.0100.08020.88
5.6.90.0070.08720.99
5.6.80.0200.06720.43
5.5.310.0270.07020.19
5.5.300.0070.07317.98
5.5.290.0070.07317.95
5.5.280.0000.05720.76
5.5.270.0100.04720.87
5.5.260.0070.05720.95
5.5.250.0030.06020.55
5.5.240.0030.03720.11

preferences:
143.61 ms | 1386 KiB | 7 Q