|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2015-12-19 04:06 UTC] ajf@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 16:00:01 2025 UTC | 
Description: ------------ Example A: echo "a"; $A = new A(); //A.php in the application/library,YAF will autoload the class echo "b"; The output is: a b But Should be: ab Example B: I make a Class like this and put the file in application/library/Controller.php abstract class Controller extends Yaf_Controller_Abstract{ ......... } Then I create a Index.php in application/controllers/index.php class IndexController extends Controller { public function indexAction() { echo "a"; } } I call the action index,the output should be "a",but the result is "\na",an extra character "\n" appear before a.