3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = 'Just gonna say sum stuff hare so ya just rolll wid itt. Yo.'; if (strlen(preg_replace('/\\s/si','',$message)) < 30 || preg_match('/(.)\1{6}/si',strtolower($message)) || preg_match('/(.{2})\1{3}/si',strtolower($message)) || preg_match('/(.+)\1{2}/si',strtolower($message))) { echo 'test'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 17
Branch analysis from position: 9
2 jumps found. (Code = 47) Position 1 = 18, Position 2 = 26
Branch analysis from position: 18
2 jumps found. (Code = 47) Position 1 = 27, Position 2 = 35
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 37
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
Branch analysis from position: 35
Branch analysis from position: 26
Branch analysis from position: 17
filename:       /in/ArfiR
function name:  (null)
number of ops:  38
compiled vars:  !0 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Just+gonna+say+sum+stuff+hare+so+ya+just+rolll+wid+itt.++Yo.'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5Cs%2Fsi'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        STRLEN                                           ~3      $2
          7        IS_SMALLER                                       ~4      ~3, 30
          8      > JMPNZ_EX                                         ~4      ~4, ->17
    4     9    >   INIT_FCALL                                               'preg_match'
         10        SEND_VAL                                                 '%2F%28.%29%5C1%7B6%7D%2Fsi'
         11        INIT_FCALL                                               'strtolower'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                         $6      
         16        BOOL                                             ~4      $6
         17    > > JMPNZ_EX                                         ~4      ~4, ->26
    5    18    >   INIT_FCALL                                               'preg_match'
         19        SEND_VAL                                                 '%2F%28.%7B2%7D%29%5C1%7B3%7D%2Fsi'
         20        INIT_FCALL                                               'strtolower'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $7      
         23        SEND_VAR                                                 $7
         24        DO_ICALL                                         $8      
         25        BOOL                                             ~4      $8
         26    > > JMPNZ_EX                                         ~4      ~4, ->35
    6    27    >   INIT_FCALL                                               'preg_match'
         28        SEND_VAL                                                 '%2F%28.%2B%29%5C1%7B2%7D%2Fsi'
         29        INIT_FCALL                                               'strtolower'
         30        SEND_VAR                                                 !0
         31        DO_ICALL                                         $9      
         32        SEND_VAR                                                 $9
         33        DO_ICALL                                         $10     
         34        BOOL                                             ~4      $10
         35    > > JMPZ                                                     ~4, ->37
    7    36    >   ECHO                                                     'test'
    8    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.99 ms | 1404 KiB | 19 Q