Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

BMH×Ó´®²éÕÒËã·¨(PHPʵÏÖ)

´úÂëinterface StringSearchable
{
    public function search($substring, $buffer);
}
class BoyerMooreStringSearch implements StringSearchable
{
    public $substring = null;
    public $buffer = '';
    public $jumpTable = array();
    protected $results = array();
    public function __construct()
    {    
        
    }
    public function __destruct()
    {
    }
    public function search($substring, $buffer)
    {    
        $this->results = array();
        $this->substring = $substring;
        $this->buffer = $buffer;
        $this->deriveJumpTable();
        
        $substringLen = strlen($this->substring);
        $currentCharIndex = $substringLen - 1;
        $bufferLen = strlen($this->buffer);
        while ($currentCharIndex < $bufferLen) {    
            for ($i = $substringLen - 1; $i >= 0; $i--) {
           &nb


Ïà¹ØÎĵµ£º

PclZip:Ç¿´óµÄPHPѹËõÓë½âѹËõzipÀà


PclZip¼ò½é
PclZipÊÇÒ»¸öºÜÇ¿´óµÄѹËõÓë½âѹËõzipÎļþµÄPHPÀ࣬PclZip libraryÄܹ»Ñ¹ËõÓë½âѹËõZip¸ñʽµÄѹËõµµ£¨WinZip¡¢PKZIP£©£»ÇÒÄܶԴËÀàÀ൵°¸½øÐд¦Àí£¬°üÀ¨²úÉúѹËõµµ¡¢ÁгöѹËõµµµÄÄÚÈÝÒÔ¼°½âѹËõµµ°¸µÈµÈ¡£
¼òµ¥¡¢Ò×Óá¢Ç¿´óÊÇÎÒ¶ÔËüµÄÆÀ¼Û¡£
×î½üÔÚ¿ª·¢ÎÒµÄWordpress²å¼þShareLink£¬ÔÚÕâ¹ý³ÌÖУ¬·¢ÏÖÁËPclZ ......

PHPѹËõÓë½âѹËõPCLZIP(±ê×¼°æ)

<?php
include_once('include/pclzip.lib.php');
$archive = new PclZip('archive.zip');
//½âѹËõµ½extract/folder/Õâ¸öĿ¼ÖÐ
$list = $archive->extract(PCLZIP_OPT_PATH, "extract/folder/");

//Ôö¼ÓÕâ¸öĿ¼ÔÚѹËõµµÖУ¬Íê³ÉÒÔºóѹËõµµÀïÃæ»áÓÐbackupÕâ¸öĿ¼£¬backupÀïÃæ»áÓÐÕâÁ½¸öµµ°¸ ......

php¿ª·¢50¸ö·Ç³£ÓÐÓõŤ¾ß¡¾×ª¡¿

ÕâÀï50¸öÓÐÒæµÄPHP¹¤¾ß£¬¿ÉÒÔ´ó´óÌá¸ßÄãµÄ±à³Ì¹¤×÷£º
µ÷ÊÔ¹¤¾ß
Webgrind
Xdebug
Gubed PHP Debugger
DBG
PHP_Debug
PHP_Dyn
MacGDBp
²âÊÔºÍÓÅ»¯¹¤¾ß
PHPUnit
SimpleTest
Selenium
PHP_CodeSniffer
dBug
PHP Profile Class
Îĵµ¹¤¾ß
phpDocumentor
PHP DOX
°²È«¹¤¾ß
Securimage
£ºÑéÖ¤Â빤¾ß¡£
Scave ......

php ÑéÖ¤Âë×ܽá

´úÂëÈçÏÂ:
    <?php
       /*   ÍøÕ¾ÑéÖ¤Âë³ÌÐò
        *   ÔËÐл·¾³£º PHP5.0.18 ϵ÷ÊÔͨ¹ý
        *   ÐèÒª gd2 ͼÐοâÖ§³Ö£¨PHP.INIÖÐ php_gd2.dll¿ªÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ