3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checker = new Spoofchecker(); $checker->setChecks(Spoofchecker::SINGLE_SCRIPT); if ($checker->isSuspicious("latin漢字"."ひらがな"."カタカナ"."@example.com")) { echo "spoof"; } else { echo "fine"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/88195
function name:  (null)
number of ops:  15
compiled vars:  !0 = $checker
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'Spoofchecker'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        INIT_METHOD_CALL                                         !0, 'setChecks'
          4        FETCH_CLASS_CONSTANT                             ~4      'Spoofchecker', 'SINGLE_SCRIPT'
          5        SEND_VAL_EX                                              ~4
          6        DO_FCALL                                      0          
    6     7        INIT_METHOD_CALL                                         !0, 'isSuspicious'
          8        SEND_VAL_EX                                              'latin%E6%BC%A2%E5%AD%97%E3%81%B2%E3%82%89%E3%81%8C%E3%81%AA%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A%40example.com'
          9        DO_FCALL                                      0  $6      
         10      > JMPZ                                                     $6, ->13
    7    11    >   ECHO                                                     'spoof'
         12      > JMP                                                      ->14
    9    13    >   ECHO                                                     'fine'
   10    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.55 ms | 1393 KiB | 13 Q