3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ha = array(); cats(null); function cats($x = array('asdf')) { print_r($x); // $y = array_merge(array('one'), $x); //print_r($y); } print_r('done');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yub22
function name:  (null)
number of ops:  8
compiled vars:  !0 = $ha
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL_BY_NAME                                       'cats'
          2        SEND_VAL_EX                                              null
          3        DO_FCALL                                      0          
   11     4        INIT_FCALL                                               'print_r'
          5        SEND_VAL                                                 'done'
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function cats:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yub22
function name:  cats
number of ops:  5
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV_INIT                                        !0      <array>
    6     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    9     4      > RETURN                                                   null

End of function cats

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.83 ms | 1394 KiB | 15 Q