RE: [PHP4BETA] A quick clarification question about PHP4...
| From: | Samuel Liddicott | Date: | Wed, 01 Sep 1999 08:55:07 +0000 |
| Subject: | RE: [PHP4BETA] A quick clarification question about PHP4... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3948@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Zeev Suraski [mailto:zeev@zend.com]
> Sent: Tuesday, August 31, 1999 10:57 PM
> To: Samuel Liddicott; Scott Stevenson; php4beta@lists.php.net
> Subject: RE: [PHP4BETA] A quick clarification question about PHP4...
>
> I won't try to convince you why this change isn't only necessary, but is
> also more correct. I'll just say C/C++ standards are far from being
> arcane, they've been thought through by very very bright people,
> and PHP's
> syntax is mostly built around these standards.
I know :) I mean'y, but who cares? If I wanted to use C++ or even server
side C-Script (which exists as an apache module) I would. I want php as
I've come to love it.
> Which brings us to the variable initialization change. First off, this
> change is trivial to work around in userland. True, you'd have
> to replace
> a simple variable initialization with a tiny chunk of code, but that's
> about it.
but machines are good at this!
> It is extremely complicated to implement initializations with runtime
> evaluated values. It's for a reason you cannot do that in C and C++, and
> generally (very generally), PHP 4.0 is similar to those languages in
> implementation concept (i.e. the same reasons that made it difficult to
> implement in C/C++ apply for PHP 4.0).
> Finally, you seem upset,
I'm not actually *very* upset, and I seriously like php. I'm just using
whatever means I can to demonstrate all the disadvantages of loosing this
feature. If, after having done so, you are adamant, then although sorry, I
am also satisfied.
> And finally, I'm not promising *anything*, and I mean that, but we might
> try to implement support for this in a future release of Zend.
> Don't hold
> your breath though, it may happen tomorrow, it may happen in a
> few months,
> and it may not happen. It's not a trivial thing to do at all, if at all
> feasible.
Wow a spark of hope!
I will be silent on this for now; but surely this can be done using the
method I suggested?
oh, and thanks again for Zend.
Sam