Re: Fw: [PHP-DEV] small patch (fixes #19613)

2003-07-24 Thread Zeev Suraski
Doesn't look quite right - the source of the problem was that the unsetenv routine wasn't working right under Windows. This patch made the unsetenv routine not run properly, because the .key element effectively stopped being the key, but also contained the value. A side effect of that was tha

Re: [PHP-DEV] URGENT PROPOSAL

2003-07-24 Thread Kevin Waterson
This one time, at band camp, "MRS EKI OMORODION" <[EMAIL PROTECTED]> wrote: > INTRODUCTION: l am Mrs. Eki Omorodion l know this proposal will come to > you as a surprise because we have not met before either physically or > through correspondence. I have no doubt in your > ability to handle th

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.hzend_execute.c zend_language_parser.y

2003-07-24 Thread Sebastian Bergmann
Zeev Suraski wrote: > Log: > Support references in foreach() > Syntax: > foreach ($arr as &$val) > foreach ($arr as $key => &$val) Does this mean that before this patch foreach ($arr as $val) {} did not put a reference in $val but a copy (clone)? -- Sebastian Bergmann htt

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_execute.c zend_language_parser.y

2003-07-24 Thread Zeev Suraski
At 16:03 24/07/2003, Sebastian Bergmann wrote: Zeev Suraski wrote: > Log: > Support references in foreach() > Syntax: > foreach ($arr as &$val) > foreach ($arr as $key => &$val) Does this mean that before this patch foreach ($arr as $val) {} did not put a reference in $val b

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.czend_compile.h zend_execute.c zend_language_parser.y

2003-07-24 Thread Sebastian Bergmann
Zeev Suraski wrote: > A copy, yes. Why? I thought the Zend Engine 2's new Object Model passed worked with references by default and only uses copies when "asked". -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://profes

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_execute.c zend_language_parser.y

2003-07-24 Thread Zeev Suraski
At 19:12 24/07/2003, Sebastian Bergmann wrote: Zeev Suraski wrote: > A copy, yes. Why? I thought the Zend Engine 2's new Object Model passed worked with references by default and only uses copies when "asked". This has nothing to do with the new object model. That's why I used the word 'copy'

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.czend_compile.h zend_execute.c zend_language_parser.y

2003-07-24 Thread Sebastian Bergmann
Zeev Suraski wrote: > This has nothing to do with the new object model. Got it, thanks, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.czend_compile.h zend_execute.c zend_language_parser.y

2003-07-24 Thread walt boring
Along the lines of talking about references with foreach(), is it possible to allow PHP5's implementation of func_get_args() to pass args as references, instead of the copy it is doing in php4 ? Thanks Walt -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www