3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = inet_pton('::FEEF:1886'); $b = inet_ntop($a); print "::FEEF:1886 -> $b\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GZr30
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'inet_pton'
          1        SEND_VAL                                                 '%3A%3AFEEF%3A1886'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'inet_ntop'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    5     8        ROPE_INIT                                     3  ~7      '%3A%3AFEEF%3A1886+-%3E+'
          9        ROPE_ADD                                      1  ~7      ~7, !1
         10        ROPE_END                                      2  ~6      ~7, '%0A'
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.05 ms | 1398 KiB | 17 Q