Categories > TBS next version >

Zend Debugger Errors in TBS 20b26

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Joe Hardesty
Date: 2004-10-19
Time: 02:35

Zend Debugger Errors in TBS 20b26

I would like to pass this along for your information:

I normally use Zend Studio for development and running PHP 5. I am new to TBS and trying to work in Zend using TBS 20b26, but the debugger reports errors for tbs_class_20b26.php as follows:

Multiple occurrences (such as line 38,39,40...

"var: Deprecated. Please use the public/private/protected modifiers"

Also in the case of lines 739,1145,1306, and 2943:

"Assigning the return value of new by reference is deprecated"

I have been able to fix all of the "var" errors by simply replacing them with "public", but do not know how to fix the "new" references.

Just thought you would like to know.

Thanks for a very nice program.

Joe
By: Skrol29
Date: 2004-10-19
Time: 10:03

Re: Zend Debugger Errors in TBS 20b26

Hello Joe,

Thanks for this information.
It means TBS will need a special version for PHP 5.

To fix the "new" reference problem, just replace "&new" instructions by "new".
By: Joe Hardesty
Date: 2004-10-19
Time: 15:40

Re: Zend Debugger Errors in TBS 20b26

Thanks Skrol,

The good news is that once I changed all the 'var' and '&new" references,
tbs_class_20b26.php runs through the debugger without error.

Thanks again for the help!

Joe