3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = false; if ($var == 0) echo "True: \$var = $var\n"; else echo "False: \$var = $var\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v13KF
function name:  (null)
number of ops:  13
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <false>
    5     1        IS_EQUAL                                                 !0, 0
          2      > JMPZ                                                     ~2, ->8
          3    >   ROPE_INIT                                     3  ~4      'True%3A++%24var+%3D+'
          4        ROPE_ADD                                      1  ~4      ~4, !0
          5        ROPE_END                                      2  ~3      ~4, '%0A'
          6        ECHO                                                     ~3
          7      > JMP                                                      ->12
    6     8    >   ROPE_INIT                                     3  ~7      'False%3A++%24var+%3D+'
          9        ROPE_ADD                                      1  ~7      ~7, !0
         10        ROPE_END                                      2  ~6      ~7, '%0A'
         11        ECHO                                                     ~6
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.74 ms | 1397 KiB | 13 Q