3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '0'; var_dump(!!($test === 0||$test === '0'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) 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/Rq4l9
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0'
    3     1        INIT_FCALL                                               'var_dump'
          2        IS_IDENTICAL                                     ~2      !0, 0
          3      > JMPNZ_EX                                         ~2      ~2, ->6
          4    >   IS_IDENTICAL                                     ~3      !0, '0'
          5        BOOL                                             ~2      ~3
          6    >   BOOL_NOT                                         ~4      ~2
          7        BOOL_NOT                                         ~5      ~4
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.12 ms | 1394 KiB | 15 Q