3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); $emails = [ "bob@example.com", "test@example.local", "invalidemail" ]; var_dump(filter_var($emails, FILTER_VALIDATE_EMAIL, FILTER_REQUIRE_ARRAY)); var_dump(filter_var($emails, FILTER_VALIDATE_EMAIL, '16777216'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fn513
function name:  (null)
number of ops:  18
compiled vars:  !0 = $emails
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                       !0, <array>
   11     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'filter_var'
          3        SEND_VAR                                                     !0
          4        SEND_VAL                                                     274
          5        SEND_VAL                                                     16777216
          6        DO_ICALL                                             $2      
          7        SEND_VAR                                                     $2
          8        DO_ICALL                                                     
   13     9        INIT_FCALL                                                   'var_dump'
         10        INIT_FCALL                                                   'filter_var'
         11        SEND_VAR                                                     !0
         12        SEND_VAL                                                     274
         13        SEND_VAL                                                     '16777216'
         14        DO_ICALL                                             $4      
         15        SEND_VAR                                                     $4
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.27 ms | 1765 KiB | 15 Q