2016/11/03 @ PHPã«ã³ãã¡ã¬ã³ã¹2016 2016/12/15 @ PHPã«ã³ãã¡ã¬ã³ã¹2016åæ¼ã¤ãã³ãã«ã¦æ¹è¨ 2017/06/10 @ PHPã«ã³ãã¡ã¬ã³ã¹ç¦å²¡2017ã«ã¦æ¹è¨ 2017/06/10 @ PHPã«ã³ãã¡ã¬ã³ã¹ç¦å²¡2017è¬æ¼é²ç» https://www.â¦
PHPã®çã¿ã®è¦ªâ â ãã©ã¹ãã¹â â ã»ã©ã¼ããæ°ã¤ã³ã¿ãã¥ã¼ 2015å¹´12æã«ç¡äºå ¬éãããPHP7ããã®å ¬éã«å ç«ã£ã¦PHPã®çã¿ã®è¦ªã§ããã©ã¹ãã¹ã»ã©ã¼ããæ°ã«è©±ã伺ãæ©ä¼ãããã¾ãããè±èªã§è¡ãããä¸æéã®ã¤ã³ã¿ãã¥ã¼ã¯é·å¤§ã§ããã©ã¹ãã¹æ°ã®ææ³ãããåãã話é¡ãå¤ããå¯è½ãªéããã®ã¾ã¾ã®å½¢ã§ãä¼ããã¹ãããã®æ¨¡æ§ãã¹ã¦ããå±ããã¾ãã ãªããã¤ã³ã¿ãã¥ã¼ã¯10æã«éå¬ãããPHPã«ã³ãã¡ã¬ã³ã¹2015ã®è¬æ¼çµäºå¾ã«è¡ããããªãªã¼ã¹ã«é¢ãã話é¡ãªã©ã¯ãã®æç¹ã§ã®ãã®ã§ãã ç¾å¨ã®ä»äºã¨çãç«ã¡ ââââ ã¾ãã¯ãPHPãä½ã£ã¦ãã ãã£ã¦ãããã¨ããããã¾ããä»æ¥ã®åºèª¿è¬æ¼ããã°ãããã£ãã§ãã ã©ã¹ãã¹ï¼ãããã¨ããããã¾ãã ââââ ãããªãã§ãããå人çãªè³ªåããå§ãã¦ãããã§ããããã ã©ã¹ãã¹ï¼ã©ããã ââââ Etsyã§ã¯ã©ã®ãããªãä»äºããªãã£ã¦ãããã§ããï¼ ã©ã¹ã
2012å¹´é ã«ãPHPã®JSONã¨ã¯ã¹ãã³ã·ã§ã³ã®ã½ã¼ã¹ã³ã¼ãä¸ã«æ¬¡ã®ãããªã©ã¤ã»ã³ã¹æè¨ãå«ã¾ãã¦ããã¨è©±é¡ã«ãªãã¾ããã The Software shall be used for Good, not Evil. ããã¯JSONã©ã¤ã»ã³ã¹ã¨å¼ã°ããã©ã¤ã»ã³ã¹ã®ä¸æã§ããããã®ã½ããã¦ã§ã¢ãè¯ããã¨ã«ä½¿ãã®ã¯ãããã©ãæªããã¨ã«ã¯ä½¿ã£ã¡ããã¡ãã¨ãã£ãã¨ããã§ããããã ããã¯ããªã¼ã½ããã¦ã§ã¢ã®å®ç¾©ã«åãã¦ãã*1ãå種Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§JSONã¨ã¯ã¹ãã³ã·ã§ã³ãé å¸ã§ããªããã¨ã«ãªããããã¡ãã£ã¨ããé¨åã«ãªã£ãã¨ããããã§ãã æ¬ç¨¿ã§ã¯ãã®JSONã©ã¤ã»ã³ã¹ã¸ã®å¯¾å¿ãç¾å¨ã©ããªã£ã¦ããããç´¹ä»ãã¾ãã å種Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®å¯¾å¿ PHPã®JSONã¨ã¯ã¹ãã³ã·ã§ã³ã¯json_encode()ãjson_decode()ãªã©ã®éè¦ãªé¢æ°ãæä¾ããã¨ã¯ã¹
p <<PHP_VERSION <?php PHP_VERSION ;print "\033[1F\033[1M"; //.tap{ define_method :range, -> s,e { s.upto e } } //.tap{ define_method :array_map, -> f,seq { seq.map{ |x| f.(x) } } } //.tap{ define_method :function, -> x,&b { -> x { $x=x;b.call } } } array_map(function($x){ print $x % 15 == 0 ? 'FizzBuzz' : ($x % 3 == 0 ? 'Fizz' : ($x % 5 == 0 ? 'Buzz' : $x)); print "\n"; }, range(1,100)); ruby php.
ãããã æ代é ãã®æ å ±ãã¦ã§ãä¸ã«ããµãã¦ããããããªæ å ±ãè¦ãPHPåå¿è ã¯æ¸æã£ã¦ãã¾ãã ãããããã¦ãã¾ããææ³ãã¾ããã³ã¼ããåºã¾ã£ã¦ãã¾ãã ãããªã®ã¯ãããããããPHP: The Right Way ã¯æ°è»½ã«èªããã¯ã¤ãã¯ãªãã¡ã¬ã³ã¹ã ãPHPã®ä¸è¬çãªã³ã¼ãã£ã³ã°è¦ç´ã ã¦ã§ãä¸ã®ããã§ãããã¥ã¼ããªã¢ã«ã¸ã®ãªã³ã¯ãããã¦ç¾æç¹ã§ã®ãã¹ããã©ã¯ãã£ã¹ã ã¨å·çè ãèãã¦ãããã¨ãã¾ã¨ããã 大äºãªã®ã¯ã PHPã使ãããã®æ£å¼ãªãä½æ³ãªã©åå¨ããªã ã£ã¦ãã¨ã ãã®ãµã¤ãã®çãã¯ãã¯ãã㦠PHP ã使ããã¨ã«ãªã£ãéçºè ã«ãããããªãããã¯ãç´¹ä»ãããã¨ã çµé¨è±å¯ãªããã®äººã«ã¨ã£ã¦ããããã¾ã§æ·±ãèãããã¨ãªã使ã£ã¦ããå 容ã«ã¤ãã¦ãæ°é®®ãªè¦æ¹ãä¼ããããã ããã ãã®ãµã¤ãã¯ã決ãã¦ãã©ã®ãã¼ã«ã使ãã°ããã®ãããæãããã®ãããªãã ããã¤ãã®é¸æè¢ã示ãã¦ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}