Re: Namespace Global User Function Calls

From: Date: Thu, 21 Aug 2008 13:06:51 +0000
Subject: Re: Namespace Global User Function Calls
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-40048@lists.php.net to get a copy of this message
Stanislav Malyshev wrote:
Hi! Tried this code (adding echo before 'Global Called!' so that it would actually output something) - works just fine.
I noticed that error yesterday when I was testing on another computer. It did work on this computer. I'll have to go back today to the first computer and do some checking. Basically, I'm making a system to integrate with forum software, including phpBB3. I was trying to call their add_log function from a namespace > class > method of mine. It seemed if I called it from the global space it worked, but not from the namespace. Not sure what was going on but I'll try to do further checking. Is there anything I could look at to help troubleshoot this? Thanks

« previous php.internals (#40048) next »