3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string ='85.25.236.97 - - [01/Mar/2017:06:27:05 +0100] "GET /_Resources/Static/Packages/Thirdparty.Solr/JavaScript/lib/jquery-1.10.2.min.js HTTP/1.1" 200 33139 "http://v4.api.apotheken.de/api/9d5b1f07-373b-ab6e-b4aa-d7caa1cdee71/news.html" "Mozilla/5.0 (X11; U; Linux Core i7-4980HQ; de; rv:32.0; compatible; JobboerseBot; http://www.jobboerse.com/bot.htm) Gecko/20100101 Firefox/38.0"'; $test = preg_replace("/(.*)(http:\/\/v4.api.apotheken.de\/api\/)/", "\\2", $string); echo $test;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HlYC2
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '85.25.236.97+-+-+%5B01%2FMar%2F2017%3A06%3A27%3A05+%2B0100%5D+%22GET+%2F_Resources%2FStatic%2FPackages%2FThirdparty.Solr%2FJavaScript%2Flib%2Fjquery-1.10.2.min.js+HTTP%2F1.1%22+200+33139+%22http%3A%2F%2Fv4.api.apotheken.de%2Fapi%2F9d5b1f07-373b-ab6e-b4aa-d7caa1cdee71%2Fnews.html%22+%22Mozilla%2F5.0+%28X11%3B+U%3B+Linux+Core+i7-4980HQ%3B+de%3B+rv%3A32.0%3B+compatible%3B+JobboerseBot%3B+http%3A%2F%2Fwww.jobboerse.com%2Fbot.htm%29+Gecko%2F20100101+Firefox%2F38.0%22'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%28.%2A%29%28http%3A%5C%2F%5C%2Fv4.api.apotheken.de%5C%2Fapi%5C%2F%29%2F'
          3        SEND_VAL                                                 '%5C2'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    7     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.73 ms | 1394 KiB | 15 Q