On Thu, 13 Oct 2005, Antony Dovgal wrote:
> On 13.10.2005 20:51, Marcus Bointon wrote:
>
> > in a.inc.php:
> >
> > > $a = 1;
> > ?>
> >
> > in b.class.php:
> >
> > > require 'a.inc.php';
> > class b {
> > function test() {
> > global $a;
> > echo $a;
> > }
> > }
>
On 14 Oct 2005, at 07:07, Unknown W. Brackets wrote:
If you include a file within a function, that file will be loaded
in that function's scope. Example:
The same happens if b.class.php is included within a function (or
class member, etc.) and includes a.inc.php, as in your example (I
am
On Fri, 14 Oct 2005, Marcus Bointon wrote:
> I'm aware of how it's supposed to work, but the problem is that it's doing
> something very screwy for me and not working like it should. Because it's so
> different to how it normally works, I can only conclude that it's a php.ini
> problem (though I c
This bug has many comments waiting for answer. Can someone, please, take a
look at it?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Jani Taskinen wrote:
On Thu, 13 Oct 2005, Lukas Smith wrote:
Jani Taskinen wrote:
Unnecessary, you can tell the user within the closing comment
in which branches you fixed the bug. Don't forget that it can
CHANGE later, someone reverts the fix or the fix wasn't needed
or.. y
Hi,
I've attached a patch, that will allow people to be able to change the client
default encoding type, as this was not possible before. I looked through the
php mysql client source, and found no traces of something that could actually
set the default client encoding type.
basically mysql_options(
Hi,
In the last hours I've been debugging and testing the new implementation of
the date related functions on windows.
I've found some little problems:
1) timelib_tz_lookup_table defines the gmtoffset as an int, but in the
fallback table there are some decimals numbers. So, either remove thos