3v4l.org

run code in 300+ PHP versions simultaneously
<?php quick_authentication_onregistration(true); function quick_authentication_onregistration($app_val = false) { if($app_val == true) { $type = 'celebrityPending'; } else { $type = 'fan'; } echo 'type'.$type; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jtu2P
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'quick_authentication_onregistration'
          1        SEND_VAL_EX                                              <true>
          2        DO_FCALL                                      0          
   11     3      > RETURN                                                   1

Function quick_authentication_onregistration:
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 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jtu2P
function name:  quick_authentication_onregistration
number of ops:  9
compiled vars:  !0 = $app_val, !1 = $type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      <false>
    5     1        BOOL                                             ~2      !0
          2      > JMPZ                                                     ~2, ->5
    6     3    >   ASSIGN                                                   !1, 'celebrityPending'
          4      > JMP                                                      ->6
    8     5    >   ASSIGN                                                   !1, 'fan'
   10     6    >   CONCAT                                           ~5      'type', !1
          7        ECHO                                                     ~5
   11     8      > RETURN                                                   null

End of function quick_authentication_onregistration

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.68 ms | 1393 KiB | 13 Q