Jaslabs Optimizing PHP objects The following tips can help in optimizing object-orientated PHP.PHPã«ãããªãã¸ã§ã¯ãæåã®æé©åã ã¡ã¢ã«ããã¨æ¬¡ã®ãããªãã¨ãæ¸ããã¦ããã ã»å¤æ°ã¯ä½¿ãåã«åæåãã ã»ã°ãã¼ãã«å¤æ°ãï¼å以ä¸å¼ã³åºãå ´åã¯ãã¼ã«ã«å¤æ°ã«ã³ãã¼ãã ã»ãã使ãã¡ã½ããã¯æ´¾çã¯ã©ã¹å ã«è¨è¿°ãã ï¼å°ãPHPã®è¨èªä»æ§ãå¤ãããã¨ãããã®ã§ãã®äºæã¯æ°¸ç¶çãªç©ã§ã¯ãªãï¼ ã»ãªãã¸ã§ã¯ãã®ã¡ã½ããå¼ã³åºãã¯æ®éã®é¢æ°å¼ã³åºãã®ï¼åé ãã ã»ãã¼ã«ã«å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ããæãéã( $var++) ã»ãªãã¸ã§ã¯ãå¤æ°ã®ã¤ã³ã¯ãªã¡ã³ã($this->val)ã¯ãã¼ã«ã«å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãããï¼åé ã ã»åæåããã¦ããªãå¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã¯åæåããã¦ãããã®ããï¼ãï¼ï¼åé ã ãª
{{#tags}}- {{label}}
{{/tags}}