private static variable not running
- From: lamthierry@xxxxxxxxx
- Date: 31 May 2006 08:30:04 -0700
I have the following codes,
<?
private static $instance;
?>
which fails at he private static line with the following error message:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION
or T_FUNCTION or T_VAR or '}'
The above was run on linux with PHP 5.1, however the above codes run
fine on windows with the same PHP version. Any help please? I really
need to get my singleton running.
Thierry
.
- Follow-Ups:
- Re: private static variable not running
- From: DonO
- Re: private static variable not running
- Prev by Date: How to connect from a remote location to my ms-access database on my own computer
- Next by Date: Excel export problem
- Previous by thread: How to connect from a remote location to my ms-access database on my own computer
- Next by thread: Re: private static variable not running
- Index(es):
Relevant Pages
|