3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( ! ('none' !== 'none')); var_dump( ! ('none2' !== 'none')); if ( ! 'none' !== 'none') { var_dump('success'); } if ( ! 'none2' !== 'none') { var_dump('success'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 10
filename:       /in/1FfLd
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 <false>
          5        DO_ICALL                                                 
    7     6      > JMPZ                                                     <true>, ->10
    8     7    >   INIT_FCALL                                               'var_dump'
          8        SEND_VAL                                                 'success'
          9        DO_ICALL                                                 
   11    10    > > JMPZ                                                     <true>, ->14
   12    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAL                                                 'success'
         13        DO_ICALL                                                 
   13    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.04 ms | 1386 KiB | 15 Q