|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-07 16:40 UTC] stas at cvs dot php dot net
[2000-07-07 18:47 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 21:00:01 2026 UTC |
Config options: ./configure \ --with-mysql=/usr/local/mysql \ --with-apache=/usr/local/src/apache \ --with-gd=/usr/local/src/gd \ --with-jpeg-dir=/usr/local/src/jpeg \ --with-xml \ --with-mhash=/usr/local/src/mhash \ --enable-versioning Sample script: <?php class Bug { function test() { $x = 5; } } $nl = new Bug(); $nl-> test(); Header('Content-type: text/plain'); echo 'Hello.'; ?> Header() complains that output started on line 11, which is the "$nl->" line. On references to variables (instead of method calls) this would sometimes cause the parser to output an error. Note, however, that: $nl->[space] test(); and: $nl ->test(); ...do not have this problem.