3v4l.org

run code in 300+ PHP versions simultaneously
<?php $social_array = array( "facebook" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ), "twitter" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ), "linked-in" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ), "google-plus" => array( 'class' => "facebook", 'url' => 'https://www.facebook.com/', 'handle' => 'Mage::getStoreConfig(\'social_code/social_group/twitter_field\')' ) ); $html = '<ul>'; foreach ($social_array as $name => $class_array){ $html .= '<li><a href="' . $class_array['url'] . $class_array['handle'] .'" class="' . $class_array['class']. '">'. $name. '</a></li>'; } $html .= '</ul>'; print $html; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 17
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 17
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/XblRK
function name:  (null)
number of ops:  21
compiled vars:  !0 = $social_array, !1 = $html, !2 = $class_array, !3 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   25     1        ASSIGN                                                   !1, '%3Cul%3E'
   27     2      > FE_RESET_R                                       $6      !0, ->17
          3    > > FE_FETCH_R                                       ~7      $6, !2, ->17
          4    >   ASSIGN                                                   !3, ~7
   28     5        FETCH_DIM_R                                      ~9      !2, 'url'
          6        CONCAT                                           ~10     '%3Cli%3E%3Ca+href%3D%22', ~9
          7        FETCH_DIM_R                                      ~11     !2, 'handle'
          8        CONCAT                                           ~12     ~10, ~11
          9        CONCAT                                           ~13     ~12, '%22+class%3D%22'
         10        FETCH_DIM_R                                      ~14     !2, 'class'
         11        CONCAT                                           ~15     ~13, ~14
         12        CONCAT                                           ~16     ~15, '%22%3E'
         13        CONCAT                                           ~17     ~16, !3
         14        CONCAT                                           ~18     ~17, '%3C%2Fa%3E%3C%2Fli%3E'
         15        ASSIGN_OP                                     8          !1, ~18
   27    16      > JMP                                                      ->3
         17    >   FE_FREE                                                  $6
   30    18        ASSIGN_OP                                     8          !1, '%3C%2Ful%3E'
   32    19        ECHO                                                     !1
   33    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.99 ms | 1394 KiB | 13 Q