3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = TRUE; $b = TRUE; $c = TRUE; var_dump($a !== NULL ? $a : !$b || $c);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
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
2 jumps found. (Code = 47) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/iklkh
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <true>
    5     1        ASSIGN                                                   !1, <true>
    6     2        ASSIGN                                                   !2, <true>
    8     3        INIT_FCALL                                               'var_dump'
          4        TYPE_CHECK                                  1020          !0
          5      > JMPZ                                                     ~6, ->8
          6    >   QM_ASSIGN                                        ~7      !0
          7      > JMP                                                      ->12
          8    >   BOOL_NOT                                         ~8      !1
          9      > JMPNZ_EX                                         ~8      ~8, ->11
         10    >   BOOL                                             ~8      !2
         11    >   QM_ASSIGN                                        ~7      ~8
         12    >   SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
239.72 ms | 1386 KiB | 15 Q