3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keyword = array('AV女星','色诱','偷拍','走光','露点','全裸','女优','强奸','SM','三级'); echo microtime(); foreach($keyword as $key) { if (strpos('站和主要商业网站要树立正确办网导', $key) !== false) { break; } } echo microtime(); echo preg_match("/AV女星|色诱|偷拍|走光|露点|全裸|女优|强奸|SM|三级/", '站和主要商业网站要树立正确办网导'); echo microtime();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
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 = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 14
Branch analysis from position: 14
filename:       /in/25lUn
function name:  (null)
number of ops:  27
compiled vars:  !0 = $keyword, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'microtime'
          2        DO_ICALL                                         $3      
          3        ECHO                                                     $3
    6     4      > FE_RESET_R                                       $4      !0, ->14
          5    > > FE_FETCH_R                                               $4, !1, ->14
    7     6    >   INIT_FCALL                                               'strpos'
          7        SEND_VAL                                                 '%E7%AB%99%E5%92%8C%E4%B8%BB%E8%A6%81%E5%95%86%E4%B8%9A%E7%BD%91%E7%AB%99%E8%A6%81%E6%A0%91%E7%AB%8B%E6%AD%A3%E7%A1%AE%E5%8A%9E%E7%BD%91%E5%AF%BC'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $5      
         10        TYPE_CHECK                                  1018          $5
         11      > JMPZ                                                     ~6, ->13
    8    12    > > JMP                                                      ->14
    6    13    > > JMP                                                      ->5
         14    >   FE_FREE                                                  $4
   12    15        INIT_FCALL                                               'microtime'
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
   14    18        INIT_FCALL                                               'preg_match'
         19        SEND_VAL                                                 '%2FAV%E5%A5%B3%E6%98%9F%7C%E8%89%B2%E8%AF%B1%7C%E5%81%B7%E6%8B%8D%7C%E8%B5%B0%E5%85%89%7C%E9%9C%B2%E7%82%B9%7C%E5%85%A8%E8%A3%B8%7C%E5%A5%B3%E4%BC%98%7C%E5%BC%BA%E5%A5%B8%7CSM%7C%E4%B8%89%E7%BA%A7%2F'
         20        SEND_VAL                                                 '%E7%AB%99%E5%92%8C%E4%B8%BB%E8%A6%81%E5%95%86%E4%B8%9A%E7%BD%91%E7%AB%99%E8%A6%81%E6%A0%91%E7%AB%8B%E6%AD%A3%E7%A1%AE%E5%8A%9E%E7%BD%91%E5%AF%BC'
         21        DO_ICALL                                         $8      
         22        ECHO                                                     $8
   16    23        INIT_FCALL                                               'microtime'
         24        DO_ICALL                                         $9      
         25        ECHO                                                     $9
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.01 ms | 1396 KiB | 19 Q