|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-06-02 10:21 UTC] rasmus
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
<?php if( $post != "" ) { SetCookie( "name", "$name" ); SetCookie( "email", "$email" ); } class Message { var $MsgDB = 0; Function XList( $start = 1, $depth = 1, $count = -1 ) { $i = $start; } } This gives me a parse error on the "Function..." line. I originally gave it the line cFunction List( $start = 1... ) which gave me an "Expected STRING" error. Changing the name of the function from "List" to "XList" changed the error to an "Expecting )" error. I do not understand this at all. On a related note, there is no documentation on the class expression in the online docs.