3v4l.org

run code in 300+ PHP versions simultaneously
<?php function map(callable $callback) { call_user_func($callback); } echo map([new SplFixedArray(), 'count']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fki3X
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'map'
          1        NEW                                              $0      'SplFixedArray'
          2        DO_FCALL                                      0          
          3        INIT_ARRAY                                       ~2      $0
          4        ADD_ARRAY_ELEMENT                                ~2      'count'
          5        SEND_VAL                                                 ~2
          6        DO_FCALL                                      0  $3      
          7        ECHO                                                     $3
          8      > RETURN                                                   1

Function map:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fki3X
function name:  map
number of ops:  4
compiled vars:  !0 = $callback
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_USER_CALL                                0          'call_user_func', !0
          2        DO_FCALL                                      0          
    4     3      > RETURN                                                   null

End of function map

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.84 ms | 1397 KiB | 14 Q