Manual talk:Writing testable PHP code

Do not use exit
What alternative should one use?


 * Nothing. Unless you're checking for a proper entry point there's very little reason to abruptly halt execution like that. Johnduhart 02:53, 24 October 2011 (UTC)