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/93OKe
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                                 
    6     6      > JMPZ                                                     <true>, ->10
    7     7    >   INIT_FCALL                                               'var_dump'
          8        SEND_VAL                                                 'success'
          9        DO_ICALL                                                 
   10    10    > > JMPZ                                                     <true>, ->14
   11    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAL                                                 'success'
         13        DO_ICALL                                                 
   12    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.21 ms | 1394 KiB | 15 Q