3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'grjqgbqgrqg0 38975893240- http://www.gg.pl/afa31f312u34b151j5b1598139189 245673256786746545678987654'; $adNr = preg_replace_callback('#http://www.gg.pl/[^\s]+#', function($ma) {}, $msg); echo $adNr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3ffoT
function name:  (null)
number of ops:  10
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_callback'
          2        SEND_VAL                                                 '%23http%3A%2F%2Fwww.gg.pl%2F%5B%5E%5Cs%5D%2B%23'
          3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F3ffoT%3A5%240'
          4        SEND_VAL                                                 ~3
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    8     8        ECHO                                                     !1
          9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F3ffoT%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3ffoT
function name:  {closure}
number of ops:  2
compiled vars:  !0 = $ma
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F3ffoT%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.18 ms | 1386 KiB | 15 Q