3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'grjqgbqgrqg0 38975893240- http://www.gg.pl/afa31f312u34b151j5b1598139189 245673256786746545678987654'; $adNr = preg_replace('#http://www.gg.pl/[^\s]+#', 'cutted', $msg); echo $adNr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9G8T0
function name:  (null)
number of ops:  9
compiled vars:  !0 = $msg, !1 = $adNr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'grjqgbqgrqg0+38975893240-+http%3A%2F%2Fwww.gg.pl%2Fafa31f312u34b151j5b1598139189+245673256786746545678987654'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23http%3A%2F%2Fwww.gg.pl%2F%5B%5E%5Cs%5D%2B%23'
          3        SEND_VAL                                                 'cutted'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    8     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.01 ms | 1394 KiB | 15 Q