3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "<title>Test Title</title>"; echo $str; preg_match('/<.*?>/', $str, $match); print_r($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TinEv
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ctitle%3ETest+Title%3C%2Ftitle%3E'
    5     1        ECHO                                                     !0
    7     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%3C.%2A%3F%3E%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.37 ms | 1385 KiB | 17 Q