3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.74 ms | 1394 KiB | 15 Q