3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domains = [ 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsF', 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsFD', '', ' ', ]; foreach ($domains as $domain) { echo sprintf( "Input: %s\nOutput: %s\n\n", var_export($domain, true), var_export(filter_var($domain,FILTER_VALIDATE_DOMAIN), true), ); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 22
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 22
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/fPUjL
function name:  (null)
number of ops:  24
compiled vars:  !0 = $domains, !1 = $domain
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1      > FE_RESET_R                                       $3      !0, ->22
          2    > > FE_FETCH_R                                               $3, !1, ->22
   11     3    >   INIT_FCALL                                               'sprintf'
   12     4        SEND_VAL                                                 'Input%3A+%25s%0AOutput%3A+%25s%0A%0A'
   13     5        INIT_FCALL                                               'var_export'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
   14    10        INIT_FCALL                                               'var_export'
         11        INIT_FCALL                                               'filter_var'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 277
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
   11    19        DO_ICALL                                         $7      
   14    20        ECHO                                                     $7
   10    21      > JMP                                                      ->2
         22    >   FE_FREE                                                  $3
   16    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.63 ms | 1007 KiB | 16 Q