3v4l.org

run code in 300+ PHP versions simultaneously
<?php $categoryId = false; var_dump(($categoryId != null) && !$category);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/5ITK2
function name:  (null)
number of ops:  9
compiled vars:  !0 = $categoryId, !1 = $category
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <false>
    5     1        INIT_FCALL                                               'var_dump'
          2        IS_NOT_EQUAL                                     ~3      !0, null
          3      > JMPZ_EX                                          ~3      ~3, ->6
          4    >   BOOL_NOT                                         ~4      !1
          5        BOOL                                             ~3      ~4
          6    >   SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.64 ms | 1394 KiB | 15 Q