3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contents = '<meta name="test" content="blah">'; preg_match_all('/<\s*meta\s*(name|property)="?([^>"]*)"?\s*content="?([^>"]*)"?\s*\/?\s*>/si', $contents, $match); var_dump([$contents, $match]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R21Gr
function name:  (null)
number of ops:  12
compiled vars:  !0 = $contents, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cmeta+name%3D%22test%22+content%3D%22blah%22%3E'
    4     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%3C%5Cs%2Ameta%5Cs%2A%28name%7Cproperty%29%3D%22%3F%28%5B%5E%3E%22%5D%2A%29%22%3F%5Cs%2Acontent%3D%22%3F%28%5B%5E%3E%22%5D%2A%29%22%3F%5Cs%2A%5C%2F%3F%5Cs%2A%3E%2Fsi'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        INIT_ARRAY                                       ~4      !0
          8        ADD_ARRAY_ELEMENT                                ~4      !1
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.29 ms | 1394 KiB | 17 Q