3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '/^[-a-zàáâãäåæçèéêëìíîïðñòóôõöøùúûüý€ß0-9%\s*.\'+\’\/"_,?#@:;^*!&() ]*$/i'; $value = 'hallo "welt"'; var_dump(preg_match($regex, $value) == 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n3RJ7
function name:  (null)
number of ops:  11
compiled vars:  !0 = $regex, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%5E%5B-a-z%C3%A0%C3%A1%C3%A2%C3%A3%C3%A4%C3%A5%C3%A6%C3%A7%C3%A8%C3%A9%C3%AA%C3%AB%C3%AC%C3%AD%C3%AE%C3%AF%C3%B0%C3%B1%C3%B2%C3%B3%C3%B4%C3%B5%C3%B6%C3%B8%C3%B9%C3%BA%C3%BB%C3%BC%C3%BD%E2%82%AC%C3%9F0-9%25%5Cs%2A.%27%2B%5C%E2%80%99%5C%2F%22_%2C%3F%23%40%3A%3B%5E%2A%21%26%28%29+%5D%2A%24%2Fi'
    3     1        ASSIGN                                                   !1, 'hallo+%22welt%22'
    4     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        IS_EQUAL                                         ~5      $4, 1
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.6 ms | 1385 KiB | 17 Q