3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exception ='word1|word3|word3|word4' ; $myword = 'a-unicode-statement-like-سلام' ; $m = preg_match("(?!('.$exception.')(.*))", $myword); print $m;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q7p6G
function name:  (null)
number of ops:  12
compiled vars:  !0 = $exception, !1 = $myword, !2 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'word1%7Cword3%7Cword3%7Cword4'
    4     1        ASSIGN                                                   !1, 'a-unicode-statement-like-%D8%B3%D9%84%D8%A7%D9%85'
    6     2        INIT_FCALL                                               'preg_match'
          3        ROPE_INIT                                     3  ~6      '%28%3F%21%28%27.'
          4        ROPE_ADD                                      1  ~6      ~6, !0
          5        ROPE_END                                      2  ~5      ~6, '.%27%29%28.%2A%29%29'
          6        SEND_VAL                                                 ~5
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !2, $8
    7    10        ECHO                                                     !2
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.92 ms | 1394 KiB | 15 Q