3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hexadecimal = 'A37334'; $prefix = '0x'; var_dump(hexdec($prefix . $hexadecimal));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HNBRZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $hexadecimal, !1 = $prefix
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'A37334'
    3     1        ASSIGN                                                   !1, '0x'
    4     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'hexdec'
          4        CONCAT                                           ~4      !1, !0
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        SEND_VAR                                                 $5
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.48 ms | 1385 KiB | 17 Q