PHP Advent Calendar jp 2010ãçµäºãã¾ããã shin1x1ãããã©ã¹ãã®rnskããã¾ã§ã24æ¥é24åãæ¯æ¥ï¼è¥å¹²æ¥ããããããåå¾ããããããã¨ã¯ããã¾ããã;-pï¼PHPã«é¢ããã¨ã³ããªãblogã«æ¸ãã¦ããã¾ããã åå ãããã¿ãªããæ¬å½ã«ãããã¨ããããã¾ããï¼ãç²ãæ§ã§ããã æè¡ç³»Advent Calendarã«åå ãããã¨èªä½ãä»å¹´åã ã£ãã®ã§ããããã£ã¦ã¿ã¦è²ã æãããã¨ãã¤ãã¤ãã¨ã æããã㨠æ å½æ¥ã®ç·å¼µæï¼ç· åãã®ããblogã¨ã³ããªï¼ è¨ãã ãã£ãºãªã®ã§åæ¥ãå½çªã ã£ãããã§ãããä½ããªãã§ããã®æ¥ã«æ¸ããªãããããªãã¨ããã®ã¯è¯ãç·å¼µæã§ããã blogãæ¸ãã¨ããã®ã¯ããªãã ããã è¨ã£ã¦ãã¯ã¼ãããããã§ããã¨ãã«å¿ããææã ã¨æ¸ããããã¨ã¯ãã£ã¦ããªããªãæ¸ãåºããªããããæ¸ãåºãã¦ããªãããã£ããããã«ãã®ã¾ã¾ãèµå ¥ãã«ãªãã
ããã«ã¡ã¯ãå°å·ã§ãã æ¬æ¥ã¯æ°ããPHPã®é¢æ°ã®ä¸ã§ããããã¨ç¥ããã¦ããã§å®ã¯ç¥ããªã人ããããããããªã便å©ãªé¢æ°ããç´¹ä»ãã¾ãã â nl2br æ¹è¡ã³ã¼ãã<br />ã«å¤æããé¢æ°ã§ãã <?php $string = <<<EOS foo bar baz EOS; echo nl2br($string);
ZendStudioã«å梱ããã¦ãããZendCodeAnalyzerãã¨ãããã¼ã«ãæ¥åã§ä½¿ã£ã¦ããã§ããï¼ æ®å¿µãªããZend Studio 7ãè©ä¾¡çã§ç¢ºèªããã¨ããå«ã¾ãã¦ããªãããã§ãã*1 â»ZendCodeAnalyzerã使ç¨ããã«ã¯ZendStudioã®ã©ã¤ã»ã³ã¹ãå¿ è¦ã§ãã ããã§ä»£ããã«ãªããã®ãæ¢ãã¦ããããã¾ããï¼PHP Mess Detector ã§ãã PHPMDã¨ã¯ï¼Javaã§ããã¨ããã®PMDã§ï¼ä»¥ä¸ã®ãããªåé¡ãè¦ã¤ãã¦ããã¾ãã ãã°ã®å¯è½æ§ æºæé©ãªã³ã¼ã è¤éãªå¼ æªä½¿ç¨ãã©ã¡ã¼ã¿ï¼ã¡ã½ããï¼ãããã㣠ä»æ¥(2010/05/26)æç¹ã®ææ°çãï¼PHPMD 0.2.5 (2010/04/03 released) ãªã®ã§ï¼æ©éãã®ãã¼ã¸ã§ã³ã§è©¦ãã¦ã¿ã¾ãã åæç°å¢ PHP >= 5.2.3 PHP_Depend >= 0.9.11 [root@l
FirePHP enables you to log to your Firebug Console using a simple PHP method call. Webãµã¤ããWebã¢ããªã±ã¼ã·ã§ã³ãéçºããè¨èªã¨ãã¦PHPã¯äººæ°ããããä¸çæ大è¦æ¨¡ã®ã½ã¼ã·ã£ã«ãããã¯ã¼ã¯ãµã¼ãã¹Facebookããµã¼ãã¹ã®éçºã«ã¯PHPãæ¡ç¨ãã¦ãããæä¾ãããµã¼ãã¹ã大è¦æ¨¡ã«ãªãã¨ä¸é¨ãC/C++åãã¦é«éåãã¯ãããã¨ãããããéçºã¨ã³ã¸ãã¢ã®éãããããã¢ã¸ã£ã¤ã«æ§ã®è¯ãããã£ã¦ä¸»è¦è¨èªã®ã²ã¨ã¤ã§ããç¶ãã¦ããã HTML/CSS/JavaScriptããã¼ã¹ã«Webãµã¤ããWebã¢ããªã±ã¼ã·ã§ã³ãéçºããå ´åãéçºãã¼ã«ã¨ãã¦Firebugããã©ã¦ã¶ãã³ããæä¾ãã¦ãããããã°ãã¼ã«ãå©ç¨ã§ããããPHPã®ããã«ãµã¼ããµã¤ãã§åä½ããã¿ã¤ãã®è¨èªã§ã¯ããç°¡åã«ã¯ãããªãããããããã¤ã便å©ãª
ãã¶ã¤ã³ãã¿ã¼ã³ã®åºæ¬ã§ããGoFå ¨23ãã¿ã¼ã³ããããããã解説ãã¤ã©ã¹ããUMLå³ã§ç解ããç°¡åãªPHPãµã³ãã«ã¹ã¯ãªããã§å¦ã¶!!åãã¦å¦ã¶äººããã¡ãããä»ã¾ã§ç解ãã«ããã¨æãæ«æãã¦ãã人ã«ããªãã¸ã§ã¯ãæåè¨è¨ã«ç¾å¨å¿ é ã®ãã¶ã¤ã³ãã¿ã¼ã³ãå¦ã³ãã人ã«ããªãã¸ã§ã¯ãæåè¨èªã¨ãã¦çã¾ãå¤ãã£ãPHP5ã§è¨è¨ããã人ã«ãPHPããã°ã©ãã¯ãã¡ããC++è¨èªãJavaè¨èªããã°ã©ãã«ãããããã
ç§ä¸ä¸æ¨èï¼å¼å±ä½è²ãäºæ´²å®åå¹³å°-å®å ¨ä¿éã ç«å³åå¾
ç±³Facebookã¯ç±³å½æéã®2æ2æ¥ãPHPã®æ§è½ã¨æ¡å¼µæ§ãæ¹åããããã¸ã§ã¯ããHipHop for PHPããçºè¡¨ãããPHPã³ã¼ããC++ã«å¤æããããã°ã©ã ã§ããã§ã«Facebookå ã§å©ç¨ããã¦ããã¨ãããä»å¾ããªã¼ãã³ã½ã¼ã¹ããã¸ã§ã¯ãã¨ãã¦å ¬éããéçºãé²ããè¨ç»ã ã Facebookã¯PHPãå©ç¨ãã大è¦æ¨¡ãªã½ã¼ã·ã£ã«ãããã¯ã¼ãã³ã°ãµã¤ãã ããæ¡å¼µæ§ã¨ããåé¡ã«ç´é¢ãã¦ãããHipHop for PHPã¯ãã®åé¡ã解決ããããã«æ°å¹´åã«ã¹ã¿ã¼ãããããã¸ã§ã¯ãã§ãç¾å¨ãã§ã«Facebookå ã§å©ç¨ããã¦ããã¨ã®ãã¨ãããã«ããWebãµã¼ãã®CPUå©ç¨çãæ¹åããæ§è½ã®æ¹åã«å½¹ç«ã£ãã¨ãããéçºè ã«ããã¨ãCPUã®å©ç¨çãå¹³åãã¦50ï¼ åæ¸å¯è½ã¨ãã¦ããã HipHop for PHPã«ã¯ã½ã¼ã¹ã³ã¼ãå¤ææ©æ§ã¨C++åãã«åå®è£ ããPHPã©ã³ã¿ã¤ã ã·ã¹ãã ãé«éåã®ããã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}