Hi,

Yes, old style constructors still work. Code is only more readable with create() and open() methods.

Could I ask you to give piece of code which generates this error?

With best regards,
   Alexander Veremyev.

lukemack wrote:
Thanks for your reply. I did try using those two methods in the way you
describe but both generated errors:

PHP Parse error:  syntax error, unexpected T_STRING, expecting T_VARIABLE or
'$'

I personally couldn't see anything wrong with the syntax but I eventually
got the code working without those methods.

Reply via email to