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

phpÓÅ»¯·½·¨

 1.Èç¹ûÒ»¸ö·½·¨¿É¾²Ì¬»¯£¬¾Í¶ÔËü×ö¾²Ì¬ÉùÃ÷¡£ËÙÂÊ¿ÉÌáÉýÖÁ4±¶¡£
2.echo ±È print ¿ì¡£
3.ʹÓÃechoµÄ¶àÖزÎÊý£¨Òë×¢£ºÖ¸ÓöººÅ¶ø²»ÊǾäµã£©´úÌæ×Ö·û´®Á¬½Ó¡£
4.ÔÚÖ´ÐÐforÑ­»·Ö®Ç°È·¶¨×î´óÑ­»·Êý£¬²»ÒªÃ¿Ñ­»·Ò»´Î¶¼¼ÆËã×î´óÖµ¡£
5.×¢ÏúÄÇЩ²»ÓõıäÁ¿ÓÈÆäÊÇ´óÊý×飬ÒÔ±ãÊÍ·ÅÄÚ´æ¡£
6.¾¡Á¿±ÜÃâʹÓÃ__get£¬__set£¬__autoload¡£
7.require_once()´ú¼Û°º¹ó¡£
8.ÔÚ°üº¬ÎļþʱʹÓÃÍêÕû·¾¶£¬½âÎö²Ù×÷ϵͳ·¾¶ËùÐèµÄʱ¼ä»á¸üÉÙ¡£
9.Èç¹ûÄãÏëÖªµÀ½Å±¾¿ªÊ¼Ö´ÐУ¨Òë×¢£º¼´·þÎñÆ÷¶ËÊÕµ½¿Í»§¶ËÇëÇ󣩵Äʱ¿Ì£¬Ê¹ÓÃ$_SERVER[‘REQUEST_TIME']ÒªºÃÓÚtime()¡£
10.º¯Êý´úÌæÕýÔò±í´ïʽÍê³ÉÏàͬ¹¦ÄÜ¡£
11.str_replaceº¯Êý±Èpreg_replaceº¯Êý¿ì£¬µ«strtrº¯ÊýµÄЧÂÊÊÇstr_replaceº¯ÊýµÄËı¶¡£
12.Èç¹ûÒ»¸ö×Ö·û´®Ìæ»»º¯Êý£¬¿É½ÓÊÜÊý×é»ò×Ö·û×÷Ϊ²ÎÊý£¬²¢ÇÒ²ÎÊý³¤¶È²»Ì«³¤£¬ÄÇô¿ÉÒÔ¿¼ÂǶîÍâдһ¶ÎÌæ»»´úÂ룬ʹµÃÿ´Î´«µÝ²ÎÊýÊÇÒ»¸ö×Ö·û£¬¶ø²»ÊÇֻдһÐдúÂë½ÓÊÜÊý×é×÷Ϊ²éѯºÍÌæ»»µÄ²ÎÊý¡£
13.ʹÓÃÑ¡Ôñ·ÖÖ§Óï¾ä£¨Òë×¢£º¼´switch case£©ºÃÓÚʹÓöà¸öif£¬else ifÓï¾ä¡£
14.ÓÃ@ÆÁ±Î´íÎóÏûÏ¢µÄ×ö·¨·Ç³£µÍЧ¡£
15.´ò¿ªapacheµÄmod_deflateÄ£¿é¡£
16.Êý¾Ý¿âÁ¬½Óµ±Ê¹ÓÃÍê±ÏʱӦ¹Øµô¡£
17.$row[‘id']µÄЧÂÊÊÇ$row[id]µÄ7±¶¡£
18.´íÎóÏûÏ¢´ú¼Û°º¹ó¡£
19.¾¡Á¿²»ÒªÔÚforÑ­»·ÖÐʹÓú¯Êý£¬±ÈÈçfor ($x=0; $x < count($array); $x)ÿѭ»·Ò»´Î¶¼»áµ÷ÓÃcount()º¯Êý¡£
20.ÔÚ·½·¨ÖеÝÔö¾Ö²¿±äÁ¿£¬ËÙ¶ÈÊÇ×î¿ìµÄ¡£¼¸ºõÓëÔÚº¯ÊýÖе÷Óþֲ¿±äÁ¿µÄËÙ¶ÈÏ൱¡£
21.µÝÔöÒ»¸öÈ«¾Ö±äÁ¿Òª±ÈµÝÔöÒ»¸ö¾Ö²¿±äÁ¿Âý2±¶¡£
22.µÝÔöÒ»¸ö¶ÔÏóÊôÐÔ£¨È磺$this->prop++£©Òª±ÈµÝÔöÒ»¸ö¾Ö²¿±äÁ¿Âý3±¶¡£
23.µÝÔöÒ»¸öδԤ¶¨ÒåµÄ¾Ö²¿±äÁ¿Òª±ÈµÝÔöÒ»¸öÔ¤¶¨ÒåµÄ¾Ö²¿±äÁ¿Âý9ÖÁ10±¶¡£
24.½ö¶¨ÒåÒ»¸ö¾Ö²¿±äÁ¿¶øûÔÚº¯ÊýÖе÷ÓÃËü£¬Í¬Ñù»á¼õÂýËٶȣ¨Æä³Ì¶ÈÏ൱ÓÚµÝÔöÒ»¸ö¾Ö²¿±äÁ¿£©¡£PHP´ó¸Å»á¼ì²é¿´ÊÇ·ñ´æÔÚÈ«¾Ö±äÁ¿¡£
25.·½·¨µ÷Óÿ´À´ÓëÀàÖж¨ÒåµÄ·½·¨µÄÊýÁ¿Î޹أ¬ÒòΪÎÒ£¨ÔÚ²âÊÔ·½·¨Ö®Ç°ºÍÖ®ºó¶¼£©Ìí¼ÓÁË10¸ö·½·¨£¬µ«ÐÔÄÜÉÏûÓб仯¡£
26.ÅÉÉúÀàÖеķ½·¨ÔËÐÐÆðÀ´Òª¿ìÓÚÔÚ»ùÀàÖж¨ÒåµÄͬÑùµÄ·½·¨¡£
27.µ÷ÓôøÓÐÒ»¸ö²ÎÊýµÄ¿Õº¯Êý£¬Æ仨·ÑµÄʱ¼äÏ൱ÓÚÖ´ÐÐ7ÖÁ8´ÎµÄ¾Ö²¿±äÁ¿µÝÔö²Ù×÷¡£ÀàËƵķ½·¨µ÷ÓÃËù»¨·ÑµÄʱ¼ä½Ó½üÓÚ15´ÎµÄ¾Ö²¿±äÁ¿µÝÔö²Ù×÷¡£
28.Óõ¥ÒýºÅ´úÌæË«ÒýºÅÀ´°üº¬×Ö·û´®£¬ÕâÑù×ö»á¸ü¿ìһЩ¡£ÒòΪPHP»áÔÚË«ÒýºÅ°üΧµÄ×Ö·û´®ÖÐËÑÑ°±äÁ¿£¬µ¥Òý


Ïà¹ØÎĵµ£º

Php²É¼¯ÈÃÄãµÄÕ¾¸úÐÂÀËÍøµÄÐÂÎű£³Öͬ²½.doc

   ²É¼¯ÒѾ­²»ÊÇʲôÐÂÃû´ÊÁË,ºÜ¶àÕ¾³¤ÎªÁËÊ¡ÊÂ,Ò²¾ÖÏÞÓÚÈËÁ¦µÄȱ·¦,ʹÓóÌÐòÀ´¸ø×Ô¼º
µÄÍøÕ¾Ìíש¼ÓÍß,±ÈÈç±¾È˵ĸöÈËÍøÕ¾Î÷Î÷¸¥Ë¹ÍøÒ²²É¼¯ÁË´óÁ¿µÄÐÂÎÅ,ÄÇôÈç¹ûʵÏÖÄØ?½ñÌìÎÒÃÇÔËÓÃphpÀ´ÊµÏÖÕâ¸ö¹¦ÄÜ.
   ̸µ½²É¼¯,ÎÒÃDz»µÃ²»ËµÁ½¸ö¶«Î÷,µÚÒ»¸öÊÇÈçºÎ»ñÈ¡Ô¶³ÌÍøÕ¾µÄÔ´´úÂë,Õâ¸ö¿ÉÒÔͨ¹ýphpµÄÒ»¸öÀ© ......

[PHP] ´Ó json_encode µ½ ajax_encode

PHP 5.2 ¼°ÒÔÉÏ°æ±¾ÌṩÁË json_encode ºÍ json_decode º¯Êý£¬Ï൱ºÃÓá£
¶ø֮ǰµÄ°æ±¾ÔòÐèÒªÏÂÔØÍøÓÑÃÇ×ÔÐпª·¢µÄ¿â£¨ÓÐÐËȤµÄ¿ÉÒÔ¿´Ï http://code.itlearner.com/php/JSON-class.html £©
¿ÉÒԲο¼ÈçÏÂÕâ¸ö·½·¨À´ÔڵͰ汾ÉÏÀ©³äÕâÁ½¸öº¯Êý£º
if (!function_exists('json_encode') && !function_exists('j ......

phpµÄ·¢Õ¹¼°°²×°

PHPµÄ·¢Õ¹
       PHP Ô­±¾µÄ¼ò³ÆΪ Personal Home Page£¬ÊÇRasmus Lerdorf ΪÁËҪά»¤¸öÈËÍøÒ³£¬¶øÓÃcÓïÑÔ¿ª·¢µÄһЩCGI¹¤¾ß³ÌÐò¼¯£¬À´È¡´úÔ­ÏÈʹÓÃµÄ Perl ³ÌÐò¡£×î³õÕâЩ¹¤¾ß³ÌÐòÓÃÀ´ÏÔʾ Rasmus Lerdorf µÄ¸öÈËÂÄÀú£¬ÒÔ¼°Í³¼ÆÍøÒ³Á÷Á¿¡£Ëû½«ÕâЩ³ÌÐòºÍһЩ±íµ¥Ö±ÒëÆ÷ÕûºÏÆðÀ´£¬³ÆΪ PHP ......

PHPº¯ÊýstrtotimeÏê½â

 strtotimeº¯ÊýÊÇÒ»¸öºÜºÃµÄº¯Êý,Áé»îµÄÔËÓÃËü,»á¸øÄãµÄ¹¤×÷´øÀ´²»ÉÙ·½±ã.µ«PHPµÄÊÖ²áÖÐÈ´¶Ô´Ëº¯ÊýµÄ²ÎÊýû×÷Ì«¶à½éÉÜ,¶ÔЩº¯ÊýµÄÆäËû½éÉÜÒ²·Ç³£ÉÙ¡£
ÏÈ¿´ÊÖ²á½éÉÜ£º
strtotime — ½«ÈκÎÓ¢ÎÄÎı¾µÄÈÕÆÚʱ¼äÃèÊö½âÎöΪ Unix ʱ¼ä´Á
¸ñʽ£ºint strtotime ( string $time [, int $now ] )
¡¡¡¡±¾º¯ÊýÔ¤ÆÚ½ÓÊÜÒ ......

phpºÍjava¹ØÓÚĿ¼Ê÷£¨ÁгöijһĿ¼ÏÂÎļþ½á¹¹£©

javaµÄд·¨
/**
*
* @param location
* @param nameList±£´æ½á¹ûµÄ£¡
*/
public void listDict(String location, List<String> nameList) {
File fileList = new File(location);
if (fileList.isDirectory()) {
File[] files = fileList.listFiles();
for (File f : files) {
i ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ