3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gender = (getRequestParameter('f_55_gender') === 'f') ? 'Female' : 'Male'; function getRequestParameter($par) { return 'fdf'; } var_dump($gender);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
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: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mjREj
function name:  (null)
number of ops:  13
compiled vars:  !0 = $gender
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'getRequestParameter'
          1        SEND_VAL_EX                                              'f_55_gender'
          2        DO_FCALL                                      0  $1      
          3        IS_IDENTICAL                                             $1, 'f'
          4      > JMPZ                                                     ~2, ->7
          5    >   QM_ASSIGN                                        ~3      'Female'
          6      > JMP                                                      ->8
          7    >   QM_ASSIGN                                        ~3      'Male'
          8    >   ASSIGN                                                   !0, ~3
   11     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Function getrequestparameter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mjREj
function name:  getRequestParameter
number of ops:  3
compiled vars:  !0 = $par
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1      > RETURN                                                   'fdf'
    9     2*     > RETURN                                                   null

End of function getrequestparameter

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.21 ms | 1395 KiB | 15 Q