3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = "clifton@example.com"; //Note the .com added echo "PHP Version: ".phpversion().'<br>'; if(filter_var($email, FILTER_VALIDATE_EMAIL)){ echo $email.'<br>'; var_dump(filter_var($email, FILTER_VALIDATE_EMAIL)); }else{ var_dump(filter_var($email, FILTER_VALIDATE_EMAIL)); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 21
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6Zbg
function name:  (null)
number of ops:  29
compiled vars:  !0 = $email
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'clifton%40example.com'
    3     1        INIT_FCALL                                               'phpversion'
          2        DO_ICALL                                         $2      
          3        CONCAT                                           ~3      'PHP+Version%3A+', $2
          4        CONCAT                                           ~4      ~3, '%3Cbr%3E'
          5        ECHO                                                     ~4
    4     6        INIT_FCALL                                               'filter_var'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 274
          9        DO_ICALL                                         $5      
         10      > JMPZ                                                     $5, ->21
    5    11    >   CONCAT                                           ~6      !0, '%3Cbr%3E'
         12        ECHO                                                     ~6
    6    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'filter_var'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 274
         17        DO_ICALL                                         $7      
         18        SEND_VAR                                                 $7
         19        DO_ICALL                                                 
         20      > JMP                                                      ->28
    8    21    >   INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'filter_var'
         23        SEND_VAR                                                 !0
         24        SEND_VAL                                                 274
         25        DO_ICALL                                         $9      
         26        SEND_VAR                                                 $9
         27        DO_ICALL                                                 
   10    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.91 ms | 1395 KiB | 19 Q