2008/7/2 Daniel Brown <[EMAIL PROTECTED]>:
>> Fatal error: Call to undefined function shawn() in /home/shawn/life.php on
>> line 1
>
>I like it. ;-P
>
I think that a 500 internal service error would be more appropriate at
that stage...
Dotan Cohen
http://what-is-what.com
http://gibberish.co
On Mon, Jun 30, 2008 at 1:31 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
> Fatal error: Call to undefined function shawn() in /home/shawn/life.php on
> line 1
I like it. ;-P
--
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated
2008/6/28 Andrew Ballard <[EMAIL PROTECTED]>:
> Say anything about efficiency never did I. :-) I was merely commenting
> on a personal preference based largely on my perspective as a native
> speaker of (US) English. Now - if I WERE to address efficiency, I
> don't find "Yoda speak" to be any more
On Sat, Jun 28, 2008 at 1:33 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Robert Cummings wrote:
>>
>> On Sat, 2008-06-28 at 11:27 -0400, Andrew Ballard wrote:
>>>
>>> On Sat, Jun 28, 2008 at 9:44 AM, Colin Guthrie <[EMAIL PROTECTED]>
>>> wrote:
Robert Cummings wrote:
>
> I will nev
On Sat, 2008-06-28 at 21:19 +0300, Dotan Cohen wrote:
> 2008/6/28 Jim Lucas <[EMAIL PROTECTED]>:
> > But whoever said the flow of the English language was all that efficient? I
> > actually prefer 'Yoda Speak'. Takes less to say more.
> >
>
> The flow of the English language was all that efficie
2008/6/28 Jim Lucas <[EMAIL PROTECTED]>:
> But whoever said the flow of the English language was all that efficient? I
> actually prefer 'Yoda Speak'. Takes less to say more.
>
The flow of the English language was all that efficient, who ever
said? 'Yoda speak' I actually prefer. Say more, takes
Robert Cummings wrote:
On Sat, 2008-06-28 at 11:27 -0400, Andrew Ballard wrote:
On Sat, Jun 28, 2008 at 9:44 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
Robert Cummings wrote:
I will never do it... it looks ugly,
Only if you're not used to it. IMO this is how it should be taught in all
the b
On Sat, 2008-06-28 at 11:27 -0400, Andrew Ballard wrote:
> On Sat, Jun 28, 2008 at 9:44 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> > Robert Cummings wrote:
> >>
> >> I will never do it... it looks ugly,
> >
> > Only if you're not used to it. IMO this is how it should be taught in all
> > the bo
On Sat, Jun 28, 2008 at 9:44 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> Robert Cummings wrote:
>>
>> I will never do it... it looks ugly,
>
> Only if you're not used to it. IMO this is how it should be taught in all
> the books and guides etc. If that was the case, the other way round would be
On Fri, 2008-06-27 at 09:52 -0500, Boyd, Todd M. wrote:
> > -Original Message-
> > From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> > Sent: Friday, June 27, 2008 8:50 AM
> > To: tedd; php-general@lists.php.net
> > Subject: RE: [PHP] Re: Inspiration for a Tomb
At 9:52 AM -0500 6/27/08, Boyd, Todd M. wrote:
I think you guys are missing something: he wrote it with single equals
signs on purpose. He was demonstrating how the one with the constant to
the right of the assignment operator is a valid statement... and that
putting the constant first will aid y
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2008 8:50 AM
> To: tedd; php-general@lists.php.net
> Subject: RE: [PHP] Re: Inspiration for a Tombstone.
>
> [snip]
> And being dyslexic, I knew the 'Dan S' sh
On Fri, Jun 27, 2008 at 6:01 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> As I very humorously hinted at in a earlier mail on this thread, it is a
> very, very good idea to get into the habit of putting constants *first* in
> if/while/etc statements.
>
> if ("Dan S" = $user_name)
>
> PHP/C/C++ et
[snip]
And being dyslexic, I knew the 'Dan S' should have come first, but
didn't immediately recognize it as I was rushing to point out a
double equal-sign boo-boo made by Col.
[/snip]
Had Col used the method we're speaking of here the error would have been
thrown and he would have found the cul
At 8:30 AM -0500 6/27/08, Jay Blanchard wrote:
[snip]
Really?
I do it this way:
if ($user_name == "Dan S")
That not only looks right at first glance, but it actually works. :-)
[/snip]
This works better though;
if("Dan S" == $user_name) ... if you drop one of the comparison
operators in your
[snip]
Really?
I do it this way:
if ($user_name == "Dan S")
That not only looks right at first glance, but it actually works. :-)
[/snip]
This works better though;
if("Dan S" == $user_name) ... if you drop one of the comparison
operators in your haste to type then an error gets thrown and you
2008/6/27 Colin Guthrie <[EMAIL PROTECTED]>:
> As I very humorously hinted at in a earlier mail on this thread, it is a
> very, very good idea to get into the habit of putting constants *first* in
> if/while/etc statements.
>
> if ("Dan S" = $user_name)
>
> PHP/C/C++ etc. Bombs with a syntax error.
17 matches
Mail list logo