3v4l.org

run code in 300+ PHP versions simultaneously
<?php $w=5; if ($w>=18) echo "możesz wejsc"; else echo "to nie dla ciebie "; function kwadrat($liczba) { return $liczba*$liczba; } $liczba=$w; $wynik=kwadrat($liczba); echo $wynik;
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/flCqh
function name:  (null)
number of ops:  13
compiled vars:  !0 = $w, !1 = $liczba, !2 = $wynik
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        IS_SMALLER_OR_EQUAL                                      18, !0
          2      > JMPZ                                                     ~4, ->5
    4     3    >   ECHO                                                     'mo%C5%BCesz+wejsc'
          4      > JMP                                                      ->6
    6     5    >   ECHO                                                     'to+nie+dla+ciebie+'
   11     6    >   ASSIGN                                                   !1, !0
   12     7        INIT_FCALL                                               'kwadrat'
          8        SEND_VAR                                                 !1
          9        DO_FCALL                                      0  $6      
         10        ASSIGN                                                   !2, $6
   13    11        ECHO                                                     !2
         12      > RETURN                                                   1

Function kwadrat:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/flCqh
function name:  kwadrat
number of ops:  4
compiled vars:  !0 = $liczba
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1        MUL                                              ~1      !0, !0
          2      > RETURN                                                   ~1
   10     3*     > RETURN                                                   null

End of function kwadrat

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.88 ms | 1397 KiB | 14 Q