3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( ! 'none' !== 'none'); var_dump( ! 'none2' !== 'none'); if ( ! 'none' !== 'none') { var_dump('success1'); } if ( ! 'none2' !== 'none') { var_dump('success2'); } if ('none' !== 'none') { var_dump('success3'); } if ('none2' !== 'none') { var_dump('success4'); }
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
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 18
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 18
Branch analysis from position: 14
Branch analysis from position: 10
filename:       /in/irAUS
function name:  (null)
number of ops:  23
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                                                 'success1'
          9        DO_ICALL                                                 
   10    10    > > JMPZ                                                     <true>, ->14
   11    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAL                                                 'success2'
         13        DO_ICALL                                                 
   15    14    > > JMPZ                                                     <false>, ->18
   16    15    >   INIT_FCALL                                               'var_dump'
         16        SEND_VAL                                                 'success3'
         17        DO_ICALL                                                 
   19    18    > > JMPZ                                                     <true>, ->22
   20    19    >   INIT_FCALL                                               'var_dump'
         20        SEND_VAL                                                 'success4'
         21        DO_ICALL                                                 
   21    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.88 ms | 1395 KiB | 15 Q