3v4l.org

run code in 300+ PHP versions simultaneously
<?php // decbin(), decoct(), and dechex() echo bindec("1.5"); echo octdec("1.5"); echo hexdec("1.5");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qbfJe
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'bindec'
          1        SEND_VAL                                                 '1.5'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    4     4        INIT_FCALL                                               'octdec'
          5        SEND_VAL                                                 '1.5'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    5     8        INIT_FCALL                                               'hexdec'
          9        SEND_VAL                                                 '1.5'
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.07 ms | 1385 KiB | 19 Q