[Mono-list] PHP# - feasibility study so far - for comment

Derick Rethans mono@derickrethans.nl
Sun, 15 Dec 2002 19:24:26 +0100 (CET)

On Sun, 15 Dec 2002, Angel "Java" Lopez wrote:

> I think that we can implement something like PHPValue, and then subclass:
> PHPString, PHPInteger, PHPReal, PHPArray, PHPObject and PHPReference, to
> manage dynamically the php values.... The basic operators (like . the
> concatenate operator), can be implemented like methods, one version for each
> class...

Yup, exactly my idea.

> The PHP objects are "associative-array-like" objects, and can be
> created on the fly (an example: mysql_fetch_object) without a predefined
> class. Of course, the objects needs a method-table....
> But, the PHP#, is an interpreter?

From what I know it would compile down to CIL, so it's not interpreted 
anymore then. (well, not required to)



 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/