PHP3 -> PHP4 problem?
[email protected] ("Mitch Vincent")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
I'm just takeing an application from PHP3 to PHP4 and am noticing a very
strange error in one of the modules.
Parse error: parse error, expecting `','' or `';'' in ipa/class_report.req
on line 59
And the code (or at least part of it) :
class
Ipa_Report
{
/*
* Class variables.
*/
var $iNumPhones = 6; ## Number of phone numbers to allow.
var $sAgencyTable = "agencys";
/*
* All vars below are maintained by the class.
*/
var $aFormdata = array(); ## Array of data for the form.
var $sStartField = ""; ## First field to place cursor in after
var $iTime = time(); ##This is line 59
var $dThisMonth = date("m-01-Y");
<stop code>
.... I don't see it and I've been looking at it for a while, if someone can
see the problem I would greatly appreciate a pointer :-)
Thanks!
-Mitch