[phplib-dev] Question about broken OOP stuff From: James McCann (james <email protected>)
Date: 05/16/00

Hello, I am using PHP at work and have run into several
difficulties using the OO features of PHP. I ended up
having to use a number of irritating workarounds that
will make the code harder to maintain.

Specifically:
$obj[0]->get_next()->display();
Doesn't work

Also variable interpolation doesn't seem to work right:
# OK
print $obj[0]->string . "<br>\n";
# OK
printf("%s<br>\n", $obj[0]->string);
# Broken
printf("$obj[0]->string<br>\n");

Also:
# Broken
$obj[0]->iarray[0] = 13;
$obj[0]->display();

Other than the problems w/ object referencing I find that
PHP fits the bill for our project quite nicely, & I would
like to continue to use it, but I don't think it will be
possible to use it if OO stuff is broken. Do you have any
idea when these might be addressed?

Thanks,
James
  
-----Original Message-----
From: uw [mailto:phplib-dev <email protected>]
Sent: Tuesday, May 16, 2000 9:02 AM
To: phplib-dev <email protected>
Subject: [phplib-dev] cvs commit

From: uw
Date: Tue May 16 18:01:59 2000
Added files:
      php-lib/php/form/panemanager.inc

Log message:
.. forgot.

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>