|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2000-01-29 12:30 UTC] zeev at cvs dot php dot net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 05:00:02 2025 UTC | 
Defining functions and classes inside required files no longer works. Following script should echo "foobar" but does not : require.php : <?php echo "foo"; require("./inc.php"); //defines foo() foo(); ?> inc.php : <?php function foo() { echo "bar\n"; } ?> ./php require.php X-Powered-By: PHP/4.0b4-dev Content-Type: text/html foo Also, scripts die silently if you define classes inside required files.