3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = [ "john.doe@example.com", "john.doe@example.com", "john.doe@example.com", "john.doe@example.com", "john.doe@example.com", "john.doe@example.com", ]; if (filter_var($email, FILTER_VALIDATE_EMAIL)) { echo("$email is a valid email address"); } else { echo("$email is not a valid email address"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
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: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoqnT
function name:  (null)
number of ops:  14
compiled vars:  !0 = $emails, !1 = $email
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !1
          3        SEND_VAL                                                 274
          4        DO_ICALL                                         $3      
          5      > JMPZ                                                     $3, ->10
   13     6    >   NOP                                                      
          7        FAST_CONCAT                                      ~4      !1, '+is+a+valid+email+address'
          8        ECHO                                                     ~4
          9      > JMP                                                      ->13
   15    10    >   NOP                                                      
         11        FAST_CONCAT                                      ~5      !1, '+is+not+a+valid+email+address'
         12        ECHO                                                     ~5
   16    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.1 ms | 1398 KiB | 15 Q