Quicktip: Check if a Class Constant Exists in PHP. Jun 29th, 2011 | Comments. <?php if(defined('className::CONSTANT_NAME')){ //defined }else{ //not defined }.
確定! 回上一頁