50¸ö·Ç³£ÓÐÓõÄPHP¹¤¾ß
PHPÊÇʹÓÃ×îΪ¹ã·ºµÄ¿ªÔ´·þÎñÆ÷¶Ë½Å±¾ÓïÑÔÖ®Ò»£¬µ±È»PHP²¢
²»ÊÇËÙ¶È×î¿ì
µÄ£¬µ«ËüÈ´ÊÇ
×î³£ÓõĽű¾ÓïÑÔ
¡£ÕâÀïÓÐ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
£ºÑéÖ¤Â빤¾ß¡£
Scavenger
PHP-IDS
Pixy
£º´úÂë¼ì²é¹¤¾ß¡£
ͼÐδ¦Àí
PHP/SWF Charts
pChart - a chart-drawing PHP library
WideImage
MagickWand For PHP
´úÂëÓÅ»¯
PHP_Beautifier
PHPCodeBeautifier
GeSHi - Generic Syntax Highlighter
°æ±¾¿ØÖÆϵͳ
Phing
xinc
ÓÐÓõÄÍØÕ¹£¬Ê¹Óù¤¾ßºÍÀà
SimplePie
£ºPHP RSS ½âÎö³ÌÐò
HTML Purifier
£º¿ÉÒÔÓÃÀ´ÒƳýËùÓжñÒâ´úÂë(XSS)£¬¶øÇÒ»¹ÄÜÈ·±£ÄãµÄÒ³Ãæ×ñÑW3CµÄ±ê×¼¹æ·¶¡£
TCPDF
£ºÒ»¸öÓÃÓÚ¿ìËÙÉú³ÉPDFÎļþµÄPHP5º¯Êý°ü¡£
htmlSQL
£ºÒ»¸öÊÇÄã¿ÉÒÔ·½±ãµÄ¶ÔHTMLºÍXMLÄÚÈÝ·½±ãµÄʹÓÃÀàËÆSQLÓï¾ä½øÐмìË÷µÄPHPÀà¡£
The Greatest PHP Snippet File Ever (Using Quicktext for Notepad++)
Creole
£ºÓÃPHP5±àд£¬ ÊÇÒ»¸ö»ùÓÚÕæÕýÒâÒåµÄOOµÄ²ã£¬API½Ó¿ÚÒÔJDBCΪ»ù´¡¡£
PHPLinq
£ºÓÃSQLÓï·¨²Ù×÷PHPÊý×é¡£
PHPMathPublisher
£º×÷ÕßÊÇһλ·¨¹úÖÐѧÊýѧÀÏʦ¡£
phpMyAdmin
£º¿ÉÒÔͨ¹ý»¥ÁªÍøÔÚÏß¿ØÖƺͲÙ×÷MySQL¡£
PHPExcel
£ºÏ൱ǿ´óµÄMS Office Excel ÎĵµÉú³ÉÀà¿â¡£
Phormer
:Ò»¸öÇáÁ¿¼¶£¬Ç¿´óµÄPHPÔÚÏßÏà²á¡£
xajax PHP Class Library
:Ò»¸ö¿ªÔ´µÄPHP
Àà¿â£¬ÓÃÀ´¹¹½¨WEBÉϵÄAjax
³ÌÐò¡£
PHP User Class
£ºÓû§¹ÜÀí¡£
PHP-GTK
£ºÎªÁËÖ¤Ã÷PHPÊÇÒ»ÖÖÔ¶Ô¶³¬Ô½ÍøÂçÓ¦ÓóÌÐòµÄÓÐЧµÄ¹¤¾ß¶ø¿ª·¢µÄ¡£Ê¹ÓÃPHP-GTK
Äã¿ÉÒÔ½¨Á¢¶ÀÁ¢µÄGUI£¨Óû§Í¼ÐνçÃ棩ӦÓóÌÐò¡£
ÔÚÏß¹¤¾ßºÍ×ÊÔ´
Minify!
£ºÊ¹Óà PHP5 ¿ª·¢µÄÓÃÓںϲ¢Ñ¹Ëõ js/css ÎļþµÄÓ¦ÓóÌÐò¡£ºÏ²¢Ñ¹ËõÖ®ºóµÄ½á¹û¿Éͨ¹ý HTTP gzip/deflate ¼°Ò»Ð©Ïà¹ØÍ·£¬ÓÅ»¯¿Í»§¶Ë»º´æ¡£
HTTP_StaticMerger
£º×Ô¶¯“ºÏ²¢”CSSºÍJavaScriptÎļþ¡£
PHP Object Generator
£ºÒ»¸ö¿ªÔ´µÄ
Ïà¹ØÎĵµ£º
ÀࣨClass£©£ºÊÇһЩ±äÁ¿ÓëһЩʹÓÃÕâЩ±äÁ¿µÄº¯ÊýµÄ¼¯ºÏ¡£
¿É¼òµ¥Àí½âΪº¯ÊýºÍ±äÁ¿µÄ¼¯ºÏ£¬»ò±äÁ¿ºÍº¯ÊýµÄ¶¨ÒåµÄ¼¯ºÏ¡£
Óï·¨ÊÇ£º
class Class_name //Ï°¹ßÉÏÀàµÄµÚÒ»¸ö×Ö·ûΪ´óд£¬²¢ÇÒ±ØÐë·ûºÏ±äÁ¿µÄÃüÃû¹æÔò¡£
{
//º¯ÊýÓë±äÁ¿µÄ¼¯ºÏ(һЩ±äÁ¿(Àà³ÉÔ±)ºÍº¯Êý(ÐÐΪ·½·¨)µÄ¶¨Òå)¡£
}
Êý¾Ý³ÉÔ±(±äÁ¿)ÔÚÀ ......
<?php
$host = "www.abc.com"; //ÄãÒª·ÃÎʵÄÓòÃû
$target = "/test.asp"; //ÄãÒª·ÃÎʵÄÒ³ÃæµØÖ·
$referer = "http://www.abcdefg.com/abc.html"; //αÔìÀ´Â·Ò³Ãæ
$fp = fsockopen($host, 80, $errno, $errstr, 30);
if (!$fp){
echo "$errstr($errno)<br />\n";
} ......
º¯ÊýµÄÒýÓ÷µ»Ø
ÏÈ¿´´úÂë ¸´ÖÆPHPÄÚÈݵ½¼ôÌù°å
PHP´úÂë:
function &test()
{
static $b=0;//ÉêÃ÷Ò»¸ö¾²Ì¬±äÁ¿
$b=$b+1;
echo $b;
return $b;
}
$a=test();//ÕâÌõÓï¾ä»áÊä³ö¡¡$bµÄÖµ¡¡Îª£±
$a=5;
$a=test();//ÕâÌõÓï¾ä»áÊä³ö¡¡$bµÄÖµ¡¡Îª2
$a=&test();//ÕâÌõÓï¾ä»áÊä³ö¡¡$bµÄÖµ¡¡Îª3
$a=5;
$a=test( ......
phpÅäÖÃÌ«¸´ÔÓÁË,×òÌìÍíÉÏÅäÖÃÁË°ëÌ컹ûÓгɹ¦!²»µÃ²»Ñ°Çó¸ü¼òµ¥µÄ½â¾ö·½·¨:WampServer 5 ¼¯³É»·¾³
Wamp5ÊÇApache+PHP+Mysql ÔÚWindowsϵļ¯³É»·¾³£¬ÓµÓмòµ¥µÄͼÐκÍ
²Ëµ¥°²×°¡£¸Ã°æ±¾¼¯³ÉÁËPHP5.2.5 Mysql5 Apache2 phpMyAdmin 2.11.2.1
SQLiteManager 1.2.0 ÂúÁ˴󲿷ÖPHPerµÄÐèÇó.
´ÓÓï·¨ÉÏ¿´£¬PHPÓïÑÔ½üËÆÓÚCÓï ......
PHP»ù±¾Óï·¨ºÍÊý¾ÝÀàÐÍ£º
£¨1£©¡¢PHP»ù±¾Óï·¨£º
1¡¢htm ºÍ php »ì±à
2¡¢Ò»¸öÓï¾äÒÔ ; (·ÖºÅ½áÊø)
3¡¢ÈçºÎ¶¨ÒåÒ»¸ö±äÁ¿£¬ºÍ±äÁ¿µÄʹÓÃ
(2)PHPÊý¾ÝÔËËãÀàÐÍ
ËÄÖÖ±êÁ¿ÀàÐÍ£º
boolean£¨²¼¶ûÐÍ£© Àí½âΪÕæ¼ÙÐÍ
integer£¨ÕûÐÍ£©
float£¨¸¡µãÐÍ£¬Ò²×÷ ......