3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo base_convert("1.5",10,16),"\n"; echo bindec("1.5"),"\n"; echo octdec("1.5"),"\n"; echo hexdec("1.5"),"\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F8beb
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'base_convert'
          1        SEND_VAL                                                 '1.5'
          2        SEND_VAL                                                 10
          3        SEND_VAL                                                 16
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6        ECHO                                                     '%0A'
    3     7        INIT_FCALL                                               'bindec'
          8        SEND_VAL                                                 '1.5'
          9        DO_ICALL                                         $1      
         10        ECHO                                                     $1
         11        ECHO                                                     '%0A'
    4    12        INIT_FCALL                                               'octdec'
         13        SEND_VAL                                                 '1.5'
         14        DO_ICALL                                         $2      
         15        ECHO                                                     $2
         16        ECHO                                                     '%0A'
    5    17        INIT_FCALL                                               'hexdec'
         18        SEND_VAL                                                 '1.5'
         19        DO_ICALL                                         $3      
         20        ECHO                                                     $3
         21        ECHO                                                     '%0A'
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.85 ms | 1386 KiB | 21 Q