Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12672
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: A modest proposal |
| Date | 2014-01-15 01:03 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <lb4mop$adc$7@dont-email.me> (permalink) |
| References | <XnsA2B5B1C70752Adougmilmaccom@78.46.70.116> <lb4kep$u0b$1@dont-email.me> |
On Wed, 15 Jan 2014 00:23:53 +0000, Beauregard T. Shagnasty wrote:
> Doug Miller wrote:
>
>> In anticipation of what is sure to be coming soon, I suggest we all
>> agree that the next time richard insults or abuses anyone who is
>> attempting to answer his questions or explain his errors, none of us
>> shall respond to any of his posts until he apologizes for the insult or
>> abuse.
>>
>> I'm in, if others agree. Who's with me? BTS? Denis? PointedHead?
>
> It's always one of two things that causes me to respond to him:
>
> 1) His complete lack of skills and ability to learn 2) His
rudeness
>
> Usually both. ;-) (But I won't write any code for him.)
I won't write his code for him, but I will write code (like the
following) which might demonstrate (if he runs it and reads and studies
carefully the output) to him what he's still failing to comprehend.
Doubtful though.
<?php
if ( 0 == "A" ) echo "0 == \"A\" is true\n";
else echo "0 == \"A\" is false\n";
if ( 0 <= "A" ) echo "0 <= \"A\" is true\n";
else echo "0 <= \"A\" is false\n";
if ( 0 >= "A" ) echo "0 >= \"A\" is true\n";
else echo "0 >= \"A\" is false\n";
if ( 0 == "Z" ) echo "0 == \"Z\" is true\n";
else echo "0 == \"Z\" is false\n";
if ( 0 <= "Z" ) echo "0 <= \"Z\" is true\n";
else echo "0 <= \"Z\" is false\n";
if ( 0 >= "Z" ) echo "0 >= \"Z\" is true\n";
else echo "0 >= \"Z\" is false\n";
if ( "text" ) echo "\"text\" is true\n";
else echo "\"text\" is false\n";
if ( "A" ) echo "\"A\" is true\n";
else echo "\"A\" is false\n";
if ( "A" || "B" || "C" ) echo "\"A\" || \"B\" || \"C\" is true\n";
else echo "\"A\" || \"B\" || \"C\" is false\n";
switch ( "text" ) {
case "A" || "B":
echo "\"text\" == (\"A\" || \"B\") because \"text\" and (\"A\" ||
\"B\") both evaluate as true\n";
break;
default:
echo "\"text\" != (\"A\" || \"B\") because \"text\" and (\"A\" ||
\"B\") do not both evaluate as true\n";
break;
}
--
Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A modest proposal Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-01-14 22:29 +0000
Re: A modest proposal The Natural Philosopher <tnp@invalid.invalid> - 2014-01-14 23:16 +0000
Re: A modest proposal Tim Streater <timstreater@greenbee.net> - 2014-01-14 23:23 +0000
Re: A modest proposal "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2014-01-15 00:23 +0000
Re: A modest proposal Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-15 01:03 +0000
Re: A modest proposal Ed Mullen <ejOBVIOUSLYREMOVE@edmullen.net> - 2014-01-14 20:12 -0500
Re: A modest proposal Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-01-15 01:42 +0000
Re: A modest proposal richard <noreply@example.com> - 2014-01-15 10:00 -0500
Re: A modest proposal Evan Platt <evan@theobvious.espphotography.com.invalid> - 2014-01-15 07:32 -0800
Re: A modest proposal Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-01-15 15:48 +0000
Re: A modest proposal richard <noreply@example.com> - 2014-01-15 13:12 -0500
Re: A modest proposal Evan Platt <evan@theobvious.espphotography.com.invalid> - 2014-01-18 20:59 -0800
csiph-web