3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(ini_parse_quantity('0x0x12')); var_dump(ini_parse_quantity('0b+10')); var_dump(ini_parse_quantity('0o+10')); var_dump(ini_parse_quantity('0x+10')); var_dump(ini_parse_quantity('0b 10')); var_dump(ini_parse_quantity('0o 10')); var_dump(ini_parse_quantity('0x 10'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ON6U1
function name:  (null)
number of ops:  43
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'ini_parse_quantity'
          2        SEND_VAL                                                 '0x0x12'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'ini_parse_quantity'
          8        SEND_VAL                                                 '0b%2B10'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'ini_parse_quantity'
         14        SEND_VAL                                                 '0o%2B10'
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'ini_parse_quantity'
         20        SEND_VAL                                                 '0x%2B10'
         21        DO_ICALL                                         $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                                 
    9    24        INIT_FCALL                                               'var_dump'
         25        INIT_FCALL                                               'ini_parse_quantity'
         26        SEND_VAL                                                 '0b+10'
         27        DO_ICALL                                         $8      
         28        SEND_VAR                                                 $8
         29        DO_ICALL                                                 
   10    30        INIT_FCALL                                               'var_dump'
         31        INIT_FCALL                                               'ini_parse_quantity'
         32        SEND_VAL                                                 '0o+10'
         33        DO_ICALL                                         $10     
         34        SEND_VAR                                                 $10
         35        DO_ICALL                                                 
   11    36        INIT_FCALL                                               'var_dump'
         37        INIT_FCALL                                               'ini_parse_quantity'
         38        SEND_VAL                                                 '0x+10'
         39        DO_ICALL                                         $12     
         40        SEND_VAR                                                 $12
         41        DO_ICALL                                                 
         42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.01 ms | 1012 KiB | 15 Q