Thursday, May 24, 2007

2 hours for a ';' ?


12:46 < procyon> heh my roommate spent 2 hours last night trying to find out why the following php wasnt working:
12:47 < procyon> foreach($_POST as $i); { echo 'hi' }
12:47 < procyon> so i came home and hes like "DUDE THE POINTER OF THE ARRAY IS GETTING STUCK!!!"
12:47 < procyon> me: "oh really"
12:47 < ambrose> haha
12:48 < procyon> granted it took me like a minute to see the ;
12:48 < ambrose> yeah I've done that one before
12:48 < procyon> everyone has
12:48 < lithium> sure havent spent 2 hours on it before
12:48 < procyon> yeah heh
12:48 < ambrose> yeah
12:49 < procyon> and i sure havent come up with some ellaborate theory of how the shit was failing
12:49 < procyon> heh and THEN
12:49 < procyon> after that
12:49 < procyon> he says "AH SWEET! so i guess i'll move this to production tomorrow"