3v4l.org

run code in 300+ PHP versions simultaneously
<?php function khod( $adeek = '' ) { $arg = is_array( $adeek ) ? $adeek : (array) $adeek; //echo $arg; print_r( $arg ); } khod( 'hello' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GnfZF
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                                                 'hello'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

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

End of function khod

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.71 ms | 1397 KiB | 16 Q