3v4l.org

run code in 300+ PHP versions simultaneously
<?php function conlog() { $arg_list = func_get_args(); echo "<pre>"; foreach ($arg_list as $arg) { if(is_string($arg) || is_numeric($arg) ) echo $arg; else var_export ($arg); echo "\t"; } echo "</pre>"; } conlog('0',1,2.3,['4','5']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mutIY
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'conlog'
          1        SEND_VAL                                                 '0'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 2.3
          4        SEND_VAL                                                 <array>
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function conlog:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 19
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 19
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 11
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/mutIY
function name:  conlog
number of ops:  22
compiled vars:  !0 = $arg_list, !1 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FUNC_GET_ARGS                                    ~2      
          1        ASSIGN                                                   !0, ~2
    5     2        ECHO                                                     '%3Cpre%3E'
    6     3      > FE_RESET_R                                       $4      !0, ->19
          4    > > FE_FETCH_R                                               $4, !1, ->19
    7     5    >   TYPE_CHECK                                   64  ~5      !1
          6      > JMPNZ_EX                                         ~5      ~5, ->11
          7    >   INIT_FCALL                                               'is_numeric'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        BOOL                                             ~5      $6
         11    > > JMPZ                                                     ~5, ->14
         12    >   ECHO                                                     !1
         13      > JMP                                                      ->17
    8    14    >   INIT_FCALL                                               'var_export'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
    9    17    >   ECHO                                                     '%09'
    6    18      > JMP                                                      ->4
         19    >   FE_FREE                                                  $4
   11    20        ECHO                                                     '%3C%2Fpre%3E'
   12    21      > RETURN                                                   null

End of function conlog

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.83 ms | 1399 KiB | 18 Q