3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '> [00:00:00.1] Lorem ipsum dolor sit amet, consectetur adipiscing elit. > [00:00:02.3] Sed facilisis orci at erat vulputate facilisis. > [00:00:08.2] Nam aliquam velit quis nisl posuere, ut blandit turpis > blandit. > [00:00:13.8] Nulla sit amet metus felis. Nulla aliquam > ultrices ipsum eget mattis. > [00:00:19.2] Nulla porta ligula > scelerisque lorem dapibus porttitor. > [00:00:26.6] Praesent dolor mi, > dictum et ante sed, efficitur auctor tortor. > [00:00:35.5] Praesent > euismod dui sem, > vitae pretium nisi suscipit quis. > [00:00:39.7] Nulla porta ligula scelerisque lorem dapibus porttitor.'; preg_match_all('/\[\K[^\]]+/', $string, $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EFnGc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3E+%5B00%3A00%3A00.1%5D++Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipiscing+elit.%0A%3E+%5B00%3A00%3A02.3%5D++Sed+facilisis+orci+at+erat+vulputate+facilisis.%0A%3E+%5B00%3A00%3A08.2%5D++Nam+aliquam+velit+quis+nisl+posuere%2C+ut+blandit+turpis%0A%3E+blandit.+%0A%3E+%5B00%3A00%3A13.8%5D++Nulla+sit+amet+metus+felis.+Nulla+aliquam%0A%3E+ultrices+ipsum+eget+mattis.+%0A%3E+%5B00%3A00%3A19.2%5D++Nulla+porta+ligula%0A%3E+scelerisque+lorem+dapibus+porttitor.+%0A%3E+%5B00%3A00%3A26.6%5D++Praesent+dolor+mi%2C%0A%3E+dictum+et+ante+sed%2C+efficitur+auctor+tortor.+%0A%3E+%5B00%3A00%3A35.5%5D++Praesent%0A%3E+euismod+dui+sem%2C+%0A%3E+++++++++++++++vitae+pretium+nisi+suscipit+quis.+%0A%3E+%5B00%3A00%3A39.7%5D++Nulla+porta+ligula+scelerisque+lorem+dapibus+porttitor.'
   16     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%5C%5B%5CK%5B%5E%5C%5D%5D%2B%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   17     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.6 ms | 1445 KiB | 15 Q