3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(intval('00013')); var_dump(intval('00013', 10)); var_dump(intval('00013', 8));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C57Zh
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        CAST                                          4  ~0      '00013'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'intval'
          6        SEND_VAL                                                 '00013'
          7        SEND_VAL                                                 10
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'intval'
         13        SEND_VAL                                                 '00013'
         14        SEND_VAL                                                 8
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.77 ms | 1386 KiB | 17 Q