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); printf("%d",bindec($converted));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fqLIe
function name:  (null)
number of ops:  22
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        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'printf'
         15        SEND_VAL                                                 '%25d'
         16        INIT_FCALL                                               'bindec'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $8      
         19        SEND_VAR                                                 $8
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
211.71 ms | 1386 KiB | 21 Q