updated PHP Broadcaster with comments and enhanced formatting.