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\}]+/g'; $data = 'asdf‘‼asdf'; $tmp = []; $result = mb_ereg($x,$data,$tmp); var_dump($tmp); /* $result = preg_match_all($x,$data,$tmp); var_dump($tmp); $z = $tmp[0][1]; $y = strpos($data,$z); $q = substr($data,$y,3); var_dump($q); */
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vg8XR
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x, !1 = $data, !2 = $tmp, !3 = $result
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%2Fg'
    4     1        ASSIGN                                                   !1, 'asdf%E2%80%98%E2%80%BCasdf'
    5     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'mb_ereg'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !3, $7
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
   17    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.78 ms | 1395 KiB | 17 Q