#26430 [Opn->Bgs]: class public{} failed.

From: Date: Thu, 27 Nov 2003 08:56:08 +0000
Subject: #26430 [Opn->Bgs]: class public{} failed.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51149@lists.php.net to get a copy of this message
ID: 26430 Updated by: derick@php.net Reported By: 336764 at 163 dot com -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: MandRake PHP Version: 5.0.0b2 (beta2) New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php "public" is a reserved word in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-11-27 00:29:40] 336764 at 163 dot com Description: ------------ class public { .... } the said "syntax error..." Reproduce code: --------------- class public { .... } the said "syntax error..." ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26430&edit=1

« previous php.bugs (#51149) next »