Re: [PHP-DEV] Re: PHP5beta4: Problem using extensions or include

2004-02-20 Thread Erik Franzén
Apache (php5ts.dll) crashes during startup when I set the include path in php.ini include_path = ".;C:\php\PEAR\pear" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Method implementation

2004-02-20 Thread Herr Witten
It would be interesting to have variable methods: $object->method = 'method1'; $object->method(); The trouble is all of the extra method mechanisms, so perhaps functions should be defined with access too. Also, one should be able to include $this or have it understood. public function method1($

Re: [PHP-DEV] Re: Static weirdness..

2004-02-20 Thread Herr Witten
Well, calling a static method from an instance breaks down the logic. If it is static, then the instance has absolutely no bearing when calling it. Therefore, it logically makes sense to call only from the class name. Moreover, making a distinction between the method calling syntax begins to m

Re: [PHP-DEV] remote user

2004-02-20 Thread Alan Knowles
please ask questions like this on pear-general (login.bat) iexplorer.exe http://mysite/login.php?username=%LOGINNAME% .. store the IP in the database and javascript close the window... Regards Alan david wrote: Hello! I am attempting to discover the remote user for an INTRAnet site, but cannot se

Re: [PHP-DEV] Re: Static weirdness..

2004-02-20 Thread Cristiano Duarte
On Wed, 18 Feb 2004 17:37:31 +, Wez Furlong wrote: > C++ allows $a->bar() when bar() is a static method (yes, it is called > in a static context there too). > > IMO, there should be no error, warning or notice here. > I Agree. PHP is fine the way it is. Cristiano Duarte -- PHP Internals -

Re: [PHP-DEV] Static weirdness..

2004-02-20 Thread Andi Gutmans
This isn't a bug. The whole idea of a true static method is for $this not to be defined. Andi At 02:53 18/02/2004 -0500, John Coggeshall wrote: http://bugs.php.net/bug.php?id=27304 Marcus says he's brought this up before, and i think it really needs to be addressed before PHP 5 so I'm bringing

[PHP-DEV] remote user

2004-02-20 Thread david
Hello! I am attempting to discover the remote user for an INTRAnet site, but cannot see how to do this cleanly. I believe all I need is the user ID that logged in; when they log into their worksatation, that is good enough for this intranet set, and I am willing to believe who they say they are.

[PHP-DEV] Fw: [PHP-DOC] #27323 [NEW]: use of Apache 2.0 and PHP 4.3.4 on a Solaris production system

2004-02-20 Thread Nuno Lopes
> From: wzaccone at telcordia dot com > Operating system: Apache 2.0 > PHP version: 4.3.4 > PHP Bug Type: Documentation problem > Bug description: use of Apache 2.0 and PHP 4.3.4 on a Solaris production system > > Description: > > We still see the following warni

Re: [PHP-DEV] Re: Static weirdness..

2004-02-20 Thread Zeev Suraski
At 17:21 19/02/2004, Marcus Boerger wrote: calling a static method from anywhere is absolutley fine. This of course includes calling a static method of an instance's class, however that is syntactically accomplished. That's exactly correct. Zeev -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Re: Static weirdness..

2004-02-20 Thread Zeev Suraski
At 19:37 18/02/2004, Wez Furlong wrote: C++ allows $a->bar() when bar() is a static method (yes, it is called in a static context there too). IMO, there should be no error, warning or notice here. Same here. Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http:

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Daniel Convissor
On Fri, Feb 20, 2004 at 07:13:51PM +0100, Derick Rethans wrote: > TESTS=path/test/dir/*.phpt make test > so you don't need anything new for this to work. True enough. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and databa

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Derick Rethans
On Fri, 20 Feb 2004, Jan Lehnardt wrote: > Hi, > On 19 Feb 2004, at 22:50, Daniel Convissor wrote: > > As you probably know, run-tests.php runs recursively through each > > subdirectory encountered. I've run into circumstances where it is > > helpful > > to have it just run files in the present d

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Marcus Boerger
Hello Daniel, since there seems to be a usage i looked into including it. Unfortunatley your patch doesn't help me. I'd need you to look into php5's version of the script. There you'll see that the switch 'l' is already being used. Hence i'd say we go with 'L' unless you find a better name. Frida

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Marcus Boerger
Hello Daniel, Friday, February 20, 2004, 6:54:19 PM, you wrote: > Hi Marcus: > On Fri, Feb 20, 2004 at 06:40:22PM +0100, Marcus Boerger wrote: >> >> Anyway i see no reason because at least until >> now there is not a single one extension where this functionality would be of >> any use because t

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Daniel Convissor
Hi Marcus: On Fri, Feb 20, 2004 at 06:40:22PM +0100, Marcus Boerger wrote: > > Anyway i see no reason because at least until > now there is not a single one extension where this functionality would be of > any use because test directories do not have sub-test-dirs. The test platform is used in m

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Hartmut Holzgraefe
Marcus Boerger wrote: well i did some of those commits...long ago...or did i miss anything?? i was refering to stuff hidden somewhere on my disk .. i'd simply use php run-tests.php if you want local files only without recursion then you can use find but that doesn't help on windows. Anyw

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Marcus Boerger
Hello Hartmut, Friday, February 20, 2004, 12:49:32 PM, you wrote: > Jan Lehnardt wrote: >> TESTS=/path/test/dir make test or even TESTS=/path/to/test.phpt make test >> works just fine, already. > TESTS=/path/test/dir would still dive into /past/test/dir/subdir, > wouldn't it? >> There are plans

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Hartmut Holzgraefe
Jan Lehnardt wrote: TESTS=/path/test/dir make test or even TESTS=/path/to/test.phpt make test works just fine, already. TESTS=/path/test/dir would still dive into /past/test/dir/subdir, wouldn't it? There are plans to change run-tests.php so it accepts arguments instead of environment variables, bu

Re: [PHP-DEV] PHP5 Win32 Build w/o XML Link Failure

2004-02-20 Thread Wez Furlong
Hmm, that should work (although I don't think it does .sbr files). /me adds it to TODO --Wez. > When I run "nmake clean" is does remove the files in the root of the > Release_TS directory, but it doesn't remove files from any of the > extension specific directories, the SAPI directories, TSRM, o

Re: [PHP-DEV] PATCH: run-tests.php -l flag (local / non-recurisve)

2004-02-20 Thread Jan Lehnardt
Hi, On 19 Feb 2004, at 22:50, Daniel Convissor wrote: As you probably know, run-tests.php runs recursively through each subdirectory encountered. I've run into circumstances where it is helpful to have it just run files in the present directory, without recursion. I have created a patch which w

Re: [PHP-DEV] Re: cvs: php-src /ext/oci8 oci8.c

2004-02-20 Thread Antony Dovgal
On Fri, 20 Feb 2004 10:11:25 +0100 Ard Biesheuvel <[EMAIL PROTECTED]> wrote: > Jani Taskinen wrote: > > > sniper Thu Feb 19 22:05:43 2004 EDT > > > > Modified files: > > /php-src/ext/oci8 oci8.c > > Log: > > Only use Z_TYPE* with zvals.. > > > > -st

[PHP-DEV] Re: cvs: php-src /ext/oci8 oci8.c

2004-02-20 Thread Jani Taskinen
On Fri, 20 Feb 2004, Ard Biesheuvel wrote: >Jani Taskinen wrote: > >> sniper Thu Feb 19 22:05:43 2004 EDT >> >> Modified files: >> /php-src/ext/oci8oci8.c >> Log: >> Only use Z_TYPE* with zvals.. >> >> -static oci_descriptor *oci_new_desc(int type

[PHP-DEV] Re: cvs: php-src /ext/oci8 oci8.c

2004-02-20 Thread Ard Biesheuvel
Jani Taskinen wrote: sniper Thu Feb 19 22:05:43 2004 EDT Modified files: /php-src/ext/oci8 oci8.c Log: Only use Z_TYPE* with zvals.. -static oci_descriptor *oci_new_desc(int type,oci_connection *connection) +static oci_descriptor *oci_new_desc(int type, oci_connection