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

phpÊÕ¼¯

get_class_methods() // ËùÓз½·¨   
get_included_files()//·µ»Øµ±Ç°Ò³ËùÓмÓÔصÄÎļþ   
get_declared_classes()// ·µ»Øµ±Ç°Ò³ËùÓÐclass   
get_declared_interfaces()// ·µ»ØËùÓеĽӿڠ  
get_defined_functions()// ·µ»ØËùÓеÄfunction   
get_defined_vars()// ·µ»Øµ±Ç°Ò³ËùÓеıäÁ¿   
get_current_user()// ·µ»Øµ±Ç°Óû§   
get_defined_constants()// ·µ»ØËùÓг£Á¿   
get_loaded_extensions()// »ñÈ¡PHPµ±Ç°¼ÓÔصÄËùÓÐÀ©Õ¹get_extension_funcs('xml')// »ñÈ¡Ö¸¶¨À©Õ¹µÄËùÓз½·¨Áбí
ÕýÔòÆ¥ÅäÖÐÎÄ
$pattern = "/^[\x80-\xff]+$/";
if(preg_match($pattern,"kddk")){
    echo "A match was found";
}else{
    echo "A match was not found";
}
Òª¿´×Ö·û±àÂ룬ÉÏÃæÊÇgbk±àÂëµÄ£¬UTF-8±àÂëÓÃ\u4e00-\u9fa5 ´úÌæ¡£


Ïà¹ØÎĵµ£º

ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿


ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿
http://www.infoq.com/cn/news/2009/09/aspnet-php-benchmark
×÷Õß ÕÔ劼 ·¢²¼ÓÚ 2009Äê9ÔÂ15ÈÕ ÉÏÎç5ʱ33·Ö
ÉçÇø .NET Ö÷Ìâ ÐÔÄܺͿÉÉìËõÐÔ ±êÇ© PHP, ASP.NET
½áÂÛ£º
ÎÒÃÇ¿ÉÒÔÕâôÈÏΪ£¬¶ÔÓÚ´¿´âµÄPHPÖ´ÐÐÐÔÄÜÀ´Ëµ£¬LinuxºÍWindowsÏà²î ......

PHPÑéÖ¤ÍøÒ³ÊÇ·ñ¿ÉÓõÄһЩ·½·¨

×î½ü¹«Ë¾ÓиöÍøÕ¾ÒªÏÈÅжϷþÎñÆ÷ÉϵÄÍøÒ³ÊÇ·ñ¿ÉÓã¬È»ºóÔÚ°ÑÖµÌá½»µ½Õâ¸öÍøÒ³ÉÏ¡£Ê¹ÓÃphpÀ´¼ì²âÍøÒ³ÊÇ·ñ¿ÉÓã¬Ã»Ôõô½Ó´¥¹ýphp£¬¸ãÁËÁ½Ì죬»ù±¾ÉÏÊÇ¿ÉÒÔ¼ì²âÁË¡£ÏÖ°Ñ´úÂëÌùÉÏ£º
 <?php 
  //
  $url = "http://blog.csdn.net/xuezhongsong/archive/2009/09/17/4561488.aspx";  
  $ ......

linux·þÎñÆ÷°²×°£¨centos5.3 apache php mysql£©

 ×î½ü×°Á˼¸´Îlinux£¬Ñ§Á˺ܶ࣬°Ñ¹ý³ÌдÏÂÀ´ÁË£¬Ï£Íû¸ø¿´µÄÈË°ïÖú£¬Ò²¶à¸øЩ½¨Òé¡£
Ò»¡¢Ñ¡Ôñ×îС»¯°²×°£¨Ê²Ã´Ò²²»Ñ¡£¬µ«ÊÇ»¹ÊÇÑ¡ÁËvim£©
¶þ¡¢Ê¹ÓùâÅÌ×÷ΪԴ°²×°£¨ÏêÇé²Î¼û/etc/yum.repos.d/CentOS-Media.repo£©ËùÓÃÌ×¼þ£¨Ê¹ÓÃyumµÄÇ¿´ó¹¦ÄÜ£©
####²¢²»ÊǼòµ¥µÄÓÃyumÃüÁÐèÒªÔÚyumºóÃæ¼ÓһЩ¶«Î÷£¬/etc/yum.repo ......

phpÖмòµ¥µÄ·ÖÒ³

<%
rs.pagesize=14
page=cint(Request.QueryString("page"))
if page<1 then
page=1
elseif page>rs.pagecount then
page=rs.pagecount
end if
rs.AbsolutePage=page
IF rs.BOF and rs.eof then
Response.Write("<br><br>±¾Õ¾ÔÝÎÞÈÕÖ¾¼Ç¼£¡£¡<br><br>")
response.end
end if ......

¹ØÓÚPHPµÄcall_user_funcµÄ·ÖÎö

·Ö±ðÏÂÔØÁËphp5.2.10ºÍ5.3.0°æ±¾µÄÔ´Â룬²éÕÒµ½ÀïÃæcall_user_function(ÔÚext/standard/basic_functions.c)µÄ·½·¨¡£
ÔÚ5.2.10°æ±¾Àcall_user_functionÓõÄÊDZê×¼µÄphp º¯ÊýµÄд·¨£¬ÓÃzvalÀàÐÍÀ´´æ´¢½ÓÊյIJÎÊý£¬µ÷ÓÃcall_user_function_exÀ´Ö´ÐÐÓû§µÄ·½·¨¡£Èç¹ûµ÷Óò»³É¹¦Ôò·ÖÎöÊDz»ÊǽÓÊÕµ½µÄ²ÎÊýÀïÓÐʲô´íÎó¡£
µ«Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ