3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = filter_var('bobe@xample.com', FILTER_VALIDATE_EMAIL); var_dump(filter_var('bobe@xample.com',FILTER_SANITIZE_EMAIL)); echo strlen($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PW17j
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'filter_var'
          1        SEND_VAL                                                 'bobe%40xample.com'
          2        SEND_VAL                                                 274
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    7     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'filter_var'
          7        SEND_VAL                                                 'bobe%40xample.com'
          8        SEND_VAL                                                 517
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                                 
    9    12        STRLEN                                           ~5      !0
         13        ECHO                                                     ~5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.77 ms | 1394 KiB | 17 Q