ã¿ã¤ãã«ã®æå³ã¯ããããããªãã ãã¦PHPã§ã¯ãPHP8.0ã§åã®ORãPHP8.1ã§åã®ANDã使ããããã«ãªãã¾ããã ãããããã®ä¸¡è ãçµã¿åããã¦ä½¿ããã¨ã¯ã§ãã¾ããã function f(A | B | C $param){} // OK function f(A & B & C $param){} // OK function f(A | B & C $param){} // NG â ã¨ãããã¨ã§ããããå¯è½ã«ãããã¨ããRFCãæåºããã¾ããã æ¢ã«æ票ã¯çµãã£ã¦ãããè³æå¤æ°ã§å¯æ±ºããã¾ããã PHP8.2ããDNFåã使ç¨å¯è½ã«ãªãã¾ãã 以ä¸ã¯è©²å½ã®RFCãDisjunctive Normal Form Typesã®æ¥æ¬èªè¨³ã§ãã PHP RFC: Disjunctive Normal Form Types Introduction Disjunctive Nor
{{#tags}}- {{label}}
{{/tags}}