RE: [PHP-DEV] PHP 4.0 Bug #6078 Updated: Make get_included/requir ed_files() work even if files do not end i .php

From: Date: Thu, 10 Aug 2000 09:27:00 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #6078 Updated: Make get_included/requir ed_files() work even if files do not end i .php
Groups: php.dev 
Request: Send a blank email to php-dev+get-28400@lists.php.net to get a copy of this message
If you meen the code Zeev & Andi commited yesterday, then it´s not fixed. Actually, it seems liek the new code made it worse. I just noticed that the snippet below doesn´t output anything with the 200008092345 CVS snapshot. But if i "downgrade" to the 200008080145 snapshot the same snippet outputs: array(1) { ["class2"]=> string(30) "/htdocs/development/class2.php" } array(0) { } <? require('class1.php'); require_once('class2.php'); include_once('class3.php'); include('class4.php'); var_dump(get_required_files()); echo '<br>'; var_dump(get_included_files()); ?> --marten > -----Original Message----- > From: Bug Database [mailto:php-dev@lists.php.net] > Sent: Thursday, August 10, 2000 11:03 PM > To: php-dev@lists.php.net > Subject: [PHP-DEV] PHP 4.0 Bug #6078 Updated: Make > get_included/required_files() work even if files do not end i .php > > > ID: 6078 > Updated by: stas > Reported By: marten@jerbro.se > Status: Analyzed > Bug Type: Scripting Engine problem > Assigned To: > Comments: > > Oh, sorry - seems that this insanity is indeed in the code. I > just didn't look well enough (being sure this couldn't be > there). I hope new include/require code will fix that, but in > the meantime I reclassify this as a bug. > > Full Bug description available at: http://bugs.php.net/?id=6078 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.dev (#28400) next »