3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.43 ms | 1394 KiB | 17 Q