3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "http://ad.zanox.com/ppc/?22535376C937109894&ULP=[[?etf-name=Zanox%20-%20Flux&etf-prdref=0000011028nubuck%20kaki&eurl=http%3A%2F%2Fwww.sarenza.pl%2Fbirkenstock-madrid-flor-w-s780328-p0000011028]]"; //$t = stristr($s,"&eurl",true); //str_replace("[[","",stristr($t,"[[")); preg_match("/(prdref=)(.*?)(&eurl)/",$s,$match); var_dump($match); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7aYUJ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $s, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fad.zanox.com%2Fppc%2F%3F22535376C937109894%26ULP%3D%5B%5B%3Fetf-name%3DZanox%2520-%2520Flux%26etf-prdref%3D0000011028nubuck%2520kaki%26eurl%3Dhttp%253A%252F%252Fwww.sarenza.pl%252Fbirkenstock-madrid-flor-w-s780328-p0000011028%5D%5D'
    9     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%28prdref%3D%29%28.%2A%3F%29%28%26eurl%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   10     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
   13     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.19 ms | 1394 KiB | 17 Q