Re: [PHP] "const" in PHP

2003-10-16 Thread Marek Kilimajer
Are you using php5? const is not available in php4 or less. BENARD Jean-philippe wrote: Hi, With the ArcaAttributes class definition (see below) I've an arror when trying to use one of the constants of this class as this : echo ArcaAttributes::ATT_EMPLOYEENUMBER; Parse error: p

[PHP] "const" in PHP

2003-10-16 Thread BENARD Jean-philippe
Hi, With the ArcaAttributes class definition (see below) I've an arror when trying to use one of the constants of this class as this : echo ArcaAttributes::ATT_EMPLOYEENUMBER; Parse error: parse error, expecting `'('' in /dtpdev01/dtp/racine-web/arca_test/test.php on line