çµæã¯é ã«trueãtrueãfalseã§ãã ãããPHP7ã¾ã§ã®éå³å¯ãªæ¯è¼(ç価)æ¼ç®åã ã£ãããã§ãããã¾ãããããããã£ã¦ãã¨ã§ããã®æåãPHP8.0ã§å¤æ´ã«ãªããã¨ã«ãªãã¾ããã ãããä»ããåºæ¬ä¸ã®åºæ¬ã§ããæ¯è¼æ¼ç®åã®åä½ãå¼ã£ã¦ããã¨ã¯æããªãã£ããã 以ä¸ã¯Saner string to number comparisonsã®æ¥æ¬èªè¨³ã§ãã PHP RFC: Saner string to number comparisons Introduction ==ããã®ä»ã®éå³å¯ãªæ¯è¼æ¼ç®åãç¨ããæååã¨æ°å¤ã®æ¯è¼ã¯ãç¾å¨ã¯ãæååãæ°å¤ã«ãã£ã¹ããããã®å¾æ´æ°ãæµ®åå°æ°ã®æ¯è¼ãè¡ã£ã¦ãã¾ãã ãã®çµæãå¤æ°ã®ä¸å¯è§£ãªçµæãå¾ããã¾ãããä¸ã§ã注ç®ãã¹ãã¯0 == "foobar"ãtrueã«ãªããã¨ã§ãã ãã®RFCã§ã¯ãæååãå®éã«æ°å¤åæååã§ããå ´åã«ã®ã¿æ°å¤å
{{#tags}}- {{label}}
{{/tags}}