3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '127.0.0.1 - - [08/Dec/2015:13:39:52 +0800] "GET /static/img/demo/av1.jpg?eventCode=pv&pageId=40119E07-6F56-4007-8C95-6F7533F11A86&siteId=1&referrer=http%3A%2F%2Ff.iqiyi.com%2F&url=http%3A%2F%2Fstar.haibao.com%2Farticle%2F2214845.htm&userId=0&unRegUserId=B178F3C8-02A8-428C-B466-265B8A2AD8C0 HTTP/1.1" 200 2110 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36"'; print_r(explode(' ', $str)); $p = '/^(\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})\s-\s(.*)\s\[(.*)\]\s"(.*)\"\s(\d{3})\s(\d+)\s"(.*)"\s\"(.*)\"(.*)$/u'; preg_match($p,$str,$a_match); print_r($a_match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cnjYi
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $p, !2 = $a_match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '127.0.0.1+-+-+%5B08%2FDec%2F2015%3A13%3A39%3A52+%2B0800%5D+%22GET+%2Fstatic%2Fimg%2Fdemo%2Fav1.jpg%3FeventCode%3Dpv%26pageId%3D40119E07-6F56-4007-8C95-6F7533F11A86%26siteId%3D1%26referrer%3Dhttp%253A%252F%252Ff.iqiyi.com%252F%26url%3Dhttp%253A%252F%252Fstar.haibao.com%252Farticle%252F2214845.htm%26userId%3D0%26unRegUserId%3DB178F3C8-02A8-428C-B466-265B8A2AD8C0+HTTP%2F1.1%22+200+2110+%22-%22+%22Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F46.0.2490.71+Safari%2F537.36%22'
    3     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '+'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                                 
    5     8        ASSIGN                                                   !1, '%2F%5E%28%5Cd%7B1%2C3%7D.%5Cd%7B1%2C3%7D.%5Cd%7B1%2C3%7D.%5Cd%7B1%2C3%7D%29%5Cs-%5Cs%28.%2A%29%5Cs%5C%5B%28.%2A%29%5C%5D%5Cs%22%28.%2A%29%5C%22%5Cs%28%5Cd%7B3%7D%29%5Cs%28%5Cd%2B%29%5Cs%22%28.%2A%29%22%5Cs%5C%22%28.%2A%29%5C%22%28.%2A%29%24%2Fu'
    7     9        INIT_FCALL                                               'preg_match'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !0
         12        SEND_REF                                                 !2
         13        DO_ICALL                                                 
    8    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.18 ms | 1395 KiB | 19 Q