3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.16 ms | 1394 KiB | 17 Q