3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'a' => 'vmi', 'tag_name' => 'google' ), array( 'a' => 'vmi2', 'tag_name' => 'technology' ) ); echo "(".implode(', ', array_map("findentry", $input)).")"; function findentry ($entry) { return $entry['tag_name']; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hgoH7
function name:  (null)
number of ops:  13
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%2C+'
          3        INIT_FCALL                                               'array_map'
          4        SEND_VAL                                                 'findentry'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                         $3      
          9        CONCAT                                           ~4      '%28', $3
         10        CONCAT                                           ~5      ~4, '%29'
         11        ECHO                                                     ~5
   17    12      > RETURN                                                   1

Function findentry:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hgoH7
function name:  findentry
number of ops:  4
compiled vars:  !0 = $entry
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
   16     1        FETCH_DIM_R                                      ~1      !0, 'tag_name'
          2      > RETURN                                                   ~1
   17     3*     > RETURN                                                   null

End of function findentry

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.15 ms | 1395 KiB | 17 Q