3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = "/(?<=href=\"mailto:)(.*)?(?=\")/"; $value = "<p><a href=\"mailto:archivio.statociv@comune.padova.it\">archivio.statociv@comune.padova.it</a>, <strong>pec</strong> <a href=\"mailto:statocivile@comune.padova.legalmail.it\">statocivile@comune.padova.legalmail.it</a></p>"; if (preg_match($re, $value, $matches)) { return $matches[1]; } return 'no match';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97d7f
function name:  (null)
number of ops:  12
compiled vars:  !0 = $re, !1 = $value, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%28%3F%3C%3Dhref%3D%22mailto%3A%29%28.%2A%29%3F%28%3F%3D%22%29%2F'
    4     1        ASSIGN                                                   !1, '%3Cp%3E%3Ca+href%3D%22mailto%3Aarchivio.statociv%40comune.padova.it%22%3Earchivio.statociv%40comune.padova.it%3C%2Fa%3E%2C+%3Cstrong%3Epec%3C%2Fstrong%3E+%3Ca+href%3D%22mailto%3Astatocivile%40comune.padova.legalmail.it%22%3Estatocivile%40comune.padova.legalmail.it%3C%2Fa%3E%3C%2Fp%3E'
    6     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                         $5      
          7      > JMPZ                                                     $5, ->10
    7     8    >   FETCH_DIM_R                                      ~6      !2, 1
          9      > RETURN                                                   ~6
   10    10    > > RETURN                                                   'no+match'
         11*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.09 ms | 1394 KiB | 15 Q