3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pwd = 'fhtt21'; $pwd_cond1 = preg_match('/[0-9]/',$pwd); $pwd_cond2 = preg_match('/[!"#$%&\'()*+,-.\/:;<=>?@[\]^_{|}\`~]/',$pwd); if( ($pwd_cond1 OR $pwd_cond2) AND strlen($pwd) >= 8) echo 1; else echo 0;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
2 jumps found. (Code = 46) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 13
filename:       /in/2mOX4K
function name:  (null)
number of ops:  22
compiled vars:  !0 = $pwd, !1 = $pwd_cond1, !2 = $pwd_cond2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'fhtt21'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5B0-9%5D%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    5     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAL                                                 '%2F%5B%21%22%23%24%25%26%27%28%29%2A%2B%2C-.%5C%2F%3A%3B%3C%3D%3E%3F%40%5B%5C%5D%5E_%7B%7C%7D%5C%60%7E%5D%2F'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    7    11      > JMPNZ_EX                                         ~8      !1, ->13
         12    >   BOOL                                             ~8      !2
         13    > > JMPZ_EX                                          ~8      ~8, ->17
         14    >   STRLEN                                           ~9      !0
         15        IS_SMALLER_OR_EQUAL                              ~10     8, ~9
         16        BOOL                                             ~8      ~10
         17    > > JMPZ                                                     ~8, ->20
         18    >   ECHO                                                     1
         19      > JMP                                                      ->21
         20    >   ECHO                                                     0
         21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.77 ms | 1395 KiB | 15 Q