3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/plain'); $email = '"this is a valid address"@example.com'; $checked = filter_var($email, FILTER_VALIDATE_EMAIL); var_dump($email, $checked);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AAd1j
function name:  (null)
number of ops:  14
compiled vars:  !0 = $email, !1 = $checked
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, '%22this+is+a+valid+address%22%40example.com'
    5     4        INIT_FCALL                                               'filter_var'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 274
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.3 ms | 1385 KiB | 19 Q