3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/(?:&lt;|&gt;|&amp;)/i', '&lt;tomato&gt; has this &amp; that powers', $matches, PREG_OFFSET_CAPTURE); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dfuXd
function name:  (null)
number of ops:  10
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%2F%28%3F%3A%26lt%3B%7C%26gt%3B%7C%26amp%3B%29%2Fi'
          2        SEND_VAL                                                 '%26lt%3Btomato%26gt%3B+has+this+%26amp%3B+that+powers'
          3        SEND_REF                                                 !0
          4        SEND_VAL                                                 256
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
216.51 ms | 1394 KiB | 17 Q