Php cancel example