3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_REQUEST['income']= 2; $income = $_REQUEST['income']; //Gross Income Overview function ovIncome($income) { //Check if Less Than or More Than if ($income == 0) { $wageVal = 'Less than € 30.984,- '; } elseif($income == 1) { $wageVal = 'More than € 30.984,- and same as € 61.200,-'; } else { $wageVal = 'More than € 30.984,-'; } echo "$wageVal"; } ovIncome($income);// caling function by passing variable as a parameter
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dGYAj
function name:  (null)
number of ops:  10
compiled vars:  !0 = $income
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_REQUEST'
          1        ASSIGN_DIM                                               $1, 'income'
          2        OP_DATA                                                  2
    5     3        FETCH_R                      global              ~3      '_REQUEST'
          4        FETCH_DIM_R                                      ~4      ~3, 'income'
          5        ASSIGN                                                   !0, ~4
   22     6        INIT_FCALL                                               'ovincome'
          7        SEND_VAR                                                 !0
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function ovincome:
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 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dGYAj
function name:  ovIncome
number of ops:  13
compiled vars:  !0 = $income, !1 = $wageVal
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
   10     1        IS_EQUAL                                                 !0, 0
          2      > JMPZ                                                     ~2, ->5
   11     3    >   ASSIGN                                                   !1, 'Less+than+%E2%82%AC+30.984%2C-+'
          4      > JMP                                                      ->10
   13     5    >   IS_EQUAL                                                 !0, 1
          6      > JMPZ                                                     ~4, ->9
   14     7    >   ASSIGN                                                   !1, 'More+than+%E2%82%AC+30.984%2C-+and+same+as+%E2%82%AC+61.200%2C-'
          8      > JMP                                                      ->10
   17     9    >   ASSIGN                                                   !1, 'More+than+%E2%82%AC+30.984%2C-'
   19    10    >   CAST                                          6  ~7      !1
         11        ECHO                                                     ~7
   20    12      > RETURN                                                   null

End of function ovincome

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.29 ms | 1399 KiB | 14 Q