3v4l.org

run code in 300+ PHP versions simultaneously
<?php $in_addr = base_convert(inet_pton("2001:06b8:0000:0000:0000:0000:1428:07ab"), 2, 10); var_dump($in_addr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jvB4d
function name:  (null)
number of ops:  13
compiled vars:  !0 = $in_addr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'base_convert'
          1        INIT_FCALL                                               'inet_pton'
          2        SEND_VAL                                                 '2001%3A06b8%3A0000%3A0000%3A0000%3A0000%3A1428%3A07ab'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        SEND_VAL                                                 2
          6        SEND_VAL                                                 10
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    3     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.1 ms | 1398 KiB | 19 Q