3v4l.org

run code in 300+ PHP versions simultaneously
<?php $files = [ 'custom/Extension/application/Ext/Include/GlobalNotifications.php', 'custom/Extension/application/Ext/JSGroupings/GlobalNotifications.php', 'custom/Extension/application/Ext/Language/en_us.GlobalNotifications.php', 'custom/clients/base/views/notifications/notifications.js', 'custom/include/javascript/sugar7/global-notifications.js', 'custom/modules/Notifications/clients/base/api/CustomNotificationsFilterApi.php', 'modules/soc_GlobalNotifications/clients/base/filters/basic/basic.php', 'modules/soc_GlobalNotifications/clients/base/filters/default/default.php', 'modules/soc_GlobalNotifications/clients/base/views/list/list.php', 'modules/soc_GlobalNotifications/clients/base/views/record/record.php', 'modules/soc_GlobalNotifications/language/en_us.lang.php', 'modules/soc_GlobalNotifications/soc_GlobalNotification.php', 'modules/soc_GlobalNotifications/soc_GlobalNotification_sugar.php', 'modules/soc_GlobalNotifications/vardefs.php', ]; $copy = []; foreach ($files as $file) { $copy[] = array ( 'from' => '<basepath>/files/' . $file, 'to' => $file, ); } var_export($copy);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'from' => '<basepath>/files/custom/Extension/application/Ext/Include/GlobalNotifications.php', 'to' => 'custom/Extension/application/Ext/Include/GlobalNotifications.php', ), 1 => array ( 'from' => '<basepath>/files/custom/Extension/application/Ext/JSGroupings/GlobalNotifications.php', 'to' => 'custom/Extension/application/Ext/JSGroupings/GlobalNotifications.php', ), 2 => array ( 'from' => '<basepath>/files/custom/Extension/application/Ext/Language/en_us.GlobalNotifications.php', 'to' => 'custom/Extension/application/Ext/Language/en_us.GlobalNotifications.php', ), 3 => array ( 'from' => '<basepath>/files/custom/clients/base/views/notifications/notifications.js', 'to' => 'custom/clients/base/views/notifications/notifications.js', ), 4 => array ( 'from' => '<basepath>/files/custom/include/javascript/sugar7/global-notifications.js', 'to' => 'custom/include/javascript/sugar7/global-notifications.js', ), 5 => array ( 'from' => '<basepath>/files/custom/modules/Notifications/clients/base/api/CustomNotificationsFilterApi.php', 'to' => 'custom/modules/Notifications/clients/base/api/CustomNotificationsFilterApi.php', ), 6 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/clients/base/filters/basic/basic.php', 'to' => 'modules/soc_GlobalNotifications/clients/base/filters/basic/basic.php', ), 7 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/clients/base/filters/default/default.php', 'to' => 'modules/soc_GlobalNotifications/clients/base/filters/default/default.php', ), 8 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/clients/base/views/list/list.php', 'to' => 'modules/soc_GlobalNotifications/clients/base/views/list/list.php', ), 9 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/clients/base/views/record/record.php', 'to' => 'modules/soc_GlobalNotifications/clients/base/views/record/record.php', ), 10 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/language/en_us.lang.php', 'to' => 'modules/soc_GlobalNotifications/language/en_us.lang.php', ), 11 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/soc_GlobalNotification.php', 'to' => 'modules/soc_GlobalNotifications/soc_GlobalNotification.php', ), 12 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/soc_GlobalNotification_sugar.php', 'to' => 'modules/soc_GlobalNotifications/soc_GlobalNotification_sugar.php', ), 13 => array ( 'from' => '<basepath>/files/modules/soc_GlobalNotifications/vardefs.php', 'to' => 'modules/soc_GlobalNotifications/vardefs.php', ), )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
29.74 ms | 416 KiB | 5 Q