3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (array( 'localpart.ending.with.dot.@example.com', '(comment)localpart@example.com', '"this is v@lid!"@example.com', '"much.more unusual"@example.com', 'postbox@com', 'admin@mailserver1', '"()<>[]:,;@\\"\\\\!#$%&\'*+-/=?^_`{}| ~.a"@example.org', '" "@example.org', ) as $address) { echo "<p>$address is <b>".(filter_var($address, FILTER_VALIDATE_EMAIL) ? '' : 'not')." valid</b></p>\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 17
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 17
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/DfSCq
function name:  (null)
number of ops:  19
compiled vars:  !0 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $1      <array>, ->17
          1    > > FE_FETCH_R                                               $1, !0, ->17
   12     2    >   ROPE_INIT                                     3  ~3      '%3Cp%3E'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '+is+%3Cb%3E'
          5        INIT_FCALL                                               'filter_var'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 274
          8        DO_ICALL                                         $5      
          9      > JMPZ                                                     $5, ->12
         10    >   QM_ASSIGN                                        ~6      ''
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~6      'not'
         13    >   CONCAT                                           ~7      ~2, ~6
         14        CONCAT                                           ~8      ~7, '+valid%3C%2Fb%3E%3C%2Fp%3E%0A'
         15        ECHO                                                     ~8
    3    16      > JMP                                                      ->1
         17    >   FE_FREE                                                  $1
   14    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.89 ms | 1387 KiB | 15 Q