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')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e0Wku
function name:  (null)
number of ops:  17
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        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.7 ms | 1394 KiB | 21 Q