3v4l.org

run code in 300+ PHP versions simultaneously
<?php function khod( $adeek = '', $salam = 'khod' ) { $arg = is_array( $adeek ) ? $adeek : (array) $adeek; //echo $arg; print_r( $arg ); } khod( '' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HQ6KN
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'khod'
          1        SEND_VAL                                                 ''
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function khod:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HQ6KN
function name:  khod
number of ops:  13
compiled vars:  !0 = $adeek, !1 = $salam, !2 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      ''
          1        RECV_INIT                                        !1      'khod'
    4     2        TYPE_CHECK                                  128          !0
          3      > JMPZ                                                     ~3, ->6
          4    >   QM_ASSIGN                                        ~4      !0
          5      > JMP                                                      ->8
          6    >   CAST                                          7  ~5      !0
          7        QM_ASSIGN                                        ~4      ~5
          8    >   ASSIGN                                                   !2, ~4
    6     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
    9    12      > RETURN                                                   null

End of function khod

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.65 ms | 1401 KiB | 16 Q