3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = 'jasfjkdnjksdfnvv href="http://films.imhonet.ru/element/1341324/" ffr 3432 32 efwfrewqf ff3223423 href="http://imhonet.ru.vk.com/?w=wall-14483947_3270" vfsdvfvfsdv '; var_dump(preg_replace( '/(?<=href=["\'])([^"\'/]*?(?:\/\/)?[^"\'/]*?imhonet\.ru/?[^"\']*)/im',#'/(?<=href=["\'])([^"\']+i '$1?partner_id='.'142342314'.'&auth_hash='.'dsf34rt43ff34rt43r', $body));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UigS6
function name:  (null)
number of ops:  10
compiled vars:  !0 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'jasfjkdnjksdfnvv+href%3D%22http%3A%2F%2Ffilms.imhonet.ru%2Felement%2F1341324%2F%22+ffr+3432+32+efwfrewqf%0A%09ff3223423+href%3D%22http%3A%2F%2Fimhonet.ru.vk.com%2F%3Fw%3Dwall-14483947_3270%22%0Avfsdvfvfsdv%0A%0A'
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'preg_replace'
    8     3        SEND_VAL                                                 '%2F%28%3F%3C%3Dhref%3D%5B%22%27%5D%29%28%5B%5E%22%27%2F%5D%2A%3F%28%3F%3A%5C%2F%5C%2F%29%3F%5B%5E%22%27%2F%5D%2A%3Fimhonet%5C.ru%2F%3F%5B%5E%22%27%5D%2A%29%2Fim'
    9     4        SEND_VAL                                                 '%241%3Fpartner_id%3D142342314%26auth_hash%3Ddsf34rt43ff34rt43r'
   10     5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.99 ms | 1385 KiB | 17 Q