r/PHPhelp • • May 16 '19

PHP Code for graduation cap?

Hi everyone! I'm making a graduation cap to surprise my boyfriend who is about to graduate (we usually don't have graduation caps and gowns where I live). Since he's a php programmer, I would like to put a nice/funny graduation related short php code on the cap. However, I have noooo idea about programming and I didn't even get 'funny' things I found on Google. So if you have any ideas, please shoot!

14 Upvotes

18 comments sorted by

View all comments

14

u/wh33t May 16 '19

if ($in_debt) { echo "work"; }

2

u/Dr_Midnight May 16 '19 edited May 17 '19

More like...

$debt = TRUE;

while ($debt === true)
{
     print "Work." . PHP_EOL;
}

2

u/wh33t May 16 '19

Its gotta fit on a hat yo!