how to find file name of current file in php code example Example: php current file name basename(__FILE__, '.php');