dz̸php²å¼þÀ©Õ¹
×î½üÍ»·¢ÆæÏ룬.net¶¼ÓÐÃüÃû¿Õ¼ä»úÖÆ£º
using System.data;.......,
ÎÒÃÇÔÚ¿ª·¢phpʱ£¬ÊÇ·ñÒ²ÄÜʵÏÖÕâÖÖ»úÖÆÄØ£¬ÎÒÃÇÖªµÀÏÖÔÚµÄphp v5.2.9»¹²»Ö§³ÖÃüÃû¿Õ¼äµÄ¸ÅÄ
µ«Ïà¹Øphp v5.3µÄ ×ÊÁϱíÃ÷ ÒѾʹÓÃÃüÃû¿Õ¼äµÄ¸ÅÄî £º
namespace Foo
ÎÒÃÇ¿ÉÒÔ°ÑphpµÄÃüÃû¿Õ¼ä¸ÄдΪ
using ÕâÖÖ ÐÎʽÂð ^_^ ÕâÊǺó»°........
ÔÚ²âÊԵĹý³ÌÖб¾ÈË×öÁËÕâÑùÒ»¸ö²âÊÔ Ê¹ÓÃphp ½øÐÐÀ©Õ¹±àÒëµÄdll Îļþ£¨º¯Êý self_concat£© ͬÑùÊÊÓÃphp дһ¸ö»¹ÊÇ(self_concatx())
php ²¿·Ö´úÂëÈçÏ£º
<?php
function self_concat($str,$n){
$result=null;
while($n--){
$result.=$str;
}
return $result;
}
function get_microtime(){
list($usec, $sec) = explode(' ', microtime());
return ((float)$usec + (float)$sec);
}
$start=get_microtime();
echo self_concat("phpinfo()",200000);
echo get_microtime()-$start;
?>
copy phpinfo ×Ö·û´® 20W ´Ë ×ܺÄʱ¼ä£º 0.14761400222778
ʹÓà phpÀ©Õ¹ µ÷Óà self_concatx("phpinfo()",200000) ×ܺÄʱ¼ä£º0.012831926345825
ƽ¾ùʹÓÃËÙ¶ÈÒª¸ß 11.50 ±¶£¬
ͬʱ»¹×öÁËÒ»¸öСÊý¾ÝÁ¿²âÊÔ£¬·¢ÏÖ Êý¾ÝÁ¿Ô½Ð¡ ʹÓÃʱ¼äÔ½¶Ì ƽ¾ùʱ¼äÔÚ 10 ±¶ÒÔÉÏ£¡
Ïà¹ØÎĵµ£º
<?php
$n = array('13','14','55','10','54','2','79','106','89','90','22','60','111','77777','-110','-10','123');
function partition($n,$left,$right)
{
global $n;
$pivot = $n[$left];
$lo=$left;
$hi=$right+1;
while($lo+1!=$hi) {
if($n[$lo+1]<$pivot)
$lo++;
else if($n[$hi-1] ......
LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......
1.ÏÂÔØZend for Linux¡£
2.µÚÒ»²½µ±È»Êǽâѹzip£¬½âѹ³öÀ´Ò»¸ö bin ¸ñʽµÄ°²×°Îļþ£¬
cpµ½ÎÒµÄÓû§Ä¿Â¼home/ibmÖУ¬ÔÚÖն˵ØÖ±½ÓÊäÈë./ZendStudio-5_5_1.bin£¬°²×°±ã×Ô¶¯°²×°£¨ÐèÒªjreÖ§³Ö£¬ÎÒÒѾÌáÇ°°²
×°¹ýÁË£¬°²×°ÃüÁîÊÇ£ºsudo apt-get install sun-java6-jre
sun-java6-jdk£©£¬¹ý²»Á˶à¾Ã£¬±ã¿ªÊ¼Á˽çÃæ°²×°£¬¼û ......
³õ²½ÈÏʶÓʼþµÄÔ´Îļþ
±¾ÎļòҪ˵Ã÷ÁËͨ¹ýPOP3ÐÒéÊÕÈ¡Óʼþ¡¢MIMEÓʼþµÄ½âÂëµÄÔÀí£»Õë¶ÔÊÕÈ¡ºÍMIME½âÂ룬ÌṩÁËÁ½¸öʵÓõÄPHPÀ࣬²¢ÌṩÁËʹÓõÄÑùÀý¡£·ÖΪÓʼþÊÕÈ¡¡¢MIME½âÂëÁ½¸ö²¿·Ö¡£ÎÒÃÇÒѾÏòÄú½éÉܹýÁËÓʼþµÄÊÕÈ¡£¬ÏÖÔÚÈÃÎÒÃÇÀ´ÎªÄú½éÉܱ¾ÎĵĽâÂ벿¡£
ÔÚÉÏÒ» ......