On 6/6/05, Chris Drozdowski <[EMAIL PROTECTED]> wrote:
> I perused the discussion about the inclusion of "goto" into the PHP
> language on the php.internals list.

Yeah, I've been following it as well..  seems there would be bigger
fish to fry, I dunno.  I benched Ruby and PHP doing some simple random
number addition recently and PHP is pretty slow in comparison.  If the
simple stuff is slow I imagine the complex stuff is pretty slow as
well.  Not bashing PHP at all, but I wouldn't call it 'fast' either.

I doubt many people would use goto anyway.  I have nothing against it
technically or personally, but over the years it's been burned into my
brain that using it is _bad_.  *shrug*  I suspect I might use it if it
were there.

I do think I'd make heavy use of ifsetor(), I would gladly use that instead of
$i = isset( $_GET[ 'i' ] ) ? $_GET[ 'i' ] : 0;

>  From a PHP end-user's perspective, I would suggest that rather than
> focusing on adding new language constructs such as goto, that the
> development team put 100% focus on making what it already has as fast
> and stable as possible (and maybe iron out the Unicode issue) so that
> the corporate and hosting community will more readily accept it.

I hear ya on that.  I think it might be similar to the Apache 2 thing.
 We already got PHP4 which works pretty well so why risk it.  PHP5
runs great for me, but I see their point of view.

> I've been begging my hosting company to upgrade to 5.0.x for months but
> they say "we're going to wait until next year when it has stabilized."

The guys at http://www.ocssolutions.com gave me PHP 5.04, MySQL 4.1,
and Ruby on Rails this weekend.  They will build a box to your spec,
even for a shared account.  I'm not affiliated with them in any way,
found them using Google.

> That's really frustrating because I find 5.x's current features so
> compelling and useful.

I find a great many of the new 5.0 features get emulated using PHP4
code in the user comments in the manual.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to