Re: [PHP] isset($a-b) even if $a-b = null

2007-08-17 Thread Borokov Smith
Olav Mørkrid schreef: how do i test if a property of a stdclass object is set, even if its value is null, similar to how array_key_exists() works for arrays. the following method fails: $a-b = null; if(isset($a-b)) echo yes; and property_exists() seems only to work for defined

Re: [PHP] isset($a-b) even if $a-b = null

2007-08-17 Thread Michael Preslar
On 8/17/07, Olav Mørkrid [EMAIL PROTECTED] wrote: how do i test if a property of a stdclass object is set, even if its value is null, similar to how array_key_exists() works for arrays. the following method fails: $a-b = null; if(isset($a-b)) echo yes; and property_exists() seems

[PHP] Re: php-general =?unknown?b?zOG5qUNETUHO3s/fuau7sLL6xrc=?=

2003-11-22 Thread L-Soft list server at LISTS.NAU.EDU (1.8d)
ÄãºÃ! Unknown command - ÄúÃ!. Try HELP. ÎÒ¹«Ë¾ÌṩCDMAÎÞÏß¹«»°²úÆ·,²úÆ·°üÀ¨CDMAת½ÓºÐ/CDMAÉÌÎñµç»°,ÓÐÒÔÏÂ4ÖÖ·þÎñ Unknown command - ÎÒ¹«Ë¾ÌÁ¹©CDMAÎÞÏß¹«»°²ÚÆ·,²ÚÆ·°ÜÀ¨CDMAת½ÓºÐ. Try HELP. ·½Ê½: Unknown command - ·½Ê½:. Try HELP. (1)Ö±½ÓÏúÊÛÎÒ¹«Ë¾Æ·ÅƵÄCDMAÎÞÏß¹«»°²úÆ·. Unknown command -

Re: [PHP] if (a == b) ...

2003-01-30 Thread Ernest E Vogelsinger
At 02:36 30.01.2003, Webapprentice said: [snip] Hi, I have a conditional: if (a == b) a is the number 0, but b is a string Friday August 22. The condition is evaluating as true, which is not what I want. What am I misunderstanding?

RE: [PHP] if (a == b) ...

2003-01-29 Thread David Freeman
I have a conditional: if (a == b) a is the number 0, but b is a string Friday August 22. The condition is evaluating as true, which is not what I want. What am I misunderstanding? You're comparing a string to a number perhaps? I tried this: -8- $a = 0; $b = Friday August

Re: [PHP] if (a == b) ...

2003-01-29 Thread Johannes Schlueter
On Thursday 30 January 2003 02:39, David Freeman wrote: -8- $a = 0; $b = Friday August 22; -8- and resulted in 'no match'. Or try $a = 0; $c = (string) $a; // Now $c == 0 or if (( (string) $a == (string) $b)) { ... The manual could be your friend, too:

RE: [PHP] if (a == b) ...

2003-01-29 Thread Cal Evans
Stephen, Friday August 22 evaluates to the number 0. (check the docs for intval()) Therefore the condition would be true. I stated in an earlier thread this week. It is bad for to allow PHP todo your conversions for you. At the least it's lazy, at the most it will cause unpredictable results.

Re: [PHP] if (a == b) ...

2003-01-29 Thread Webapprentice
Cal, Thanks for the suggestion. I looked up equality on www.php.net, and there are many comments about how == works. I also found out === works too, or is that still lazy? Thanks, Stephen Cal Evans wrote: Stephen, Friday August 22 evaluates to the number 0. (check the docs for intval())

RE: [PHP] if (a == b) ...

2003-01-29 Thread Lee Herron
$a === $b TRUE if $a is equal to $b, and they are of the same type. (PHP 4 only) -Original Message- From: David Freeman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 7:39 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] if (a == b) ... I have a conditional

Re: [PHP] Re: http$B$G%;%C%7%g%s$r3+;O$7$?l9g!(Bhttps$B$X9T$C$F$b7QB3$5$l$k$N$G$7$g$$+!)(B

2002-11-21 Thread -[ Rene Brehmer ]-
Hi BAROILLER Pierre-Emmanuel, On Sat, 9 Nov 2002 15:34:56 +0100, you wrote about [PHP] Re: http$B$G%;%C%7%g%s$r3+;O$7$?l9g!(Bhttps$B$X9T$C$F$b7QB3$5$l$k$N$G$7$g$$+!)(B something that looked like this: Hi ! Could you write it in english please ? Yeah ... not alot of people here can read

RE: [PHP] Attitude of B van Ouwerkerk

2001-08-01 Thread scott [gts]
so now it's shifted from his attitude to your seeming inability to cope with words related to sexual intercourse? we all need to calm down and relax. -Original Message- From: Alexander Wagner [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Attitude of B van Ouwerkerk B. van

Re: [PHP] Attitude of B van Ouwerkerk

2001-08-01 Thread Alexander Wagner
scott [gts] wrote: so now it's shifted from his attitude to your seeming inability to cope with words related to sexual intercourse? we all need to calm down and relax. Hey, all I said was that he did not RTFM, but RTM, the version without fucking. regards Wagner -- Madness takes its

Re: [PHP] Attitude of B van Ouwerkerk

2001-08-01 Thread Miles Thompson
What!!? I always thought it was the fine manual. Gosh, I'm so naive. Blushing in Nova Scotia - Miles At 04:39 PM 8/1/01 +0200, Alexander Wagner wrote: scott [gts] wrote: so now it's shifted from his attitude to your seeming inability to cope with words related to sexual intercourse? we

RE: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Jeff Lewis
It's not the first time and I've mentioned it before. I in fact just emailed all those off list from that thread. One reason why PHP has lured many in is it's ease of use and it's FRIENDLY user community. Sure some people come on here and ask simple questions, maybe ones that can be found in

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Kyle Smith
: legokiller666 - Original Message - From: Jeff Lewis [EMAIL PROTECTED] To: Steve Wright [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 11:23 AM Subject: RE: [PHP] Attitude of B van Ouwerkerk It's not the first time and I've mentioned it before. I in fact just

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Justin Farnsworth
This is not to condone discourtesy, but the key to this complaint is being on the list for a while. In the everyday friction of life, terse emails are easily misinterpreted. I happen to feel that van Ouwerkerk's reponse is not disgraceful, and attributing it to his attitude is a leap of the

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Christopher Allen
PhP'ers I would suggest that people not think too hard about this and continue programming. Thats right get back to work...:) Have Fun! --ccma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread scott [gts]
there's a fine line between being terse and being nasty. please don't misinterpret this, but i think that we could all benefit from being less sensitive of the style each of us express ourselves in... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Phil Driscoll
I've just looked at his emails for the last week, and he is a helpful guy! Not only is he helpful, I'll wager he's being helpful in a language that's not his native tongue, so it's utterly unreasonable to expect the subtle 'gentle' idioms that you might get from a native speaker who had plenty

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread mike cullerton
on 7/31/01 12:37 PM, scott [gts] at [EMAIL PROTECTED] wrote: there's a fine line between being terse and being nasty. please don't misinterpret this, but i think that we could all benefit from being less sensitive of the style each of us express ourselves in... once again, scott, you seem

RE: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Johnson, Kirk
Not for this list specifically, and not as well used as it might be ;) http://www.php.net/manual/en/faq.php Kirk what is up with a faq for this list? is there one? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Kyle Smith
PROTECTED] Sent: Tuesday, July 31, 2001 12:17 PM Subject: RE: [PHP] Attitude of B van Ouwerkerk Not for this list specifically, and not as well used as it might be ;) http://www.php.net/manual/en/faq.php Kirk what is up with a faq for this list? is there one? -- PHP General Mailing List

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Ezra Nugroho
, helping people!!! -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Johnson, Kirk [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 12:17 PM Subject: RE: [PHP

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread B. van Ouwerkerk
Let me give just one reply.. I did read them all.. I don't hate Kyle Smith /me rather uses the energy needed to hate in a positive way.. Like to write docs for an opensource project. Did a rewrite once.. Phil Driscoll.. you win. I'm Dutch. No I don't have time to go a few times over my mail

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Kyle Smith
man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 2:11 PM Subject: Re: [PHP] Attitude of B van Ouwerkerk Let me give just one reply.. I did read them all.. I

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Alexander Wagner
B. van Ouwerkerk wrote: Ask yourself.. who has an attitude problem here.. Someone who didn't read the manual.. or someone (/me) who wrote to RTFM. You didn't even RTFM him. I found it to be more like RTM, the more gentle version (the one without words connected to sexual intercourse). Your

RE: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Matthew Loff
... The annotations in the PHP manual can be incredibly helpful on occasion. --Matt -Original Message- From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 5:11 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Attitude of B van Ouwerkerk Let me give just one reply

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Tim Thorburn
Ok, I've been following this thread for the last few minutes ... and I have to wonder what is this list for if not to ask questions, thereby learning. Yes there's tons of different resources online, yup, that would mean this is one too. If you don't want to waste your time and read a