3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.02 ms | 997 KiB | 14 Q