Re: [PHP-DEV] With End With

2003-12-13 Thread jason davidson
Timm Friebe wrote: On Thu, 2003-12-11 at 00:29, Alan Knowles wrote: This has been discussed before on the mailing list, (either this or ZE2) and rejected. - have a look through the archives http://zend.com/phorum/read.php?num=6&id=242&loc=0&thread=242 - Timm THanks for the thread, i

Re: [PHP-DEV] With End With

2003-12-13 Thread Timm Friebe
On Thu, 2003-12-11 at 00:29, Alan Knowles wrote: > This has been discussed before on the mailing list, (either this or ZE2) > and rejected. - have a look through the archives http://zend.com/phorum/read.php?num=6&id=242&loc=0&thread=242 - Timm -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] With End With

2003-12-10 Thread jason davidson
Alan Knowles wrote: for the life of me I cant remember the date of it, (or even find it on google/zend.com/marc.theaimsgroup... etc.) from what i remember, it had a number of flaws. a) ambiguaty of the source of a variable or method, (as it was originally illustrated as poluting the local vari

Re: [PHP-DEV] With End With

2003-12-10 Thread Alan Knowles
for the life of me I cant remember the date of it, (or even find it on google/zend.com/marc.theaimsgroup... etc.) from what i remember, it had a number of flaws. a) ambiguaty of the source of a variable or method, (as it was originally illustrated as poluting the local variable namespace) b) t

Re: [PHP-DEV] With End With

2003-12-10 Thread jason davidson
Derek Ford wrote: This is highly unusual I recently started gathering people who could implement and opinions of those who wanted or didn't want a 'with' construct. http://www.phpfreaks.com/forums/topic11451.php I toyed with the idea, and then when I went into core to implement it, I beca

Re: [PHP-DEV] With End With

2003-12-10 Thread Derek Ford
This is highly unusual I recently started gathering people who could implement and opinions of those who wanted or didn't want a 'with' construct. http://www.phpfreaks.com/forums/topic11451.php I toyed with the idea, and then when I went into core to implement it, I became _very_ confused

Re: [PHP-DEV] With End With

2003-12-10 Thread Alan Knowles
This has been discussed before on the mailing list, (either this or ZE2) and rejected. - have a look through the archives Regards Alan netcat wrote: On Wed, 2003-12-10 at 03:01, jason davidson wrote: Ive seen the Control Flow constuct With ...End With used in VB (yup, VB.. :)) although im not a

Re: [PHP-DEV] With End With

2003-12-10 Thread netcat
On Wed, 2003-12-10 at 22:42, Justin Hannus wrote: > I've used the "with (object)" construct in JavaScript before and I'm > assuming it would work the same, but instead of: > > With $obj > ->methodCall(); > // ugly ... > > it would be much sexier like: > > with ($obj) { > methodCall(); > } >

Re: [PHP-DEV] With End With

2003-12-10 Thread BDKR
walt boring wrote: BDKR wrote: jason davidson wrote: Ive seen the Control Flow constuct With ...End With used in VB (yup, VB.. :)) although im not a fan of VB, i liked the feature, is there any consideration to this kind of construct for php. here the only example if it i could find online for

Re: [PHP-DEV] With End With

2003-12-10 Thread Justin Hannus
I've used the "with (object)" construct in JavaScript before and I'm assuming it would work the same, but instead of: With $obj ->methodCall(); // ugly ... it would be much sexier like: with ($obj) { methodCall(); } But its all just sugar. As far as implementing it in userland with a recurs

Re: [PHP-DEV] With End With

2003-12-10 Thread walt boring
BDKR wrote: jason davidson wrote: Ive seen the Control Flow constuct With ...End With used in VB (yup, VB.. :)) although im not a fan of VB, i liked the feature, is there any consideration to this kind of construct for php. here the only example if it i could find online for anyone that hasnt

Re: [PHP-DEV] With End With

2003-12-10 Thread BDKR
jason davidson wrote: Ive seen the Control Flow constuct With ...End With used in VB (yup, VB.. :)) although im not a fan of VB, i liked the feature, is there any consideration to this kind of construct for php. here the only example if it i could find online for anyone that hasnt seen it befor

Re: [PHP-DEV] With End With

2003-12-10 Thread netcat
On Wed, 2003-12-10 at 03:01, jason davidson wrote: > Ive seen the Control Flow constuct With ...End With used in VB (yup, > VB.. :)) although im not a fan of VB, i liked the feature, is there any > consideration to this kind of construct for php. > here the only example if it i could find online