3v4l.org

run code in 300+ PHP versions simultaneously
<?php function update($firstname = null, $surname = null, $othernames = null, $userid = null, $gender = null, $email = null, $phone = null, $date_joined = null) { foreach (func_get_args() as $val) { var_dump($val); } } update('chi', 'bu', 'uzo', 'chi', 'ike', 'to', 'lu', 'pe');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/127V2
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'update'
          1        SEND_VAL                                                 'chi'
          2        SEND_VAL                                                 'bu'
          3        SEND_VAL                                                 'uzo'
          4        SEND_VAL                                                 'chi'
          5        SEND_VAL                                                 'ike'
          6        SEND_VAL                                                 'to'
          7        SEND_VAL                                                 'lu'
          8        SEND_VAL                                                 'pe'
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function update:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/127V2
function name:  update
number of ops:  17
compiled vars:  !0 = $firstname, !1 = $surname, !2 = $othernames, !3 = $userid, !4 = $gender, !5 = $email, !6 = $phone, !7 = $date_joined, !8 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
          3        RECV_INIT                                        !3      null
          4        RECV_INIT                                        !4      null
          5        RECV_INIT                                        !5      null
          6        RECV_INIT                                        !6      null
          7        RECV_INIT                                        !7      null
    5     8        FUNC_GET_ARGS                                    ~9      
          9      > FE_RESET_R                                       $10     ~9, ->15
         10    > > FE_FETCH_R                                               $10, !8, ->15
    6    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !8
         13        DO_ICALL                                                 
    5    14      > JMP                                                      ->10
         15    >   FE_FREE                                                  $10
    8    16      > RETURN                                                   null

End of function update

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.63 ms | 1390 KiB | 16 Q