3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(inet_ntop(inet_pton('0:0:0:0:0:FFFF:129.144.52.38')), bin2hex(inet_pton('0:0:0:0:0:FFFF:129.144.52.38')), bin2hex(inet_pton('2001:DB8:0:0:8:800:200C:417A')), inet_ntop('00000000000000000000ffff81903426'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/23HVJ
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'inet_ntop'
          2        INIT_FCALL                                               'inet_pton'
          3        SEND_VAL                                                 '0%3A0%3A0%3A0%3A0%3AFFFF%3A129.144.52.38'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        INIT_FCALL                                               'bin2hex'
          9        INIT_FCALL                                               'inet_pton'
         10        SEND_VAL                                                 '0%3A0%3A0%3A0%3A0%3AFFFF%3A129.144.52.38'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        INIT_FCALL                                               'bin2hex'
         16        INIT_FCALL                                               'inet_pton'
         17        SEND_VAL                                                 '2001%3ADB8%3A0%3A0%3A8%3A800%3A200C%3A417A'
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                         $5      
         21        SEND_VAR                                                 $5
         22        INIT_FCALL                                               'inet_ntop'
         23        SEND_VAL                                                 '00000000000000000000ffff81903426'
         24        DO_ICALL                                         $6      
         25        SEND_VAR                                                 $6
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.35 ms | 1395 KiB | 21 Q