#36089 [Opn->Fbk]: using require_once with variable names for path doesnt realize they are same

From: Date: Thu, 19 Jan 2006 16:05:19 +0000
Subject: #36089 [Opn->Fbk]: using require_once with variable names for path doesnt realize they are same
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92223@lists.php.net to get a copy of this message
ID: 36089 Updated by: derick@php.net Reported By: diana at hotelkey dot com -Status: Open +Status: Feedback Bug Type: Variables related Operating System: Windows and Linux PHP Version: 4.4.2 New Comment: Are you sure the capitalization of the two are the same? Previous Comments: ------------------------------------------------------------------------ [2006-01-19 17:00:53] diana at hotelkey dot com Description: ------------ part of our application does a require once like this: require_once Path::getPath('libraries')."file.php" and other parts do it like this require_once $libraries_path."file.php" php doesnt recognize these as the same even though they both result in an identical string as the path and therefore includes the file twice. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36089&edit=1

« previous php.bugs (#92223) next »