PHPÊý¾Ý½á¹¹——ÏßÐÔ±íµÄɾ³ý
function delete_array_element($arr,$i) {
$len = count($arr);
for($j=$i; $j<$len; $j++) {
$arr[$j] = $arr[$j+1];
}
array_pop($arr);//½«Êý×éµÄ×îºóÒ»¸öµ¥Ôªµ¯³ö
return $arr;
}
for($i=0; $i<10; $i++) {
$arr1[$i] = $i+1;
}
print_r($arr1);
echo "<br>";
print_r(delete_array_element($arr1,5));
Êä³ö½á¹¹£º
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 [8] => 9 [9] => 10 )
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 7 [6] => 8 [7] => 9 [8] => 10 )
Ïà¹ØÎĵµ£º
ËѼ¯²»È«£¬Á´½ÓûÓÐÈ«²¿²âÊÔ£¬´ó²¿·Ö¿ÉÓÃ
Easy Template System
http://ets.sourceforge.net/
http://ets.sourceforge.net/ets.pdf
http://prdownloads.sourceforge.net/ets/ets305b.zip?download
Smarty
http://smarty.php.net/
FastTemplate
http://www.thewebmasters.net/php/FastTemplate.phtml
http://www ......
[part1] http://download.csdn.net/source/2076258
[part2] http://download.csdn.net/source/2076272
[part3] http://download.csdn.net/source/2076276
[part4] http://download.csdn.net/source/2076283
[part02-04] http://www.ytgps.com/Images/nginx.rar
±¾ÎļþÌå»ý¹ý´ó·Ö4¸ö°ü£¬php-cgi+mysql+nginx.7z ......
PHP ÐòÁл¯£¨serialize£©¸ñʽÏê½â
ǰÑÔ
¸ÅÊö
NULL ºÍ±êÁ¿ÀàÐ͵ÄÐòÁл¯
¼òµ¥¸´ºÏÀàÐ͵ÄÐòÁл¯
ǶÌ׸´ºÏÀàÐ͵ÄÐòÁл¯
×Ô¶¨Òå¶ÔÏóÐòÁл¯
Unicode ×Ö·û´®µÄÐòÁл¯
²Î¿¼ÎÄÏ×
1£®Ç°ÑÔ
PHP £¨´Ó PHP 3.05 ¿ªÊ¼£©Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize¡£²»¹ýÔÚ
PHP ÊÖ²áÖжÔÕâÁ½¸öº¯ÊýµÄ ......
40ÌõÓÅ»¯php´úÂëµÄСʵÀý
1.Èç¹ûÒ»¸ö·½·¨Äܱ»¾²Ì¬£¬ÄǾÍÉùÃ÷ËûΪ¾²Ì¬µÄ£¬ËÙ¶È¿ÉÌá¸ß1/4;
2.echoµÄЧÂʸßÓÚprint,ÒòΪechoûÓзµ»ØÖµ£¬print·µ»ØÒ»¸öÕûÐÍ;
3.ÔÚÑ»·Ö®Ç°ÉèÖÃÑ»·µÄ×î´ó´ÎÊý£¬¶ø·ÇÔÚÔÚÑ»·ÖÐ;
4.Ïú»Ù±äÁ¿È¥ÊÍ·ÅÄÚ´æ£¬ÌØ±ðÊÇ´óµÄÊý×é;
5.±ÜÃâʹÓÃÏñ__get, __set, __autoloadµÈħÊõ·½·¨;
6.requiere_once( ......
×î½üÕâ¶Îʱ¼äûÓÐÔõôÈÏÕæÈ¥Ñ§Ï°Ò»Ñù¶«Î÷£¬·´¶øÊÇÕâÑùѧһµãÄÇÑùѧһµãµÄ£¬´º½Ú¸Õ¹ý¿´ÁËÒ»ÏÂASP£¬ÒòΪÀÏʦÕÒÎÒ°ïæŪһÏÂÍøÕ¾£¬µ±Ê±¾õµÃASP»á£¬ËùÒÔ¾ÍÏÈÒÔASPÀ´Á˽âÕâÒ»ÃÅ£¬Ïà¶ÔÆäËûµÄJSP£¬phpÀ´Ëµ£¬ASP»¹ÒªÊìϤһЩ£¬ËùÒÔµ±Ê±¾Í¿´ÁËÒ»ÌìASP£¬¿ÉÒÔ˵ÊÇÎÂϰ°É¡£
Ò ......