3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'http://localhost/bareos-webui/job/details/53135%0AYou%20have%20messages'; $somenumber = 3421; preg_match("'\d{1,99}(?=%)?'", $a, $matches); print_r($matches[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lOjVS
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $somenumber, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Flocalhost%2Fbareos-webui%2Fjob%2Fdetails%2F53135%250AYou%2520have%2520messages'
    4     1        ASSIGN                                                   !1, 3421
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%27%5Cd%7B1%2C99%7D%28%3F%3D%25%29%3F%27'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'print_r'
          8        FETCH_DIM_R                                      ~6      !2, 0
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.99 ms | 1385 KiB | 17 Q