Mgccl Posted April 9, 2007 Share Posted April 9, 2007 http://www.webdevlogs.com/2007/02/01/you-know-youve-done-too-much-php-when/ Can anyone suggest something for this topic? Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/ Share on other sites More sharing options...
cmgmyr Posted April 9, 2007 Share Posted April 9, 2007 haha nice Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-225438 Share on other sites More sharing options...
neylitalo Posted April 10, 2007 Share Posted April 10, 2007 When you end your questions, the > part comes naturally. For example: How are you doing?> I've done that quite a few times after a long day at work. Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-225506 Share on other sites More sharing options...
cmgmyr Posted April 10, 2007 Share Posted April 10, 2007 yeah i actually did that last night and thought it was pretty funny Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-225801 Share on other sites More sharing options...
Daniel0 Posted April 10, 2007 Share Posted April 10, 2007 Since it is down ("account suspended"), here is it: You know you've done too much PHP when… You getting F in English because{ You end sentence with a semicolon; "You put quotations around your essays"; "You"." connect"." words"." with"." periods"; You end a line with \n. You group paragraph in {braces}. } You express 2 squared in a strange way, pow(2,2). You insist that 2^2 equals 0. When solving the cube root of 5 to the 30th decimal, you hope you have bcpow() function. After a while, you kick the chair over and screams at the math teacher because you know that bcpow() does not allow fractional exponents. You check the labels in the supermarket and tell the manager a variable can't start with a number. $1.99 You echo a ampersand should not appear in middle of two words, but instead, numbers. You never use the word "say" anymore, "echo" become your best friend. You wondering if the art class installed GD library. You ask to go to the bathroom for a var_dump during a art lesson, then you remember that will change the header. You paint 2 fingers green(or gray) and suppose that sticking them out will comment anything in the right. You exploded things in the lab and try to sort them like arrays. You get annoyed when people don't see you as a object in the middle class. You thank a lot of people after getting a award. "I want to thank my parents who always supported me, and a lot other people, " include('thanks.php'); After inscribed these on a tree: define(LOVE, 'PHP'); You said that LOVE will never change because it is an constant. Your friends taking about they don't know what’s wrong with their relationship. You suggest them try this : error_reporting (E_ALL); Your friends look at you with the WTF look. You said:" DUH! ever read the PHP manual?" Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-226044 Share on other sites More sharing options...
448191 Posted April 10, 2007 Share Posted April 10, 2007 I have to plead guilty on using semicolons at the end of sentences in emails. This one made me laugh: You check the labels in the supermarket and tell the manager a variable can't start with a number. $1.99 Even though it ignores that you can't concatenate an integer. Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-226049 Share on other sites More sharing options...
s0c0 Posted April 12, 2007 Share Posted April 12, 2007 Yeah I often catch myself using the semi-colon at the end of a sentence; <- hey what the hell! A less funny, but very annoying thing I do is use $variable in other languages. When people are looking over my shoulder when i'm debugging asp they are like what the hell! Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-227348 Share on other sites More sharing options...
dustinnoe Posted April 12, 2007 Share Posted April 12, 2007 Your signature is $firstName . $lastName Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-227432 Share on other sites More sharing options...
Orio Posted April 12, 2007 Share Posted April 12, 2007 A less funny, but very annoying thing I do is use $variable in other languages. When people are looking over my shoulder when i'm debugging asp they are like what the hell! Yeah, the same thing happens to me when declaring functions in C- I always prefix the functions with "function". Orio. Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-227448 Share on other sites More sharing options...
rcorlew Posted April 14, 2007 Share Posted April 14, 2007 I tend to think of things through if statements. if($clerk_work == null){ unset($command) $newcommand="$command++"} Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-229377 Share on other sites More sharing options...
roopurt18 Posted April 14, 2007 Share Posted April 14, 2007 A less funny, but very annoying thing I do is use $variable in other languages. When people are looking over my shoulder when i'm debugging asp they are like what the hell! I do that all the time in Javascript; drives me crazy. Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-229443 Share on other sites More sharing options...
cyrixware Posted April 18, 2007 Share Posted April 18, 2007 whahahahahahaha nice: <? //Question: What makes you young? //Answer : echo substr('what makes you young', 19, 2); //mostly they answered Smile or Smilling. but if you try to read the question simple tricks applied. ?> Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-231818 Share on other sites More sharing options...
neylitalo Posted April 18, 2007 Share Posted April 18, 2007 cyrixware: That's possibly one of the best and worst jokes I've seen all day. Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-231901 Share on other sites More sharing options...
rcorlew Posted April 18, 2007 Share Posted April 18, 2007 shouldn't it 18,2 ? Just a question Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-231904 Share on other sites More sharing options...
448191 Posted April 18, 2007 Share Posted April 18, 2007 shouldn't it 18,2 ? Just a question And a good one. 'Assuming' that the answer should be 'ng', then yes. It's easy to miscount from the long end of a string. Alternatively you can start from the end: echo substr('what makes you young', -2); Quote Link to comment https://forums.phpfreaks.com/topic/46340-you-know-youve-done-too-much-php-when/#findComment-231909 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.