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);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/IdoRt
function name:  (null)
number of ops:  15
compiled vars:  !0 = $files, !1 = $copy, !2 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   20     1        ASSIGN                                                   !1, <array>
   21     2      > FE_RESET_R                                       $5      !0, ->10
          3    > > FE_FETCH_R                                               $5, !2, ->10
   23     4    >   CONCAT                                           ~7      '%3Cbasepath%3E%2Ffiles%2F', !2
          5        INIT_ARRAY                                       ~8      ~7, 'from'
   24     6        ADD_ARRAY_ELEMENT                                ~8      !2, 'to'
   22     7        ASSIGN_DIM                                               !1
   24     8        OP_DATA                                                  ~8
   21     9      > JMP                                                      ->3
         10    >   FE_FREE                                                  $5
   28    11        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
275.27 ms | 1004 KiB | 14 Q