OT - Bizarre PHP problem/bug
William Attwood
wattwood at gmail.com
Mon Nov 22 17:16:17 MST 2010
There is no code, attached. It's an empty file. That could explain it.
-Will
On Mon, Nov 22, 2010 at 5:13 PM, Michael Torrie <torriem at gmail.com> wrote:
> So here's a real strange one. On my machine, the attached code produces
> the following output:
>
> $ php whatthe.php
> expid: Experiment Blah
> expid is expid
> date: Fall 2010
> 0: Array
> 0 is expid
> 1: Array
> 2: Array
> 3: Array
> 4: Array
> 5: Array
> 6: Array
> 7: Array
> 8: Array
>
> Can anyone hazard a guess as to why the if statement complete fails? Or
> is it just my version of PHP (5.3.3 on Fedora 14)? Does it do this
> strange thing for anyone else?
>
> This code comes from a script that processes an http POST.
>
>
>
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>
--
Take care,
William Attwood
Idea Extraordinaire
wattwood at gmail.com
More information about the PLUG
mailing list