P is exhausted. He can't take it anymore. It's not just his studies (which are what matter most to him); he has other worries too. He just can't handle it anymore...
P is lying in bed, thinking about his life. He doesn’t know what he will do with his future; he just knows he can't keep going like this.
No matter how much P thinks about his future, he sees no way out. He has no hopes left. He has decided to end it all.
Ladies and gentlemen, this is the story of how P became the PHP ghost. He's not a vengeful ghost. He uses his ghostly condition to help students all over the world with their PHP exams.