3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ipString = "ffff:eeee:dddd:cccc:bbbb:aaaa:9999:8888"; $test = array(); preg_match("/^([0-9a-fA-F]+:?)$/", $ipString, $test); var_dump($test); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WuZ3V
function name:  (null)
number of ops:  11
compiled vars:  !0 = $ipString, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'ffff%3Aeeee%3Adddd%3Acccc%3Abbbb%3Aaaaa%3A9999%3A8888'
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5E%28%5B0-9a-fA-F%5D%2B%3A%3F%29%24%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    6    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.38 ms | 1394 KiB | 17 Q