Note not to use php's function