Re: PHP 6.0 Wishlist

From: Date: Thu, 25 Aug 2005 16:34:14 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-18432@lists.php.net to get a copy of this message
I am PHP programmer since a time and I wish php to be more closed to a serious language. I am annoyed by a lot of things in PHP. For example in the following code: <?php while($ch != EOF) $thestring .= $ch; print $thestring; ?> I ask you why $thestring is available outside of the while loop. I don't want to be boring but php have serious problems like no-namespaces. It gives headaches to any C programmer. It is PHP created for designers with no programming knowledge or for real programmers. Why not let the graphical webmasters to use other SSI like Escapade :) (just kiding). Please read : Why PHP sucks (for large systems) Edwin Martin <edwin@bitstorm.org>, PHP Annoyances, I hate PHP, Experiences of Using PHP in Large Websites, Aaron Crane <aaron.crane@gbdirect.co.uk> It is PHP created for average programmers or by average programmers. I don't think so ...maybe it is just oversimplification that leads to excessive complexity ... just saying... On 8/25/05, Stanislav Malyshev <stas@zend.com> wrote: > JM>>I think I remember reading that PHP always evaluates expressions from > right > JM>>to left, so I guess there may be a considerable codebase change > required. > > I personally don't see a point in "considerable codebase change" just for > the sake of syntactic prettyness. It doesn't add anything to the language > you couldn't easily do otherwise, and the benefit just doesn't justify the > investment of effort in this. > -- > Stanislav Malyshev, Zend Products Engineer > stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#18432) next »