PHP¿ª·¢¹¤¾ß
Ò» Éè¼Æ¹¤¾ß
UML ºÍÏà¹ØÉè¼Æ¹¤¾ß
- Argo UML
UML»æͼ¹¤¾ß£¬Ö§³ÖPHP stubÉú³É¡£ (commercial spin off is Posideon) –Java±àд¡£
- Umbrello UML
UML»æͼ¹¤¾ß£¬Ö§³ÖPHP stubÉú³É¡£ ÐèÒªUnix / KDE¡£
- Dia
Ö§³ÖUML µÄ»æͼ¹¤¾ß -ʹÓÃAutoDia Éú³ÉPHP¡£
- XMI 2 PHP
´ÓXMIÎĵµÉú³ÉPHP´úÂ룬ÓÃXMLÃèÊöUMLµÄÒ»ÖÖÐÎʽ¡£
¶þ ±àÂ빤¾ß
ÍƼöµÄ IDE / ±à¼Æ÷
- PHP Eclipse
Eclipse IDEµÄPHP²å¼þ
- PHP Edit
¿ÉÄÜÊÇWindowsÏÂ×îºÃµÄÃâ·ÑIDEÁË
- JEdit
Ö§³ÖPHPµÄIDE (plus loads more)¡£Java±àд£¬ËùÒÔƽ̨¶ÀÁ¢¡£
- Jext
JEditµÄÂÏÉúÐֵܡ£
- gPHPEdit
Gnome / LinuxÏÂ×îºÃµÄ£¨£¿£©PHP±à¼Æ÷¡£
- SciTE
¿çƽ̨±à¼Æ÷
- PHP Mode for Emacs
Unix EMACS IDEµÄPHP Mode
Èý ²âÊÔ¹¤¾ß
Debuggers ºÍProfilers
- XDebug (ÍƼö)
³öÉ«µÄ debugger ºÍprofiler À©Õ¹
- Advanced PHP Debugger
George Schlossnagle µÄdebugger
- PEAR::Benchmark
ÓÃPHPдµÄBenchmarking ºÍ profiling ¹¤¾ß
- DBG
PHP Debugger
µ¥Ôª²âÊÔ¿ò¼Ü
- Simple Test (ÍƼö)
¹ØÓÚmock objects³öÉ«µÄÎĵµºÍÖ§³Ö
- PEAR::PHPUnit
ËÄ ²¿Ê𹤾ß
¹¹½¨/²¿Ê𹤾ß
- PEAR Package Manager (ÍƼö)
ÔÊÐíÄã°²×°PEAR packages (ͨ¹ýÍøÂç) £¬»¹Äܽ«ÄãµÄ´úÂë´ò°üÓÃÓÚ°²×°¡£ÔÚÃüÁîÐÐÏÂÖ´ÐÐhttp://pear.php.net/go-pear ÔËÐС£PHP±àд¡£
- PEAR::PackageFileManager
×Ô¶¯Éú³ÉPackage ManagerʹÓõÄpackage.xml Îļþ¡£PHP±àд¡£
- Phing
PHPµÄ¹¹½¨¹¤¾ß£¬Ï൱ÓÚApache ANT¡£ÔÚ¹¹½¨´óÐÍÏîĿʱֵµÃÑо¿¡£ PHP±àд¡£
- ZZ/OSS Installer
»ùÓÚPHPµÄ°²×°Ïòµ¼£¬ÓÃÓÚרҵµÄPHPÄ£¿é»¯Ó¦Óõķ¢²¼¡£
¼ÓËÙÆ÷
- Turck MMCache (Ç¿ÁÒÍƼö)
¼¯³ÉOPCODE Cache£¬ script encoder£¬ profiler ºÍ¶¯Ì¬ÄÚÈÝ»º´æ(read persistence)ÓÚÒ»Ìå ¡£ÌṩWindows°æ±¾¡£
- PHP Accelerator (ÍƼö)
OPCODE Cache
Îå ¹ÜÀí¹¤¾ß
ÎĵµÉú³É¹¤¾ß
- phpDocumentor (ÍƼö)
ÓÃÔ´´úÂë×¢ÊÍÖÐÉú³ÉAPIÎĵµ£¨ÏñJavadoc£©¡£Êä³ö¿ÉÒÔ±»“Ä£°æ»¯”£¬»¹Ö§³Ö HTML£¬ PDFºÍ CHM¸ñʽ¡£PHP±àд¡£
- PHPXref (ÍƼö)
´´½¨Ô´´úÂëµÄ“½»²æÒýÓÔ£¬Ê¹ÄãÄܹ»¿´¼ûÒ»¸ö±äÁ¿/·½·¨/º¯ÊýÔÚÄÄÀïÉùÃ÷ÒÔ¼°ÔÚÄÄÀï±»ÒýÓá£Perl±àд¡£
°æ±¾¿ØÖƹ¤¾ß£¨´Ë²¿·ÖΪEasyÌí¼Ó£©
- CVS
¿ª·ÅÔ´´úÂëµÄ°æ±¾¿ØÖÆϵͳ£¬ºÜ¶à´óÐÍÏîÄ¿£¬°üÀ¨PHP±¾Éí£¬¶¼ÓÃ
Ïà¹ØÎĵµ£º
EClipse for PHP ÖÐÎÄÂÒÂëÎÊÌâ
UTF-8 ¸ñʽµÄphp,ÖÐÎĶ¼ÊÇÂÒÂë.
Èç¹û´ËʱÔÚEClipseÖÐÊäÈëÖÐÎÄ»áÓÐ CP1252 ´íÎó( CP1252²»Ö§³Öxxxx )
½â¾ö·½·¨:
windows->preferences->general ´ò¿ªµã»÷workspace ´ËʱÓÒ²à³öÏÖtext file encoding¾ÍÊÇÎı¾±àÂë default cp1252 µã»÷other ÏÂÀ²Ëµ¥ Ñ¡ÔñUTF-8 Ñ¡Ôñ¼´¿É±àÒë ......
<FORM METHOD=POST ACTION="#">
<INPUT TYPE="text" NAME="name">
<INPUT TYPE="submit" value="query" name="sub">
</FORM>
<?php
function getinitial($str)
{
$asc=ord(substr($str,0,1)); //ord()»ñÈ¡ASCII
if ($asc<160) //·ÇÖÐÎÄ
{
if ($asc>=48 ......
ÔÚPHPÖÐʹÓÃÍ·Îļþ£¬»áÉæ¼°Á½¸öº¯Êý£ºinclude()ºÍrequire()¡£ÕâÁ½¸öº¯Êý²î±ðºÜС£¬È´ºÜÖØÒª£¬ËùÒÔÎÒÃÇÒªÈÏÕæÑо¿Ò»Ï¡£
require()º¯Êý¹¤×÷·½Ê½ÓëXSSIÏàÀàËÆ£»²»¹ÜÔÚ³ÌÐòµÄÄĸö²¿·ÖʹÓÃÁËÕâ¸öº¯Êý£¬Ö»ÓгÌÐòÒ»¿ªÊ¼ÔËÐУ¬Í·ÎļþµÄÄÚÈݾͱ»×÷Ϊ³ÌÐò±¾ÉíµÄÒ»²¿·ÖÀ´´¦
Àí¡£Òò´Ë£¬Èç¹ûÄúÔÚÒ»¸öÌõ¼þÅж¨Óï¾äÖÐʹÓÃÁËrequire()º¯Ê ......
½ñÌìÍ·ÄÔÒ»ÈÈ£¬Ïë¿´Ò»ÏÂÒ³ÃæÔÚÖ´ÐеĹý³ÌÖÐÕ¼ÓÃÁ˶àÉÙÄڴ棬ÎÒÒ²²»ÖªµÀÕâÑù×öµÄÄ¿µÄÊÇʲô£¬¿ÉÄÜÊdzöÓÚÎҵĹßÐÔ˼ά°É¡£²»¹ýÕâÑù×öÒ²²»ÊÇÍêȫûÓã¬
Äã¿ÉÒÔÇå³þµÄÖªµÀÄÄЩҳÃæÕ¼ÓõÄÄÚ´æ±È½Ï¶à£¬ÌرðÊǶÔÓÚʹÓù²ÓÃÖ÷»úµÄÍøÕ¾£¬Ò»°ã¿Õ¼äÉ̶¼»áÏÞÖÆÿ¸öÍøÕ¾µÄ×ÊÔ´Õ¼ÓÃÇé¿öµÄ£¨°üÀ¨cpuºÍÄڴ棩¡£ÍòÒ»ÔÚÎÒ
ÃDz»ÖªµÀµÄÇé¿öÏ£ ......