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;?¡ÄÖÑܧ¿äöñüà^{}\\\[~\]|\u20AC]+/'; #$x = preg_quote($x,'/'); #var_dump($x); $data = 'asdf‘‼'; $tmp = []; $result = preg_match($x,$data,$tmp); var_dump($result); var_dump($tmp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SBUUg
function name:  (null)
number of ops:  16
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%7B0394%7D%5Cx%7B03A6%7D%5Cx%7B0393%7D%5Cx%7B039B%7D%5Cx%7B03A9%7D%5Cx%7B03A0%7D%5Cx%7B03A8%7D%5Cx%7B03A3%7D%5Cx%7B0398%7D%5Cx%7B039E%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%5Cu20AC%5D%2B%2F'
    5     1        ASSIGN                                                   !1, 'asdf%E2%80%98%E2%80%BC'
    6     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'preg_match'
          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                                                 !3
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.21 ms | 1395 KiB | 17 Q