3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( bindec('110011'), bindec('0b110011'), hexdec('0xFF'), hexdec('FF'), octdec('077'), octdec('77') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8YeSF
function name:  (null)
number of ops:  27
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'bindec'
          2        SEND_VAL                                                 '110011'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
    5     5        INIT_FCALL                                               'bindec'
          6        SEND_VAL                                                 '0b110011'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
    6     9        INIT_FCALL                                               'hexdec'
         10        SEND_VAL                                                 '0xFF'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
    7    13        INIT_FCALL                                               'hexdec'
         14        SEND_VAL                                                 'FF'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
    8    17        INIT_FCALL                                               'octdec'
         18        SEND_VAL                                                 '077'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
    9    21        INIT_FCALL                                               'octdec'
         22        SEND_VAL                                                 '77'
         23        DO_ICALL                                         $5      
         24        SEND_VAR                                                 $5
         25        DO_ICALL                                                 
   10    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.27 ms | 1399 KiB | 21 Q