3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.7 ms | 1394 KiB | 17 Q