3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = '<div class="cc"> <div class="text"><a href="/id17168683" class="mem_link" mention="bp-6471_105432" mention_id="id17168683">Артем</a>, я знаю про шнягу на 1.8 фф2, но у мя фф1</div>'; preg_match_all('/(?<=\<div class="text\"\>).*(?=\<\/div\>)/', $source, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kXBkW
function name:  (null)
number of ops:  10
compiled vars:  !0 = $source, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cdiv+class%3D%22cc%22%3E%0A%3Cdiv+class%3D%22text%22%3E%3Ca+href%3D%22%2Fid17168683%22+class%3D%22mem_link%22+mention%3D%22bp-6471_105432%22+mention_id%3D%22id17168683%22%3E%D0%90%D1%80%D1%82%D0%B5%D0%BC%3C%2Fa%3E%2C+%D1%8F+%D0%B7%D0%BD%D0%B0%D1%8E+%D0%BF%D1%80%D0%BE+%D1%88%D0%BD%D1%8F%D0%B3%D1%83+%D0%BD%D0%B0+1.8+%D1%84%D1%842%2C+%D0%BD%D0%BE+%D1%83+%D0%BC%D1%8F+%D1%84%D1%841%3C%2Fdiv%3E'
    4     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%3F%3C%3D%5C%3Cdiv+class%3D%22text%5C%22%5C%3E%29.%2A%28%3F%3D%5C%3C%5C%2Fdiv%5C%3E%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.4 ms | 1394 KiB | 17 Q