3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo base_convert("1.5",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/Pqsbf
function name:  (null)
number of ops:  22
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                                                 16
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
          5        ECHO                                                     '%0A'
    3     6        INIT_FCALL                                               'bindec'
          7        SEND_VAL                                                 '1.5'
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
         10        ECHO                                                     '%0A'
    4    11        INIT_FCALL                                               'octdec'
         12        SEND_VAL                                                 '1.5'
         13        DO_ICALL                                         $2      
         14        ECHO                                                     $2
         15        ECHO                                                     '%0A'
    5    16        INIT_FCALL                                               'hexdec'
         17        SEND_VAL                                                 '1.5'
         18        DO_ICALL                                         $3      
         19        ECHO                                                     $3
         20        ECHO                                                     '%0A'
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.89 ms | 1395 KiB | 21 Q