thinkphp5.0phpÐèÒªÄÄЩÀ©Õ¹
Ëæ×Å»¥ÁªÍøµÄ¿ìËÙÉú³¤£¬php±à³ÌÓïÑÔÒѾ³ÉΪ¿ª·¢webÓ¦ÓóÌÐòµÄÖ÷ҪѡÔñÖ®Ò»¡£¶øthinkphp¿ò¼Ü×÷Ϊһ¸ö¸ßЧ¡¢Çå¾²¡¢Ò×Óá¢ÎÞаµÄphp¿ª·¢¿ò¼Ü£¬ÓµÓÐÇ¿Ê¢µÄÄ£¿é»¯¡¢À©Õ¹ÐԺͿÉά»¤ÐÔ¡£ÔÚʹÓÃthinkphp¿ª·¢webÓ¦ÓóÌÐòʱ£¬ÓÐЩ¿ª·¢Õß¿ÉÄÜ»áÓöµ½ÐèҪװÖÃÀ©Õ¹µÄÇéÐΡ£½ñÌìÎÒÃǾÍÀ´ÏÈÈÝÒ»ÏÂthinkphp 5.0ËùÐèÒªµÄÀ©Õ¹¼°ÆäÓÃ;¡£
Ò»¡¢PHPÀ©Õ¹
BCMath£º¿ÉÌṩí§Ò⾫¶ÈµÄÊýѧÅÌËãÖ§³Ö¡£¸ÃÀ©Õ¹Ö÷ÒªÓÃÓÚ´¦ÀíBigDecimalµÄËãÊõÅÌËã¡£
Ctype: ¸ÃÀ©Õ¹Ö÷ÒªÓÃÓÚ×Ö·û´¦Àí£¬ÌṩÁ˳£ÓõÄ×Ö·ûÀàÐÍÅжϺ¯Êý¡£
Fileinfo: ¸ÃÀ©Õ¹ÓÃÓÚ¼ì²âÎļþÀàÐÍ£¬ºÃ±ÈÅжÏÉÏ´«µÄÎļþÀàÐÍÊÇ·ñÇкÏÒªÇ󣬹ØÓÚÎļþÉÏ´«µÈÓ¦Óó¡¾°½ÏÁ¿ÓÐÓá£
GD: ¸ÃÀ©Õ¹ÓÃÓÚÌìÉúͼÏñ£¬Í¨¹ý¸ÃÀ©Õ¹¿ÉÒÔÌìÉúͼÏñÑéÖ¤Â룬´¦ÀíͼƬˮӡµÈ¡£
JSON: ¸ÃÀ©Õ¹ÌṩÁË´¦ÀíJSONÃûÌõĺ¯Êý£¬ºÃ±Èjson_decode£¨£©¡¢json_encode()µÈ£¬ÕâЩº¯Êý¿ÉÒÔ½«JSONÎı¾×ª»»ÎªPHP¹¤¾ß»òÊý×飬²¢½«PHP¹¤¾ß»òÊý×é±àÂëΪJSONÎı¾¡£
Mbstring: ¸ÃÀ©Õ¹ÌṩÁ˶à×Ö½Ú×Ö·û¼¯´¦Àíº¯Êý£¬¿ÉÒÔ´¦ÀíÖÐÎÄ¡¢ÈÕÎÄ¡¢º«ÎĵȶàÖÖÓïÑÔ×Ö·û¼¯¡£
OpenSSL: Ö÷ÒªÓÃÓÚʵÏÖ¼ÓÃÜÏ¢ÕùÃÜ£¬ºÃ±È¶ÔÍâ½Ó¿Ú´«ÊäÊý¾Ý¾ÙÐмÓÃÜ¡£
PDO: ¸ÃÀ©Õ¹ÓÃÓÚʵÏÖÊý¾Ý¿âµÄ»á¼û£¬ºÃ±ÈÔÚThinkPHPÏîÄ¿ÖÐÅþÁ¬MySQLÊý¾Ý¿âÐèÒª¸ÃÀ©Õ¹µÄÖ§³Ö¡£
Phar: ¸ÃÀ©Õ¹Ö÷ÒªÓÃÓÚ´ò°üÏ¢ÕùѹpharÎļþ£¬¿ÉÒÔÓÃÓÚÖÆ×÷¡¢´ò°üºÍ·Ö·¢PHPÓ¦ÓóÌÐò¡£
Reflection: ¸ÃÀ©Õ¹ÌṩÁË·´ÉäÀàµÄÖ§³Ö£¬¿ÉÒÔ»ñÈ¡º¯Êý¡¢Àà¡¢±äÁ¿µÈµÄÏêϸÐÅÏ¢¡£
Session: ¸ÃÀ©Õ¹ÓÃÓÚ´¦ÀíÓû§»á»°£¬ÉúÑÄÓû§µÇ¼״̬µÈ¡£
SimpleXML: ¸ÃÀ©Õ¹ÓÃÓÚÆÊÎöXMLÃûÌõÄÊý¾Ý£¬Ö÷ÒªÓÃÓÚ¶ÔÍâ½Ó¿Ú·µ»ØXMLÃûÌõÄÊý¾Ý¡£
Tokenizer: ¸ÃÀ©Õ¹ÓÃÓÚÆÊÎöPHP´úÂ룬¿ÉÒÔ½«PHP´úÂëÆÊÎö³ÉÒ»¸öÒ»¸öµÄ´Ê·¨µ¥Î»£¬ºÃ±È±äÁ¿¡¢º¯Êý¡¢²Ù×÷·ûµÈ¡£
XML: ¸ÃÀ©Õ¹ÌṩÁË´¦ÀíXMLÃûÌÃÊý¾ÝµÄº¯Êý£¬ºÃ±ÈXMLÆÊÎöºÍÌìÉúµÈ¡£
ZIP: ¸ÃÀ©Õ¹ÓÃÓÚÎļþѹËõÏ¢ÕùѹËõ£¬¿ÉÒÔÓÃÓÚ´ò°üºÍѹËõ¶à¸öÎļþ¡£
¶þ¡¢PECLÀ©Õ¹
MemcacheÀ©Õ¹£º¸ÃÀ©Õ¹ÓÃÓÚ»º´æÊý¾Ý£¬ºÃ±È²Ù×÷ƵÈÔµÄÊý¾Ý¿âÅÌÎÊЧ¹û¡£
RedisÀ©Õ¹£º¸ÃÀ©Õ¹ÔÚ·â×°RedisÏÂÁîµÄ»ù´¡ÉÏÌṩÁËPHPÃæÏò¹¤¾ßʽµÄAPI£¬¿ÉÒÔÓÃÓÚ»º´æ¡¢ÍøÕ¾Êý¾ÝºÍʹÃü·Ö·¢µÈ¡£
SwooleÀ©Õ¹£ºSwooleÊÇÒ»¸öPHPµÄÒì²½¡¢²¢ÐС¢¸ßÐÔÄÜÍøÂçͨѶ¿ò¼Ü£¬¿ÉÓÃÓÚWebЧÀÍÆ÷¡¢APIЧÀÍÆ÷¡¢ÎïÁªÍø¡¢ÓÎϷЧÀÍÆ÷µÈÓ¦Óó¡¾°¡£
YafÀ©Õ¹£º¸ÃÀ©Õ¹ÊÇÒ»¸ö¸ßЧµÄMVC¿ò¼Ü£¬¾ßÓмòÆÓÒ×Óá¢ÐÔÄܸߡ¢¿ÉÀ©Õ¹µÈÌص㡣
XhprofÀ©Õ¹£º¸ÃÀ©Õ¹ÓÃÓÚ´úÂëÐÔÄÜÆÊÎö£¬¿ÉÒÔ×ÊÖú¿ª·¢Õßʶ±ð²¢½â¾ö´úÂëÖеÄÐÔÄÜÆ¿¾±¡£
MongoDBÀ©Õ¹£º¸ÃÀ©Õ¹ÌṩÁËPHPÓëMongoDBÊý¾Ý¿âÖ®¼ä½»»¥µÄAPI½Ó¿Ú£¬¿ÉÒÔÓÃÓÚ¿ìËÙ¿ª·¢MongoDBÓ¦ÓóÌÐò¡£
ÒÔÉϾÍÊÇThinkPHP 5.0ËùÐèÒªµÄPHPºÍPECLÀ©Õ¹£¬Í¨¹ý×°ÖÃÕâЩÀ©Õ¹£¬¿ÉÒÔΪWebÓ¦ÓóÌÐòÌṩԽ·¢Ç¿Ê¢µÄÐÔÄܺ͹¦Ð§Ö§³Ö¡£Í¬Ê±£¬¹ØÓÚ¿ª·¢Õ߶øÑÔÒ²ÓÐÖúÓÚÌáÉý±à³ÌÊÖÒÕ£¬¸üºÃµØÓ¦¶ÔWebÓ¦ÓóÌÐòµÄÐèÇó¡£
ÒÔÉϾÍÊÇthinkphp5.0phpÐèÒªÄÄЩÀ©Õ¹µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡