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

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°æ ¿ìËÙÅÅÐò

<?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] ......

Linux+Apache+Mysql+PHPÓÅ»¯¼¼ÇÉ


LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾­³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......

Ubuntu Ï°²×°PHP¿ª·¢»·¾³Zend Studio 5.5.1


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£©£¬¹ý²»Á˶à¾Ã£¬±ã¿ªÊ¼Á˽çÃæ°²×°£¬¼û ......

ÓÃPHPʵÏÖPOP3ÓʼþµÄ½âÂë


³õ²½ÈÏʶÓʼþµÄÔ´Îļþ
    ±¾ÎļòҪ˵Ã÷ÁËͨ¹ýPOP3ЭÒéÊÕÈ¡Óʼþ¡¢MIMEÓʼþµÄ½âÂëµÄÔ­Àí£»Õë¶ÔÊÕÈ¡ºÍMIME½âÂ룬ÌṩÁËÁ½¸öʵÓõÄPHPÀ࣬²¢ÌṩÁËʹÓõÄÑùÀý¡£·ÖΪÓʼþÊÕÈ¡¡¢MIME½âÂëÁ½¸ö²¿·Ö¡£ÎÒÃÇÒѾ­ÏòÄú½éÉܹýÁËÓʼþµÄÊÕÈ¡£¬ÏÖÔÚÈÃÎÒÃÇÀ´ÎªÄú½éÉܱ¾ÎĵĽâÂ벿¡£
    ÔÚÉÏÒ» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ