[PHP] instantiating objects

2003-02-06 Thread Beau Hartshorne
I'm just starting to use PEAR, and have seen several ways of instantiating the PEAR objects: $form = new HTML_QuickForm(); $form =& new HTML_QuickForm(); $dbh = DB:connect("dsn"); $dbh = new DB(); $mail_object =& Mail::factory('sendmail', $params); Can anyone explain (or point to dome docs that e

[PHP] Instantiating Objects ?

2002-06-13 Thread Kevin Caporaso
Is it possible to instantiate an object from one of my c++ shared libraries (goo.so) and then call methods on that object? How efficient is PHP's way of doing it? (if possible) Also, can I pass things like the querystring and form data into that instantiated object? Thanks for any response! $Kev