3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; $y = '1'; if($i===1){ echo 'i is great<br />'; } if($i==true){ echo 'i is true<br />'; } if($i!==true){ echo 'i is not totaly true<br />'; } if($y===1){ echo 'y is great<br />'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 11
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/165aM
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN                                                   !1, '1'
    6     2        IS_IDENTICAL                                             !0, 1
          3      > JMPZ                                                     ~4, ->5
    7     4    >   ECHO                                                     'i+is+great%3Cbr+%2F%3E'
    9     5    >   BOOL                                             ~5      !0
          6      > JMPZ                                                     ~5, ->8
   10     7    >   ECHO                                                     'i+is+true%3Cbr+%2F%3E'
   12     8    >   TYPE_CHECK                                  1014          !0
          9      > JMPZ                                                     ~6, ->11
   13    10    >   ECHO                                                     'i+is+not+totaly+true%3Cbr+%2F%3E'
   16    11    >   IS_IDENTICAL                                             !1, 1
         12      > JMPZ                                                     ~7, ->14
   17    13    >   ECHO                                                     'y+is+great%3Cbr+%2F%3E'
   18    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
213.98 ms | 1393 KiB | 13 Q