3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['b'] = "4"; $_POST['a'] = "3"; if($_POST['b']!="0"){echo $_POST['a']/$_POST['b'] ;} else {echo "nie dziel przez zero !!!";}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r2ec9
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $0      '_POST'
          1        ASSIGN_DIM                                               $0, 'b'
          2        OP_DATA                                                  '4'
    4     3        FETCH_W                      global              $2      '_POST'
          4        ASSIGN_DIM                                               $2, 'a'
          5        OP_DATA                                                  '3'
    5     6        FETCH_R                      global              ~4      '_POST'
          7        FETCH_DIM_R                                      ~5      ~4, 'b'
          8        IS_NOT_EQUAL                                             ~5, '0'
          9      > JMPZ                                                     ~6, ->17
         10    >   FETCH_R                      global              ~7      '_POST'
         11        FETCH_DIM_R                                      ~8      ~7, 'a'
         12        FETCH_R                      global              ~9      '_POST'
         13        FETCH_DIM_R                                      ~10     ~9, 'b'
         14        DIV                                              ~11     ~8, ~10
         15        ECHO                                                     ~11
         16      > JMP                                                      ->18
    6    17    >   ECHO                                                     'nie+dziel+przez+zero+%21%21%21'
         18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.6 ms | 1393 KiB | 13 Q