3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = new stdClass(); $array = array(); function process_array(array $param) { // Do nothing; } process_array($array); process_array($object);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Ymt2
function name:  (null)
number of ops:  11
compiled vars:  !0 = $object, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        ASSIGN                                                   !1, <array>
   10     4        INIT_FCALL                                               'process_array'
          5        SEND_VAR                                                 !1
          6        DO_FCALL                                      0          
   11     7        INIT_FCALL                                               'process_array'
          8        SEND_VAR                                                 !0
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function process_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Ymt2
function name:  process_array
number of ops:  2
compiled vars:  !0 = $param
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1      > RETURN                                                   null

End of function process_array

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.24 ms | 1397 KiB | 15 Q