3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($d==3) echo "Have a nice weekend!"; elseif ($d==1) echo "Have a nice Sunday!"; else echo "Have a nice day!"; $this->d=4;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b3Mo1
function name:  (null)
number of ops:  13
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   IS_EQUAL                                                 !0, 3
          1      > JMPZ                                                     ~1, ->4
    4     2    >   ECHO                                                     'Have+a+nice+weekend%21'
          3      > JMP                                                      ->9
    5     4    >   IS_EQUAL                                                 !0, 1
          5      > JMPZ                                                     ~2, ->8
    6     6    >   ECHO                                                     'Have+a+nice+Sunday%21'
          7      > JMP                                                      ->9
    8     8    >   ECHO                                                     'Have+a+nice+day%21'
   10     9    >   FETCH_THIS                                       $3      
         10        ASSIGN_OBJ                                               $3, 'd'
         11        OP_DATA                                                  4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.98 ms | 1397 KiB | 13 Q