Re: [PHP] Re: unset() something that doesn't exist

2009-08-27 Thread Peter Ford
Stuart wrote: (among other things) If you ask me you are essentially describing engineers (or doers) as idiots and salespeople as morons. I won't debate the labels but unfortunately it's a fact of life that most management types in this world are ex-sales because they're the ones who know how

Re: [PHP] Re: unset() something that doesn't exist

2009-08-27 Thread Ben Dunlap
ISTR the Royal Air Force has a Specialist Aircrew track where the really good pilots, who wanted to fly planes rather than desks, could be promoted to management ranks but avoid the management duties. They had a position like this at the first big company I worked for -- Member of the

RE: [PHP] Re: unset() something that doesn't exist

2009-08-27 Thread Bob McConnell
From: Ben Dunlap ISTR the Royal Air Force has a Specialist Aircrew track where the really good pilots, who wanted to fly planes rather than desks, could be promoted to management ranks but avoid the management duties. They had a position like this at the first big company I worked for --

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread tedd
At 11:34 PM +0100 8/25/09, Stuart wrote: 2009/8/25 tedd tedd.sperl...@gmail.com: I can't believe that you are wasting time on this. This guy is beyond clueless. To be fair tedd English is clearly not his main language and I can see how you could misunderstand the original question as he

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Stuart
2009/8/26 Ralph Deffke ralph_def...@yahoo.de: sorry I mixed 'set' with 'given' and if my mistake did prevent all the smarter guys to give u an answer I'm sorry too. I hope not to be too limited to give u an answer well, think about how PHP 5 works. $a e.g. is a REFENCE to some memory where

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Stuart
2009/8/26 tedd tedd.sperl...@gmail.com: At 11:34 PM +0100 8/25/09, Stuart wrote: 2009/8/25 tedd tedd.sperl...@gmail.com:   I can't believe that you are wasting time on this. This guy is beyond  clueless. To be fair tedd English is clearly not his main language and I can see how you could

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread tedd
At 2:12 PM +0100 8/26/09, Stuart wrote: 2009/8/26 tedd tedd.sperl...@gmail.com: And, we all need a holiday... Apparently a holiday is out of the question, so I've decided to change jobs instead. A new environment, that's all I need. Loving your view of this list as a hierarchy of idiots

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Paul M Foster
On Wed, Aug 26, 2009 at 10:08:35AM -0400, tedd wrote: 2009/8/26 tedd tedd.sperl...@gmail.com: snip I had a client say to me once If you're so smart, then why aren't you rich? I answered quickly What makes you think I'm not? But privately his comment cut me to the quick. There was no

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread sono-io
On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote: and having a great marriage to a woman I can spend hours talking about nothing to. I'm jealous. Does she have a sister who's not spoken for? =;) Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Tom Worster
On 8/25/09 5:01 AM, Stuart stut...@gmail.com wrote: 2009/8/25 Ralph Deffke ralph_def...@yahoo.de: causes an error Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp6.php on line 42 This is a syntax error, not a runtime error. You've

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Paul M Foster
On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote: On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote: and having a great marriage to a woman I can spend hours talking about nothing to. I'm jealous. Does she have a sister who's not spoken for? =;) She and her

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread hack988 hack988
this post is away from the point :),but everyone's reply is interesting 2009/8/27 Paul M Foster pa...@quillandmouse.com: On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote: On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote: and having a great marriage to a woman I can

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Paul M Foster
On Thu, Aug 27, 2009 at 02:27:32AM +0800, hack988 hack988 wrote: this post is away from the point :),but everyone's reply is interesting 2009/8/27 Paul M Foster pa...@quillandmouse.com: On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote: On Aug 26, 2009, at 9:28 AM,

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread Stuart
2009/8/26 tedd tedd.sperl...@gmail.com: At 2:12 PM +0100 8/26/09, Stuart wrote: 2009/8/26 tedd tedd.sperl...@gmail.com:   And, we all need a holiday... Apparently a holiday is out of the question, so I've decided to change jobs instead. A new environment, that's all I need. Loving your

[PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
yes it does on my machine and it makes sence since it is not a function its a language construct. cheers ralph_def...@yahoo.de Shawn McKenzie nos...@mckenzies.net wrote in message news:4a935c42.2010...@mckenzies.net... Ralph Deffke wrote: causes an error Parse error: parse error, expecting

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Stuart
2009/8/25 Ralph Deffke ralph_def...@yahoo.de: causes an error Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp6.php on line 42 This is a syntax error, not a runtime error. You've clearly done something wrong. Tom Worster

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
of course its a syntax error, because unset() IS NOT A FUNCTION its a language construct ralph Stuart stut...@gmail.com wrote in message news:a5f019de0908250201g14e4b61cn73c6cd67da6f...@mail.gmail.com... 2009/8/25 Ralph Deffke ralph_def...@yahoo.de: causes an error Parse error: parse error,

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Tom Worster
On 8/25/09 5:00 AM, Ralph Deffke ralph_def...@yahoo.de wrote: of course its a syntax error, because unset() IS NOT A FUNCTION its a language construct that's hard to believe. i can't imagine how the compiler could reliably predict if the argument will be set or not when the unset line is

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
?php $a = bhsdhjk; unset(); ? Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp8.php on line 5 the function! doen't exist its a language construct http://us.php.net/manual/en/function.unset.php Stuart stut...@gmail.com wrote in

RE: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Aipok
: Re: [PHP] Re: unset() something that doesn't exist ?php $a = bhsdhjk; unset(); ? Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp8.php on line 5 the function! doen't exist its a language construct http://us.php.net/manual/en

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Stuart
2009/8/25 Ralph Deffke ralph_def...@yahoo.de: ?php $a = bhsdhjk; unset(); ? Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp8.php on line 5 the function! doen't exist its a language construct

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Stuart
Deffke ralph_def...@yahoo.de CC: php-general@lists.php.net Gesendet: Dienstag, den 25. August 2009, 14:51:09 Uhr Betreff: Re: [PHP] Re: unset() something that doesn't exist 2009/8/25 Ralph Deffke ralph_def...@yahoo.de: ?php $a = bhsdhjk; unset(); ? Parse error: parse error, expecting

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread tedd
At 2:31 PM +0100 8/25/09, Stuart wrote: Please don't reply directly unless you intend to pay me for my time. 2009/8/25 Ralph Deffke ralph_def...@yahoo.de: sorry but its about the top topic it say it never does an error if u dont give an argument I accept that your English is not great, but

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread hack988 hack988
php tigger is right i think. Because of Zend engine parse line by line.(I can't use English give expression to it with My Poor English). It mean that (What I think) unset function is right parse but error for is parameter. Tigger Display :Warning: Wrong parameter count for unset what is

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Stuart
2009/8/25 tedd tedd.sperl...@gmail.com: At 2:31 PM +0100 8/25/09, Stuart wrote: Please don't reply directly unless you intend to pay me for my time. 2009/8/25 Ralph Deffke ralph_def...@yahoo.de:  sorry but its about the top topic it say it never does an error if u dont  give an argument

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
sorry I mixed 'set' with 'given' and if my mistake did prevent all the smarter guys to give u an answer I'm sorry too. I hope not to be too limited to give u an answer well, think about how PHP 5 works. $a e.g. is a REFENCE to some memory where the variable resides. so the interpreter running

[PHP] Re: unset() something that doesn't exist

2009-08-24 Thread Ralph Deffke
causes an error Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp6.php on line 42 Tom Worster f...@thefsb.org wrote in message news:c6b87877.11463%...@thefsb.org... is it the case that unset() does not trigger an error or throw an

[PHP] Re: unset() something that doesn't exist

2009-08-24 Thread Shawn McKenzie
Ralph Deffke wrote: causes an error Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp6.php on line 42 Tom Worster f...@thefsb.org wrote in message news:c6b87877.11463%...@thefsb.org... is it the case that unset() does not trigger