Date: 12/11/00
- Next message: Colin Viebrock: "[PHP-DEV] books <email protected>"
- Previous message: Michael Boer: "[PHP-DEV] Re: PHP 4.0 Bug #7867 Updated: parsing *.html through PHP breaks Apache mod_autoindex"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] get_included_files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
$pwd
/home/joey
$/usr/bin/php
<?php
include "Sybase.phc";
$a = get_included_files();
var_dump($a);
?>
X-Powered-By: PHP/4.0.4RC3
Content-type: text/html
array(1) {
[0]=>
string(29) "/usr/local/lib/php/Sybase.phc"
}
Looks like it works as requested using 4.0.4RC3...
On Mon, 11 Dec 2000, Andi Gutmans wrote the following to Alex Black and...:
> Only scripts that are include_once()'ed or require_once()'ed are added to
> the included_files.
> The reason include()/require() don't do that is because they don't check
> the full path of the file and the hash to see if the file has been included
> yet. Doing this would likely slow them down a bit. Maybe we should just put
> the relative path in the Hash?
>
> Andi
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Colin Viebrock: "[PHP-DEV] books <email protected>"
- Previous message: Michael Boer: "[PHP-DEV] Re: PHP 4.0 Bug #7867 Updated: parsing *.html through PHP breaks Apache mod_autoindex"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] get_included_files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

