3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pswd = "AAppleCrab13!"; $specialChar= preg_match("/[!@#&*%]+/", $pswd); // at least one $numberChar= preg_match("/\d{2,}/", $pswd); //two or more digits $upperChar= preg_match("/[A-Z]{2,}/", $pswd); //two or more digits echo $specialChar . " " . $numberChar . " " . $upperChar;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WWf5q
function name:  (null)
number of ops:  22
compiled vars:  !0 = $pswd, !1 = $specialChar, !2 = $numberChar, !3 = $upperChar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'AAppleCrab13%21'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5B%21%40%23%26%2A%25%5D%2B%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    4     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAL                                                 '%2F%5Cd%7B2%2C%7D%2F'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
    5    11        INIT_FCALL                                               'preg_match'
         12        SEND_VAL                                                 '%2F%5BA-Z%5D%7B2%2C%7D%2F'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $9      
         15        ASSIGN                                                   !3, $9
    7    16        CONCAT                                           ~11     !1, '+'
         17        CONCAT                                           ~12     ~11, !2
         18        CONCAT                                           ~13     ~12, '+'
         19        CONCAT                                           ~14     ~13, !3
         20        ECHO                                                     ~14
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.64 ms | 1395 KiB | 15 Q