3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '/[^A-Za-z0-9 \r\n@£$¥èéùìòÇØøÅå\x\{0394\}\x\{03A6\}\x\{0393\}\x\{039B\}\x\{03A9\}\x\{03A0\}\x\{03A8\}\x\{03A3\}\x\{0398\}\x\{039E\}ÆæßÉ!"#$%&amp;\'()*+,\-.\/:;<>&lt;=&gt;?¡ÄÖÑܧ¿äöñüà^{}\\\[~\]|\x\{20AC\}]+/'; $data = 'asdf‘‼asdf'; $tmp = []; $result = preg_match_all($x,$data,$tmp,PREG_OFFSET_CAPTURE); var_dump($tmp); $z = $tmp[0][1]; #$z = utf8_encode($z); #$z = iconv(mb_detect_encoding($z, mb_detect_order(), true), "UTF-8", $z); #var_dump(mb_detect_encoding($data)); #var_dump(ord($z));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YAUsP
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x, !1 = $data, !2 = $tmp, !3 = $result, !4 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%5B%5EA-Za-z0-9+%5Cr%5Cn%40%C2%A3%24%C2%A5%C3%A8%C3%A9%C3%B9%C3%AC%C3%B2%C3%87%C3%98%C3%B8%C3%85%C3%A5%5Cx%5C%7B0394%5C%7D%5Cx%5C%7B03A6%5C%7D%5Cx%5C%7B0393%5C%7D%5Cx%5C%7B039B%5C%7D%5Cx%5C%7B03A9%5C%7D%5Cx%5C%7B03A0%5C%7D%5Cx%5C%7B03A8%5C%7D%5Cx%5C%7B03A3%5C%7D%5Cx%5C%7B0398%5C%7D%5Cx%5C%7B039E%5C%7D%C3%86%C3%A6%C3%9F%C3%89%21%22%23%24%25%26amp%3B%27%28%29%2A%2B%2C%5C-.%5C%2F%3A%3B%3C%3E%26lt%3B%3D%26gt%3B%3F%C2%A1%C3%84%C3%96%C3%91%C3%9C%C2%A7%C2%BF%C3%A4%C3%B6%C3%B1%C3%BC%C3%A0%5E%7B%7D%5C%5C%5B%7E%5C%5D%7C%5Cx%5C%7B20AC%5C%7D%5D%2B%2F'
    4     1        ASSIGN                                                   !1, 'asdf%E2%80%98%E2%80%BCasdf'
    5     2        ASSIGN                                                   !2, <array>
    6     3        INIT_FCALL                                               'preg_match_all'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        SEND_VAL                                                 256
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !3, $8
    7    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
    8    13        FETCH_DIM_R                                      ~11     !2, 0
         14        FETCH_DIM_R                                      ~12     ~11, 1
         15        ASSIGN                                                   !4, ~12
   16    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.98 ms | 1395 KiB | 17 Q