3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( !preg_match( '/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/', '"scr&ipt"@domain.com' ) ) { echo "This email address is considered valid."; }else { echo "fail"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cu9m6
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5E%5Ba-zA-Z0-9%21%23%24%25%26%27%2A%2B%5C%2F%3D%3F%5E_%60%7B%7C%7D%7E%5C.-%5D%2B%24%2F'
          2        SEND_VAL                                                 '%22scr%26ipt%22%40domain.com'
          3        DO_ICALL                                         $0      
          4        BOOL_NOT                                         ~1      $0
          5      > JMPZ                                                     ~1, ->8
    2     6    >   ECHO                                                     'This+email+address+is+considered+valid.'
          7      > JMP                                                      ->9
    5     8    >   ECHO                                                     'fail'
    6     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.96 ms | 1394 KiB | 15 Q