* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
> * Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> > --- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> > > if ($do || false == $do ) {
> > > try();
> > > }
> > > /* Do, or do not. There is no try. */
> >
> > Isn't there always try? :-)
>
> Only in php5
Curt Zirzow wrote:
Yep. Just make sure you dont start speaking english like that,
people will look at you funny, or think your yoda :)
if ('away' == $put_your_weapon) {
$harm = false;
}
/* Away put your weapon, I mean you no harm */
or
if ( 'help' == $you_can ) {
hmm();
}
/* Help you can, Hm
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> --- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> > if ($do || false == $do ) {
> > try();
> > }
> > /* Do, or do not. There is no try. */
>
> Isn't there always try? :-)
Only in php5 :)
Curt
--
"I used to think I was indecisive, but now I'm not s
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> if ($do || false == $do ) {
> try();
> }
> /* Do, or do not. There is no try. */
Isn't there always try? :-)
Chris
=
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
My Blog
http:/
* Thus wrote Richard Baskett ([EMAIL PROTECTED]):
> on 10/1/03 8:23 PM, Gerard Samuel at [EMAIL PROTECTED] wrote:
>
> > I've noticed code written in this order ->
> > if (FALSE === $foo)
> > {
> > // yada yada
> > }
> >
> > Is there a reason/benefit to test variables like that instead of ->
> >
on 10/1/03 8:23 PM, Gerard Samuel at [EMAIL PROTECTED] wrote:
> I've noticed code written in this order ->
> if (FALSE === $foo)
> {
> // yada yada
> }
>
> Is there a reason/benefit to test variables like that instead of ->
> if ($foo === FALSE)
> {
> // yada yada
> }
>
> Thanks
I think it'
I've noticed code written in this order ->
if (FALSE === $foo)
{
// yada yada
}
Is there a reason/benefit to test variables like that instead of ->
if ($foo === FALSE)
{
// yada yada
}
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
7 matches
Mail list logo