3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match("(?<!\\\\)%[^\n]*", "To jest % komentarz\nA to\\% już nie\nA to znowu %tak", $m); print_R($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZYjh9
function name:  (null)
number of ops:  9
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%28%3F%3C%21%5C%5C%29%25%5B%5E%0A%5D%2A'
          2        SEND_VAL                                                 'To+jest+%25+komentarz%0AA+to%5C%25+ju%C5%BC+nie%0AA+to+znowu+%25tak'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.03 ms | 1394 KiB | 17 Q