3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<!--BODY-->Thank you for enrolling for Invoice Gateway with Harry Cooper Supply Company<br /> <br /> To activate your Invoice Gateway account, please click the below link.<br /> <br /> If you cannot click this link, you should copy and paste this entire link into your browser or AOL address box and press enter.<br /> <br /> https://secure.billtrust.local/harrycooper/ig/signup/activate?t=12345BYCKCBJTVHPKU<!--ENDBODY-->'; $regex = "~t=(.*?)<!--ENDBODY-->~"; $output = preg_match_all($regex, $str, $matches); print_r($matches[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dGl3I
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $regex, !2 = $output, !3 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3C%21--BODY--%3EThank+you+for+enrolling+for+Invoice+Gateway+with+Harry+Cooper+Supply+Company%3Cbr+%2F%3E%0A%3Cbr+%2F%3E%0ATo+activate+your+Invoice+Gateway+account%2C+please+click+the+below+link.%3Cbr+%2F%3E%0A%3Cbr+%2F%3E%0AIf+you+cannot+click+this+link%2C+you+should+copy+and+paste+this+entire+link%0Ainto+your+browser+or+AOL+address+box+and+press+enter.%3Cbr+%2F%3E%0A%3Cbr+%2F%3E%0Ahttps%3A%2F%2Fsecure.billtrust.local%2Fharrycooper%2Fig%2Fsignup%2Factivate%3Ft%3D12345BYCKCBJTVHPKU%3C%21--ENDBODY--%3E'
   12     1        ASSIGN                                                   !1, '%7Et%3D%28.%2A%3F%29%3C%21--ENDBODY--%3E%7E'
   13     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !3
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
   15     8        INIT_FCALL                                               'print_r'
          9        FETCH_DIM_R                                      ~8      !3, 1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.01 ms | 1394 KiB | 17 Q