3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.48 ms | 1395 KiB | 15 Q