ID:               5607
 Updated by:       [EMAIL PROTECTED]
-Reported By:      [EMAIL PROTECTED]
+Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Other
 Operating System: MS Windows NT 4.0
 PHP Version:      4.0.1pl2
 New Comment:

Hi,

I looked for fix of the same problem without success.
Have you now a solution concerning this problem of gaobal variables
with require command ?
Does an include() fix the problem ?

Thank you in advance
HV


Previous Comments:
------------------------------------------------------------------------

[2000-08-08 23:03:11] [EMAIL PROTECTED]

Closed due to missing user feedback.

------------------------------------------------------------------------

[2000-07-17 06:42:18] [EMAIL PROTECTED]

Please provide runnable reproducing code.

------------------------------------------------------------------------

[2000-07-15 11:37:03] [EMAIL PROTECTED]

When I define variable within included part of code than my variable is
not visible in fuctions within included part.

Example:

.
.
.
require(foo.php)
.
.
.


[foo.php]
.
.
.
$variable="something";
.
.
.
here is variable visible
.
.
function Foo(){
global $variable;
.
.
here is variable not visible for some strange reasons.
.
.
}


please check this situation.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=5607&edit=1

Reply via email to