<?php
$String = "qs58DDD96*34EWS(34 qqqqqqqqss qqqqqqqqsss qqqqqqqqss desd";
preg_match("/^q{0,5}s{0,5}/", $String, $Z);
var_dump($Z);
exit;
/*
* SecureLabs Project, 2012-Alfa.
* CLOSED TESTING ONLY!
*
* Enercom Labs 2010-2012 (c) www.fileimg.ru/en/
*
* This file is general controller of system.
* Any outside changes can be detected as hacker's
* attack attempt. This file marked as self-protected,
* system class 0-1: self-recovering, full rights (SYSTEM-SYS).
*
* Information about this file:
*
* @name securelab-main.php
* @class CLASS0-1
* @rigts 1: Full on SYSTEM-SYS
* @add self-protected;self-copying;self-secured;self-restoring
* @package Secure Lab PHP Lib
* @author Alexander Belov (c), Enercom Labs
* @destrib Enercom Labs 2010-2012 (c)
* @support www.fileimg.ru/support:en-securelab-phplib
* @ver from 11.02.2012
*/
class SLConfiguration {
// Data storage
private $ErrorsIDs;
private $ErrorsActionsIDs;
private $ErrorHandlersIDs;
// Part of self-started construction function
public function ReportNewError($ErrorIDorName, $ErrorType, $ErrorAllowIgnore = 0, $ErrorUseUndefaultSkin = 1) {
echo 1;
}
}
SLErrorReporter::ReportNewError(0,0);
?>