PHP5.5ã®æ°æ©è½ãã¸ã§ãã¬ã¼ã¿(Generator)ãã«ã¤ãã¦ããããã£ã¦ä½ï¼ããã©ãããããã®ï¼ããä½ã«ä½¿ããã®ï¼ãã®3ã¤ãåå¿è åãã«è§£èª¬ãåç» http://www.slideshare.net/kwatch/php55Read less
ãã¦å¤ããã£ã¦ãã¾ãããå¤ã¨è¨ãã°PHPã¨ãããã¨ã§ãæ¨å¹´ã«å¼ãç¶ããæè¿ã®PHPäºæ ããç´¹ä»ã 1. PHP5.4ãªãªã¼ã¹ PHP5.4ã2012å¹´3æã«ãªãªã¼ã¹ããã¾ããã Traits ã Short array syntaxï¼é åã®ç縮æ§æï¼ãarray dereferencingï¼foo()[0]ï¼ ãªã©ã®PHPè¨èªæ¡å¼µãPHPã³ãã³ãã§èµ·åãããã«ãã¤ã³ãµã¼ããããã¦ããã©ã¼ãã³ã¹ã®æ¹åãªã©å¤§ããªå¤æ´ãå ãããã¦ãã¾ãã è¨èªèªä½ã®æ©è½è¿½å ã注ç®ã§ããããã«ãã¤ã³ãµã¼ãã¯å¤ãã®äººã«ã¨ã£ã¦ã¡ãªããã«ãªãã§ããããããã使ãã°PHPã¢ããªã±ã¼ã·ã§ã³ã®åä½ç¢ºèªã®ããã«Apacheãnginxãªã©ã®httpdãµã¼ããèªåã®PCã«å ¥ããå¿ è¦ã¯ããã¾ããã ä¸è¨ã®ãããªã³ãã³ããæã¤ã ãã§ããã«ãã¤ã³ãµã¼ããèµ·åãã¾ããæ°ãããã¬ã¼ã ã¯ã¼ã¯ãã©ã¤ãã©ãªãã¢ããªã±ã¼ã·ã§ã³ã試ãã¦ã¿ããæã«æ
ä»ã®PHPãä½ã£ãã®ã¯ãä½å人ãã®éçºè ã§ãããç§ã¯1人ç®ã®éçºè ã ã£ãã«éãã¾ããã åé¡ã解ãã®ã好ããªã ãã§ãããã°ã©ãã³ã°ã¯å¤§å«ãã§ãã ããã«ããã°ã©ãã³ã°ãé¿ããããèãã¦ããããã³ã¼ããåå©ç¨ããããã®ãã¼ã«ã¨ãã¦PHPãã§ãã¾ãããPHPã¯ãæ¯ãã©ã·ã¿ãããªãã®ã§ãããæ¯æ¥ä½¿ããã®ã§ããã©ãã ããä½ã§ãããï¼èª°ãæ¯ãã©ã·ã®æ¬ãªãã¦èªã¿ãããã¾ãï¼ ãã¼ã¶ãæ¸ãã®ã¯è¦æã§ããæ¬å½ã«ãã¡ãªãã§ããä»ã§ãããPHPã«ã¯ãprotectedå±æ§ãããä»®æ³ã¡ã½ããããããã¾ãããæ å ±å¦ç§ã®æå®ããéè¦ã ãã£ã¦ãããã¤ã¯ä½ã§ãããåèªèº«ã¯ããããªãã®ã©ãã§ãããã¨æã£ã¦ã¾ããã©ãããã°ã©ãã³ã°ã好ã人ãããã®ã¯ç¥ã£ã¦ã¾ãããå ¨ãç解ã§ããªãã§ããã åã¯ãã³ã¢ãã®ããã°ã©ãã§ã¯ããã¾ããããããã£ã¤ãä»äºã§ããããã³ã¢ãã®ããã°ã©ãã¯ããåãã¦ãããã«è¦ãããã©ãã¡ã¢ãªãªã¼ã¯ã ãããã
ãã®æ稿㯠12å¹´ åã«å ¬éããã¾ããããã¾ã§ã¯ããç¡å¹ã«ãªã£ãå 容ãå«ãã§ãããããããªããã¨ããäºæ¿ãã ããã Rubyãæ¸ã人ã®å¤§åã¯Rubyã®ä½è ãã¾ã¤ãã¨ã²ãããããã²ãæ°Rubyã®äººããææããã¾ãããã2ã¡ããã®äººã¨ééãã¾ããã§ãããã¨ãç¥ã£ã¦ããã§ãããããPerlãæ¸ã人ã¯ã ãããã©ãªã¼ã»ã¦ã©ã¼ã«ã®ååãç¥ã£ã¦ããã¨æãã®ã§ãããPHPãæ¸ã人ã®å¤§åã¯PHPã®ä½è ãã©ã¹ãã¹ã»ã©ã¼ããæ°ã§ãããã¨ãç¥ããªãã¨æãã¾ãã ããã¯å¤åã«PHPã¨ããã®ãããã ãè²ããªå±¤ã®äººã«ä½¿ããã¦ããçµæã«éããªãã®ã§ããããã®ã©ã¹ãã¹ããã®çºè¨ã¯ã¨ã¹ããªãå¹ãã¦ã¦é¢ç½ããã§ãããã¯ã¦ãªå¿åãã¤ã¢ãªã¼ã§ãããä¼èª¬ã®PHPä½è ãRasmus Lerdorfãåè¨éãèãã¨å«PHPå¨ããã¡ãã§ããªã©ãåèã«ãã¦ã¿ã¦ãã ãããPHPã¯ãæ¯ãã©ã·ã¿ãããªãã®ã§ãããæ¯æ¥ä½¿ããã®ã§ããã©ãã ããä½ã§ã
段ç°ã§ãã æè¿ãPHPããiphone端æ«ã«PUSHéç¥ãéãæ©è½ã®éçºã«æºããã¾ãããPHPã§ããã°ã©ã ãå®è£ ããå ´åããã«ã¹ã¯ã©ããã¨ã©ã¤ãã©ãªã使ç¨ããã±ã¼ã¹ãããã®ã§ãããåã±ã¼ã¹ã§ã®ãã¤ã³ããå¿ããªãããæ¸ãããã¨æãã¾ãã ãªãPUSHéç¥ã®æ¦è¦ã証æ証ã®ä½æã«ã¤ãã¦ã¯çç¥ãã¾ããæ¦è¦ãªã©ã¯ä¸è¨ã®è¨äºããããããããåèã«ãªãã¾ããã Apple Push Notification ãµã¼ãã¹(APNs) ã®å®è£ æ¹æ³ iPhoneããã·ã¥éç¥ã¾ã¨ã ãã«ã¹ã¯ã©ããã®ã±ã¼ã¹ ãã«ã¹ã¯ã©ããã§ããå ´åããã¡ãã®ã¯ã¦ãªã®è¨äºãåèã«ãªãã¾ããã https://irss.hatenablog.com/entry/20111026/1319632548 ãããã試ãã«ä½æããã¨éä¿¡ã¯ã§ããã®ã§ãããä¸è¨ã®æ§ãªå¶ç´ããããã¨ãç¥ãã¾ãã 1ã¤ã®ã¡ãã»ã¼ã¸ã§256ãã¤ããè¶ ãã¦ã¯ãããªã
a side-by-side reference sheet sheet one: version | grammar and execution | variables and expressions | arithmetic and logic | strings | regexes | dates and time | arrays | dictionaries | functions | execution control | exceptions | threads sheet two: streams | asynchronous events | files | file formats | directories | processes and environment | option parsing | libraries and namespaces | objects
phpcaã¯PHPãéçã«è§£æãã¦å°ããªãã¹ãã³ã¼ãã®ä¿®æ£ç¹ãææãã¦ãããã½ããã¦ã§ã¢ã§ãã PHPãæ¸ãéã«ã©ãæ¸ãã°å°ããªãã¹ã«ãããã°ã®çºçãé²ããã§ãããããä¸å®ã®åºæºã«æ²¿ã£ã¦è¨è¿°ãããã¨ã§æ´ç¶ã¨ããã³ã¼ããå®ç¾ããå¯èªæ§ãããããã¨ã§ãã°ã®æ··å ¥ãé²ããã¨ãã§ãã¾ããããã§ä½¿ãããã®ãphpcaã§ããéçã«PHPãã¡ã¤ã«ï¼ãã£ã¬ã¯ããªåä½ãå¯ï¼ã解æããä¿®æ£ãã¹ãå ´æãææãã¦ããã¾ãã 解æå¦çãå®è¡ãã¦ãã¾ããPHPã®ãã¹ã¨ã解æããããã¡ã¤ã«ããã£ã¬ã¯ããªåãæå®ãã¦å®è¡ãã¾ãã解æå¦çä¸ã¯éæã¡ãã»ã¼ã¸ãåºåããã¾ãã ã¡ãã»ã¼ã¸ä¾ã§ããã¿ãã®å©ç¨ãè¡ã®ä½¿ãæ¹ã«é¢ãã¦ãªã©ã¡ãã»ã¼ã¸ã表示ããã¾ãã ?>ããªãå ´åãã¡ãã»ã¼ã¸ãåºã¾ããããã¯PHPã®æ¸ãæ¹ã¨ãã¦ã¯éããç¥ãã¾ããï¼ç¢ºããªãæ¹ãè¯ãã¨ãã話ãªã®ã§ï¼ã PHPãæ¸ãä¸ã§ãããã¡ãªãã¹ããã°ã«ã¤ãªãããããªææã
WideImage - An open-source PHP library for image manipulation PHPã§ç»åã®ãªãµã¤ãº/åæã/åæã¨ãã£ãå¦çãç°¡åã«è¡ããã©ã¤ãã©ãªãWideImageãã®ãç´¹ä»ã§ãã PHPããGDã使ãã°ãªãµã¤ãºãåæãã¯æ¯è¼çç°¡åã«åºæ¥ããã®ã®çµæ§é¢åã ã£ãããã¾ãã ããã§ãWideImageã使ãã°ã次ã®ããã«ãªãã¸ã§ã¯ãæåã§ç°¡åã«ããã¨ã§è¦ã¦ãç解ããããã³ã¼ãã§è¨è¿°å¯è½ã§ãã WideImage::load('big.png')->resize(50, 30)->saveToFile('small.jpg'); // big.png ãèªã¿è¾¼ãã§50x30ãã¯ã»ã«ã«ãªãµã¤ãºãã¦small.jpgã«ä¿å WideImage::load('pic.jpg')->crop('center', 'center', 90, 50)->o
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}