3v4l.org

run code in 300+ PHP versions simultaneously
<?php $extra = '<?xml version="1.0" encoding="UTF-8"?><prato>Nouvelle Cuisine</prato><coreg_3190_resposta>voyages</c'; $regex = '/3190_resposta>([^\<]*)/'; preg_match($extra, $regex, $match); print_r( [$match] );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/80Arc
function name:  (null)
number of ops:  12
compiled vars:  !0 = $extra, !1 = $regex, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Cprato%3ENouvelle+Cuisine%3C%2Fprato%3E%3Ccoreg_3190_resposta%3Evoyages%3C%2Fc'
    4     1        ASSIGN                                                   !1, '%2F3190_resposta%3E%28%5B%5E%5C%3C%5D%2A%29%2F'
    6     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'print_r'
          8        INIT_ARRAY                                       ~6      !2
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.22 ms | 1394 KiB | 17 Q