3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(hexdec("0")); // print "int(10)" var_dump(hexdec("000")); // print "int(160)" var_dump(hexdec("000000")); // print "int(160)" var_dump(hexdec("AAFFCC")); // print "int(160)" var_dump(hexdec("AFC")); // print "int(160)" var_dump(dechex(hexdec("0"))); // print "int(10)" var_dump(hexdec("000")); // print "int(160)" var_dump(hexdec("000000")); // print "int(160)" var_dump(hexdec("AAFFCC")); // print "int(160)" var_dump(hexdec("AFC")); // print "int(160)"
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VSlTc
function name:  (null)
number of ops:  64
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'hexdec'
          2        SEND_VAL                                                 '0'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'hexdec'
          8        SEND_VAL                                                 '000'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'hexdec'
         14        SEND_VAL                                                 '000000'
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    6    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'hexdec'
         20        SEND_VAL                                                 'AAFFCC'
         21        DO_ICALL                                         $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                                 
    7    24        INIT_FCALL                                               'var_dump'
         25        INIT_FCALL                                               'hexdec'
         26        SEND_VAL                                                 'AFC'
         27        DO_ICALL                                         $8      
         28        SEND_VAR                                                 $8
         29        DO_ICALL                                                 
    8    30        INIT_FCALL                                               'var_dump'
         31        INIT_FCALL                                               'dechex'
         32        INIT_FCALL                                               'hexdec'
         33        SEND_VAL                                                 '0'
         34        DO_ICALL                                         $10     
         35        SEND_VAR                                                 $10
         36        DO_ICALL                                         $11     
         37        SEND_VAR                                                 $11
         38        DO_ICALL                                                 
    9    39        INIT_FCALL                                               'var_dump'
         40        INIT_FCALL                                               'hexdec'
         41        SEND_VAL                                                 '000'
         42        DO_ICALL                                         $13     
         43        SEND_VAR                                                 $13
         44        DO_ICALL                                                 
   10    45        INIT_FCALL                                               'var_dump'
         46        INIT_FCALL                                               'hexdec'
         47        SEND_VAL                                                 '000000'
         48        DO_ICALL                                         $15     
         49        SEND_VAR                                                 $15
         50        DO_ICALL                                                 
   11    51        INIT_FCALL                                               'var_dump'
         52        INIT_FCALL                                               'hexdec'
         53        SEND_VAL                                                 'AAFFCC'
         54        DO_ICALL                                         $17     
         55        SEND_VAR                                                 $17
         56        DO_ICALL                                                 
   12    57        INIT_FCALL                                               'var_dump'
         58        INIT_FCALL                                               'hexdec'
         59        SEND_VAL                                                 'AFC'
         60        DO_ICALL                                         $19     
         61        SEND_VAR                                                 $19
         62        DO_ICALL                                                 
         63      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.04 ms | 1405 KiB | 19 Q