3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email_a = "test@123.nl"; $email_b = "test"; if(filter_var($email_a, FILTER_VALIDATE_EMAIL)) { echo "$email_a is correct."; } else { echo "foutief emailadres"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FZI1v
function name:  (null)
number of ops:  14
compiled vars:  !0 = $email_a, !1 = $email_b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'test%40123.nl'
    4     1        ASSIGN                                                   !1, 'test'
    6     2        INIT_FCALL                                               'filter_var'
          3        SEND_VAR                                                 !0
          4        FETCH_CONSTANT                                   ~4      '%C2%A0FILTER_VALIDATE_EMAIL'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7      > JMPZ                                                     $5, ->12
    7     8    >   NOP                                                      
          9        FAST_CONCAT                                      ~6      !0, '+is+correct.'
         10        ECHO                                                     ~6
         11      > JMP                                                      ->13
    9    12    >   ECHO                                                     'foutief+emailadres'
   12    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.54 ms | 1398 KiB | 15 Q