3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(inet_ntop(inet_pton('0:0:0:0:0:0:129.144.52.38')), bin2hex(inet_pton('hi')), bin2hex(inet_pton('2001:DB8:0:0:8:800:200C:417A')), inet_ntop(hex2bin('75706c6f61646564696d6167652f312e6a7067')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KqJ7W
function name:  (null)
number of ops:  31
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%3A0%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                                                 'hi'
        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        INIT_FCALL                                               'hex2bin'
        24        SEND_VAL                                                 '75706c6f61646564696d6167652f312e6a7067'
        25        DO_ICALL                                         $6      
        26        SEND_VAR                                                 $6
        27        DO_ICALL                                         $7      
        28        SEND_VAR                                                 $7
        29        DO_ICALL                                                 
        30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0