The function wrote by co-worker:

PHP:
  1. $what , $where ) { function test ($ what, $ where) (
  2. ! empty ( $where ) ) { if (! empty ($ where)) (
  3. ! empty ( $where [ $what ] ) ) { if (! empty ($ where [$ what])) (
  4. [ $what ] ; return $ where [$ what];
  5. { Else ()
  6. ; return'';
  7. )
  8. { Else ()
  9. ; return'';
  10. )
  11. )

When I Had a look at this function I tought immediatlly: Test? What does it test? Thankfully there's the $ what argument! And look! A $ WHERE argument too!

WTF? Folks, name your functions and variables enquiry.c.

    blog comments powered by Disqus

    Português flagItaliano flagCoreano flagChinês (simplificado) flagEnglish flagAlemâo flagFrancês flagEspanhol flag
    Japonês flagÁrabe flagRusso flagHolandês flagBúlgaro flagTcheco flagCroata flagDinamarquês flag
    Finlandês flagHindu flagPolonês flagRomeno flagSueco flagGrego flagNorueguês flag 
    By N2H
    Dolet 96 discount on hosting Dreamhost!
    Use the "PROMO CODE" inertia. LAMP with 20GB of space and 1TB of transfer.

    Related Articles

    Categories