3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pton = inet_pton("21da:d3:0:2f3b:0:0:ffff:ffff"); $gmp = gmp_init($pton, 2); var_dump($gmp, $pton);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8qCC7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $pton, !1 = $gmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'inet_pton'
          1        SEND_VAL                                                 '21da%3Ad3%3A0%3A2f3b%3A0%3A0%3Affff%3Affff'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL_BY_NAME                                       'gmp_init'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAL_EX                                              2
          7        DO_FCALL                                      0  $4      
          8        ASSIGN                                                   !1, $4
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.43 ms | 1394 KiB | 17 Q