|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-04-10 13:10 UTC] stevenmoss at gmail dot com
Description: ------------ This bug was first reported (coincidentally) exactly one year ago as bug #32657 in Version 5.0.4, it was deemed bogus. I believe that judgement was in error. Reproduce code: --------------- "Test.php" <?php Class TestObject { function ReturnTest() { require("ReturnTest.php"); } } $oTest = New TestObject(); Echo $oTest->ReturnTest(); ?> "ReturnTest.php" <?php return "Test"; ?> Expected result: ---------------- "Test" should be output Actual result: -------------- No output PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 23:00:01 2025 UTC |
Well that's just crazy, but thanks, I can solve my problem adequately with this amendment: function ReturnTest() { return ( require("ReturnTest.php") ); } (Just in case someone else thinks they're going to re-submit this bug) S