problems using chr() in an Object
| From: | Martín Marqués | Date: | Thu, 28 Apr 2005 12:04:56 +0000 |
| Subject: | problems using chr() in an Object | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214076@lists.php.net to get a copy of this message | ||
I have an object class in which I'm doing chr() calls, especifically in the
definition of some variables, and when loading the class I get this error:
Parse error: parse error, unexpected '(', expecting ',' or ';' in
Ticket.inc
on line 51
Line 51 has:
var $textoInicio = chr(27) . chr(64);
If I eliminate all the lines that initializa text variables with chr()
everything works OK, else I get these errors.
Any idea on whey this is happening?
--
09:01:41 up 26 days, 17:30, 3 users, load average: 1.18, 0.80, 0.54
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------