3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( ~1, ~1.1, ~'Test', ~"1e1", ~true, ~false, ~null );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6og5J
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
    3     1        SEND_VAL                                                 -2
    4     2        SEND_VAL                                                 -2
    5     3        SEND_VAL                                                 '%AB%9A%8C%8B'
    6     4        SEND_VAL                                                 '%CE%9A%CE'
    7     5        BW_NOT                                           ~0      <true>
          6        SEND_VAL                                                 ~0
    8     7        BW_NOT                                           ~1      <false>
          8        SEND_VAL                                                 ~1
    9     9        BW_NOT                                           ~2      null
         10        SEND_VAL                                                 ~2
         11        DO_ICALL                                                 
   10    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.86 ms | 1385 KiB | 15 Q