ºÜºÃÓõÄphpÖ´ÐÐʱ¼ä·ÖÎö¹¤¾ßwebgrind
ÒÔǰ·ÖÎöxdebugÓõÄÊÇ£¨wincachegrind£©http://sourceforge.net/projects/wincachegrind/
ÏÖÔÚÖ±½Ó°²×°webgrindÀ´µ÷ÊÔËÙ¶È»á¸üºÃ
http://xdebug.org/
ÏÂÔØµØÖ·£º
Source:
xdebug 2.0.3
Windows modules:
PHP 5.1.2-5.1.7
PHP 5.2.1-5.2.6
PHP 5.3.0dev
windows
±à¼php.ini£¬ÏÈ×¢Ê͵ôzend£º
[Zend]
;zend_extension_ts = “D:\Xampp\php\zendOptimizer\lib\ZendExtensionManager.dll”
ÆôÓÃx-debug
[xdebug]
zend_extension_ts = “D:\Xampp\php\ext\php_xdebug-2.0.0-5.2.2.dll”;±ØÐëΪÍêÕû·¾¶
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir=”D:\Xampp\tmp\xdebug”
linux
°²×°xdebugÀ©Õ¹
sudo pecl install xdebug
±à¼php.ini£¬ÆôÓÃx-debug
[xdebug]
zend_extension_ts = “/usr/lib/php5/xdebug.so” ;±ØÐëΪÍêÕû·¾¶
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir=”/tmp”
webgrind
£¨http://code.google.com/p/webgrind/ £©
ÏÂÔØµØÖ·£ºhttp://webgrind.googlecode.com/files/webgrind-release-0.81.zip
ÏÂÔØwebgrind£¬½âѹËõµ½webĿ¼
Ê×ÏÈ·ÃÎÊÐèÒªÓÅ»¯µÄphp³ÌÐò£¬get/postÇëÇóÖмÓÈëXDEBUG_PROFILE
ÀýÈçinfo.php£¬http://localhost/info.php?XDEBUG_PROFILE
È»ºó·ÃÎÊ£ºhttp://localhost/webgrind/
ĬÈÏauto£¬¼´Îª¸Õ¸ÕÇëÇóµÄÎļþprofile£¬[update]£¡
³ÌÐò²»¼æÈÝIE£¨±¾»ú²âÊÔwinxp+ie6£©£¬Èç¹ûµãÁËupdateÖ®ºóºÁÎÞ·´Ó¦£¬ÇëʹÓÃfirefox¡£
Ïà¹ØÎĵµ£º
¡¡¡¡´Ó PHP 3 ¿ªÊ¼Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize£¬Ëü¿ÉÒÔ·½±ãµÄ±£´æÊý¾Ý·½±ãµÄ×ö³ÉCACHE£¬¶ø´æ´¢Ìå»ýÒ²±ÈXMLҪСµÄ¶à£¬Ëü½á¹¹Óë JS µÄ JSON ÏàÄâ£¬ÍøÉÏÓÐÒ»×éÓà JS Ä£Äâ serialize ʵÏֵķ½·¨£¬Ê¹ÓÃËü¿ÉÒÔºÍPHP ÔÚÊý¾Ý´«µÝÉϸü½ôÃܵĽáºÏ£®
¡¡¡¡JavaScript °æ±¾£¨stable£©£ ......
[Smarty - ¹Ù·½ÍøÕ¾]
http://smarty.php.net/
[Smarty - ÏÂÔØµØÖ·]
µ±Ç°°æ±¾ 2.6.18, http://smarty.php.net/do_download.php?download_file=Smarty-2.6.18.tar.gz
È«²¿Áбí, http://smarty.php.net/download.php
[Smarty - Ïà¹ØÂÛ̳]
http://php.board.newsmth.net/
http://forum.c ......
¿ªÊ¼Ö®Ç°£¬Ê×ÏÈÒª³ÎÇåÁ½¸öÎÊÌ⣺µÚÒ»£¬Ö§³Ö¿ªÔ´£¬²»µÈÓÚ·´¶Ô´úÂë¼ÓÃÜ£»µÚ¶þ£¬Èç¹û°Ñ²»ÊôÓÚ×Ô¼ºµÄ¶«Î÷£¨±ÈÈ繫˾µÄ£©ÄÃÈ¥¿ªÔ´£¬¾Í¸ü¼Ó²»Ó¦¸ÃÁË¡£
ÒÔǰ֪µÀµÄ£¬PHP´úÂëµÄ¼ÓÃܶ¼ÊÇÓÃZendµÄencoder£¬Õâ¶«Î÷²»µ«ÊÇÉÌÒµÈí¼þ£¬ºÃÏñ»¹±©³ö¹ýÄܹ»±»ÆÆ½âµÄÎÊÌ⣬ËùÒÔ¾ÍÕÒµ½ÁËÌæ´úµÄ·½°¸©¤©¤©¤©¤php_screw£¬Ò»¸öÈÕ±¾ÈË¿ª·¢µÄ¶«¶«¡£
p ......
PHP×÷ΪһÖÖ·þÎñÆ÷¶ËµÄ½Å±¾ÓïÑÔ£¬Ïó±àд¼òµ¥£¬»òÕßÊǸ´ÔӵĶ¯Ì¬ÍøÒ³ÕâÑùµÄÈÎÎñ£¬ËüÍêÈ«Äܹ»Ê¤ÈΡ£µ«ÊÂÇé²»×ÜÊÇÈç´Ë£¬ÓÐʱΪÁËʵÏÖij¸ö¹¦ÄÜ£¬±ØÐë½èÖúÓÚ²Ù×÷ϵͳµÄÍⲿ³ÌÐò£¨»òÕß³ÆÖ®ÎªÃüÁ£¬ÕâÑù¿ÉÒÔ×öµ½Ê°빦±¶¡£
ÄÇô£¬ÊÇ·ñ¿ÉÒÔÔÚPHP½Å±¾Öе÷ÓÃÍⲿÃüÁîÄØ£¿Èç¹ûÄÜ£¬ÈçºÎÈ¥×öÄØ£¿ÓÐЩʲô·½ÃæµÄ¹ËÂÇÄØ£¿ÏàÐÅÄã¿´Á˱¾ ......
×¢½â·ûºÅ:
// µ¥ÐÐ×¢½â
/* */ ¶àÐÐ×¢½â
ÒýºÅµÄʹÓÃ
’ ’ µ ......