register_shutdown_function('myexit'); function myexit() { echo "</schedule>"; }
Pro tip: use ```triple backticks around text``` to write in code fences