3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/{youtube}(.*){\/youtube}/mis'; $con="Life is good {youtube}NgBZrRCPCH8{/youtube} Fun is great! {youtube}joRCPCH8{/youtube} Earth is round and roll {youtube}pwnkfH8{/youtube}"; preg_match_all($re, $str, $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oMc1a
function name:  (null)
number of ops:  11
compiled vars:  !0 = $re, !1 = $con, !2 = $str, !3 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%7Byoutube%7D%28.%2A%29%7B%5C%2Fyoutube%7D%2Fmis'
    3     1        ASSIGN                                                   !1, 'Life+is+good%0A+++++%7Byoutube%7DNgBZrRCPCH8%7B%2Fyoutube%7D%0A%0A+++++Fun+is+great%21%0A+++++%7Byoutube%7DjoRCPCH8%7B%2Fyoutube%7D%0A%0A+++++Earth+is+round+and+roll%0A+++++%7Byoutube%7DpwnkfH8%7B%2Fyoutube%7D'
   12     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !2
          5        SEND_REF                                                 !3
          6        DO_ICALL                                                 
   13     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.7 ms | 1385 KiB | 17 Q