3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(inet_pton('90.39.213.82')); var_dump(str_replace('\\', '\\\\', str_replace('\'', '\\\'', inet_pton('90.39.213.82'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/072cK
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'inet_pton'
          2        SEND_VAL                                                 '90.39.213.82'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'str_replace'
          8        SEND_VAL                                                 '%5C'
          9        SEND_VAL                                                 '%5C%5C'
         10        INIT_FCALL                                               'str_replace'
         11        SEND_VAL                                                 '%27'
         12        SEND_VAL                                                 '%5C%27'
         13        INIT_FCALL                                               'inet_pton'
         14        SEND_VAL                                                 '90.39.213.82'
         15        DO_ICALL                                         $2      
         16        SEND_VAR                                                 $2
         17        DO_ICALL                                         $3      
         18        SEND_VAR                                                 $3
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.47 ms | 1395 KiB | 19 Q