Re: [PHP-DEV] RE: PHP 4.0 Bug #9350 Updated: Internet Time Incorect

2001-02-19 Thread Derick Rethans
On Tue, 20 Feb 2001, Shaun Williams wrote: > I don't understand. I am only just learning PHP and what is this CVS > stuff...what is a snapshot??? CVS is a system in which we manage the source of PHP, that should not be of any concern to you. Every hour or so, the PHP source is packaged as a snap

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Stig Venaas
On Mon, Feb 19, 2001 at 12:02:48PM -0600, Andrei Zmievski wrote: > On Mon, 19 Feb 2001, Jason Greene wrote: > > > We can change in_array() to return the the key if it's found, and false > > > if it's not, but imagine all the scripts it would break.. > > about 1/4th of mine : ) > > > > Well I thin

[PHP-DEV] RE: PHP 4.0 Bug #9350 Updated: Internet Time Incorect

2001-02-19 Thread Shaun Williams
I don't understand. I am only just learning PHP and what is this CVS stuff...what is a snapshot??? -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 20 February 2001 6:39 PM To: [EMAIL PROTECTED] Subject: PHP 4.0 Bug #9350 Updated: Internet Time Incorect ID

[PHP-DEV] PHP 4.0 Bug #9350 Updated: Internet Time Incorect

2001-02-19 Thread derick
ID: 9350 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Date/time related Assigned To: Comments: I think was fixed in CVS, could you try a snapshot from snaps.php.net ans reopen this bugreport when it doesn't solve the problem? Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #9349 Updated: Coding problem in mod_dav module

2001-02-19 Thread kehchen
ID: 9349 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure Description: Coding problem in mod_dav module Sorry! Finally found the early report regarding this problem. It was in BugID: 7943 The URL is: http://bugs.php.net/bugs.php?id=7943

[PHP-DEV] PHP 4.0 Bug #9350: Internet Time Incorect

2001-02-19 Thread swilliams
From: [EMAIL PROTECTED] Operating system: Windows 2000 (IIS5) PHP version: 4.0.4pl1 PHP Bug Type: Date/time related Bug description: Internet Time Incorect I used this script: ServerTime: $SerTimeServerLongDate: $SerLongDateServerSwatch: $SerBeat"; ?> The internet time sh

[PHP-DEV] PHP 4.0 Bug #9349: Coding problem in mod_dav module

2001-02-19 Thread kehchen
From: [EMAIL PROTECTED] Operating system: Linux 2.2.18 (Redhat) PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Coding problem in mod_dav module There are 3 problems when enable the mod_dav module: 1. undefine data type "request_rec" in "ext/dav/php_dav

[PHP-DEV] PHP 4.0 Bug #9237 Updated: date function parameters won't work on PWS

2001-02-19 Thread derick
ID: 9237 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Assigned To: Comments: The usage of $dat[mon] is not the way it shoudl work. Without the "'s, it's not possible for PHP to see whether mon is a constant, or an index. Therefore you should alway

[PHP-DEV] PHP 4.0 Bug #9237 Updated: date function parameters won't work on PWS

2001-02-19 Thread ajandris
ID: 9237 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Description: date function parameters won't work on PWS Yes, the message I received is like this ... I didn't receive that before. Suggestions: don't set error reporting by default so high in installation wiz

[PHP-DEV] PHP 4.0 Bug #9099 Updated: please include one browscap.ini

2001-02-19 Thread andre
ID: 9099 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Feature/Change Request Assigned To: andre Comments: AFAIK, we are not allowed to include the cyscape one, but there is another one out there, I am sure we have discussed it some day before and

[PHP-DEV] PHP 4.0 Bug #9092 Updated: variables-by-references in class constructor not working

2001-02-19 Thread andre
ID: 9092 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Class/Object related Assigned To: Comments: covered by 6343 Previous Comments: --- [2001-02-03 19:00:05] [EMAIL PROTEC

[PHP-DEV] PHP 4.0 Bug #8978 Updated: Add a 'readonly' possibility to the session module

2001-02-19 Thread andre
ID: 8978 Updated by: andre Reported By: Maxim Derkachev <[EMAIL PROTECTED]> Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-01-29 06:21:31] Maxim Derk

[PHP-DEV] PHP 4.0 Bug #8796 Updated: "$foo->bar->baz" ambiguity in double quoted strings

2001-02-19 Thread andre
ID: 8796 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: there is nothing ambigous (the way you described), except if enclosed by double quotes in strings, we should maintain backwards compatibility here

[PHP-DEV] PHP 4.0 Bug #3275 Updated: [PEAR] ICQ support

2001-02-19 Thread andre
ID: 3275 Updated by: andre Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Assigned To: Comments: adding PEAR keyword, that would be a typical C extension for PEAR Previous Comments: --- [2001

[PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-19 Thread andre
ID: 9136 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-02-06 17:41:12] [EMAIL PROTECTED] maybe we s

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /win32 php4dllts.dsp

2001-02-19 Thread Sebastian Bergmann
Zeev Suraski wrote: > zeevMon Feb 19 21:14:33 2001 EDT > > Modified files: > /php4/win32 php4dllts.dsp > Log: > Restore COM.c COM.c D:\Programme\MS Visual Studio\Projekte\php\php4\ext\com\COM.c(62) : error C2059: Syntaxfehler : 'string' D:\Programme\MS Visual Studio\Projekt

[PHP-DEV] PHP 4.0 Bug #8816 Updated: cross subscript object variable access

2001-02-19 Thread andre
ID: 8816 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Class/Object related Assigned To: Comments: Please provide a reduced code fragment (<15 lines) producing this behaviour. Put no database queries etc. in it and rely on no external files/funct

[PHP-DEV] PHP 4.0 Bug #9086 Updated: auto trans-sid and output_handler

2001-02-19 Thread andre
ID: 9086 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: this should be covered by the "trans-sid as output handler" RFE Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #9084 Updated: url-activation for simple URLs

2001-02-19 Thread andre
ID: 9084 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: 1) implemented in PEAR 2) not sure whether this should be implemented in PEAR or PHP, we have get_meta and so on, str_add_anchors() would not h

[PHP-DEV] PHP 4.0 Bug #9331 Updated: No operator overloading available

2001-02-19 Thread andre
ID: 9331 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Suspended Bug Type: Feature/Change Request Assigned To: Comments: I hardly believe this will be implemented anytime soon or accepted at all, suspending (for the records) Previous Comments: -

RE: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Chris Newbill
I'm not sure what all has been suggested, so sorry if this has been already. Why not just make a simple form and avoid clutter completely? (ie all the links) Could allow them to choose source/binary, os, PHP version, compression format, etc. Chris Newbill Zeev Suraski wrote: > About bzip2 - m

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Zeev Suraski
At 07:51 20/2/2001, Emiliano wrote: >Zeev Suraski wrote: > > > About bzip2 - my personal opinion is that we should probably not bother > > with it. It's slower and it's much less standard (there's a world beyond > > Linux, remember). > >I have it on the BSDs and Solaris too. But most people don'

[PHP-DEV] PHP 4.0 Bug #979 Updated: [PEAR] Openmarket Transact support

2001-02-19 Thread andre
ID: 979 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-02-10 12:35:51] [EMAIL PROTECTED] doesn't loo

[PHP-DEV] PHP 4.0 Bug #3275 Updated: [PEAR] ICQ support

2001-02-19 Thread andre
ID: 3275 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-02-10 13:59:13] [EMAIL PROTECTED] refiling a

[PHP-DEV] PHP 4.0 Bug #1515 Updated: improving php standalone mode

2001-02-19 Thread andre
ID: 1515 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2000-05-19 09:56:14] [EMAIL PROTECTED] php -q is

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Emiliano
Zeev Suraski wrote: > About bzip2 - my personal opinion is that we should probably not bother > with it. It's slower and it's much less standard (there's a world beyond > Linux, remember). I have it on the BSDs and Solaris too. > We definitely can't give up our .tar.gz/.zip distros, > because

[PHP-DEV] PHP 4.0 Bug #9068 Updated: Bugs in OO which are leaking memory...

2001-02-19 Thread andre
ID: 9068 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Class/Object related Assigned To: andre Comments: Previous Comments: --- [2001-02-02 04:13:19] [EMAIL PROTECTED] Note: I

[PHP-DEV] PHP 4.0 Bug #9194 Updated: Objects not properly stored as session variables

2001-02-19 Thread andre
ID: 9194 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Class/Object related Assigned To: andre Comments: Please provide a reduced code fragment (<15 lines) producing this behaviour. Put no database queries etc. in it and rely on no external files/

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread André Langhorst
> I want to fix chunked output buffering for 4.0.5 (it doesn't work right > at all in 4.0.4). I think it'll take me about 10 days (I'll probably > not have time to work on it this week). glad to hear this, I think this is *definitely* worth waiting... :) andré -- · André Langhorstt

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Zeev Suraski
I want to fix chunked output buffering for 4.0.5 (it doesn't work right at all in 4.0.4). I think it'll take me about 10 days (I'll probably not have time to work on it this week). About bzip2 - my personal opinion is that we should probably not bother with it. It's slower and it's much less

[PHP-DEV] php_apache.c virtual() enlightment needed

2001-02-19 Thread André Langhorst
I tried (and failed) to figure out why virtual() closes any output buffers, I think this is not very gentle, could anybody enlighten me? andré -- · André Langhorstt: +49 331 5811560 · · [EMAIL PROTECTED] m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net * ID:

[PHP-DEV] PHP 4.0 Bug #8536 Updated: ob_start() is not working with virtual() function

2001-02-19 Thread andre
ID: 8536 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Output Control Assigned To: andre Comments: in php_apache.c (line 324) if have found the following php_end_ob_buffers(1); php_header(); I guess this is intended to avoid some confusion wit

[PHP-DEV] PHP 4.0 Bug #8108 Updated: implement trans-sid as output handler

2001-02-19 Thread andre
ID: 8108 Updated by: andre Reported By: [EMAIL PROTECTED] Status: Analyzed Old-Bug Type: Output Control Bug Type: Feature/Change Request Assigned To: Comments: a) the ob_filter() part is not needed, because output buffers are nestable b) would be fine to have ob_transsid or similar, much more

[PHP-DEV] PHP 4.0 Bug #8334 Updated: Segmentation faults on page load

2001-02-19 Thread andre
ID: 8334 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Feedback Bug Type: Output Control Assigned To: Comments: could you please try the latest cvs, several patches have gone in since bug creation and it works for me on win32+linux now Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #8695 Updated: set_time_limit() is ignored during exectution of shell commands

2001-02-19 Thread andre
ID: 8695 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Old-Bug Type: Output Control Bug Type: Feature/Change Request Assigned To: Comments: won't fix, look at the documentation how to work around Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #9231 Updated: when usign ob_gzhandler HTTP HEAD does not work

2001-02-19 Thread boian
ID: 9231 User Update by: [EMAIL PROTECTED] Status: Assigned Bug Type: Output Control Description: when usign ob_gzhandler HTTP HEAD does not work yep. both seem to be apache SAPI module problem related to ob in general (at least i suppose so) Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #8923 Updated: Serious bug -- Memory leak in gzencode() function

2001-02-19 Thread andre
ID: 8923 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Output Control Assigned To: Comments: this one should be fixed in CVS, please reopen if it is not Previous Comments: --- [

[PHP-DEV] PHP 4.0 Bug #9231 Updated: when usign ob_gzhandler HTTP HEAD does not work

2001-02-19 Thread andre
ID: 9231 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Output Control Assigned To: andre Comments: similar to Bug id #9031 Previous Comments: --- [2001-02-17 11:51:19] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9031 Updated: ob_gzhandler memory leak and Headers already sent message!

2001-02-19 Thread andre
ID: 9031 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Output Control Assigned To: andre Comments: similar Bug id #9231 Previous Comments: --- [2001-02-06 15:33:49] [EMAIL PR

[PHP-DEV] PHP 4.0 Bug #9339 Updated: infinite loop in wordwrap

2001-02-19 Thread andre
ID: 9339 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: WFM win32 + linux, please check out latest CVS and reopen if necessary Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #7557 Updated: Array stored in session loose content

2001-02-19 Thread andre
ID: 7557 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Session related Assigned To: Comments: this is rather a confusion how references work than a bug if you had var_dump()ed your $session you would have seen that session handling cannot be involv

Re: [PHP-DEV] PHP 4.0 Bug #9177 Updated: crypt problems with openssl

2001-02-19 Thread Boian Bonev
> > Well, I think it's just the link order of libraries. ie. the > > openssl lib should be before libc..but is that even possible? > > Or just add another entry for libc after ssl? > Might be possible to do some kludge with the link order, I would prefer > that OpenSSL changed a bit though, I'll p

[PHP-DEV] CVS Account Request

2001-02-19 Thread CVS Account Request
Full name: Lucas Rocha Email: [EMAIL PROTECTED] ID: lucasr Purpose: Contribute with the english-to- portuguese translation of the PHP Manual -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP-DEV] PHP 4.0 Bug #9348: symbol zendtext: referenced symbol not found

2001-02-19 Thread tcyrus
From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0 Latest CVS (19/02/2001) PHP Bug Type: Apache related Bug description: symbol zendtext: referenced symbol not found Like other bugs filed on this same subject, when running Apache (1.3.17) on a Solaris 2.6

[PHP-DEV] crash cause ... ?

2001-02-19 Thread phobo
Hi, I have test environment with PHP 403sp1 (CGI) running on Apache 1.3.14 on a low end (133mhz, 32mb RAM) Pentium with Windows 98. For some reason the whole set up seems very unstable, and PHP causes general protection faults consistantly with my scripts which work well on a Windows 2000 machine

[PHP-DEV] PHP 4.0 Bug #9347 Updated: php_read does not handle O_NONBLOCK correctly

2001-02-19 Thread tem
ID: 9347 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Sockets related Description: php_read does not handle O_NONBLOCK correctly err did the patch backwards. --- ext/sockets/sockets.c Mon Feb 19 16:52:42 2001 +++ ext/sockets/mysocket.c Mon Feb 19 16:53:20 2001 @@ -635,

[PHP-DEV] PHP 4.0 Bug #8940 Updated: File uploads stopped withing in 4.0.4pl1

2001-02-19 Thread lyric
ID: 8940 Updated by: lyric Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Duplicate Old-Bug Type: Filesystem function related Bug Type: Unknown/Other Function Assigned To: Comments: Duplicate of http://bugs.php.net/bugs.php?id=9298 which is fixed in CVS. Previous Comments:

[PHP-DEV] PHP 4.0 Bug #8958 Updated: File uploads append Content-Type string

2001-02-19 Thread lyric
ID: 8958 Updated by: lyric Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Duplicate Bug Type: Unknown/Other Function Assigned To: Comments: Duplicate of http://bugs.php.net/bugs.php?id=9298 which is fixed in CVS. Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #9347: php_read does not handle O_NONBLOCK correctly

2001-02-19 Thread tem
From: [EMAIL PROTECTED] Operating system: linux (mandrake 7.2) PHP version: 4.0 Latest CVS (19/02/2001) PHP Bug Type: Sockets related Bug description: php_read does not handle O_NONBLOCK correctly The php_read function does not seem to handle non-blocking sockets correctly.

[PHP-DEV] PHP 4.0 Bug #9346 Updated:

2001-02-19 Thread derick
ID: 9346 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-02-19 17:09:32] [EMAIL PROTECTED] allah belan

[PHP-DEV] PHP 4.0 Bug #9346:

2001-02-19 Thread am
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: allah belanýzý versin. -- Edit Bug report at: http://bugs.php.net/?id=9346&edit=1 -- PHP Development Mailing List To unsubscr

[PHP-DEV] PHP 4.0 Bug #9345: PHP as subrequests in Apache

2001-02-19 Thread brian
From: [EMAIL PROTECTED] Operating system: doens\'t matter PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: PHP as subrequests in Apache Here is the problem, if you make a call to ap_run_sub_req() with a PHP script with a GET method and content length set

[PHP-DEV] PHP 4.0 Bug #9344 Updated: Causes server to core

2001-02-19 Thread derick
ID: 9344 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Apache related Assigned To: Comments: submitted twice Previous Comments: --- [2001-02-19 16:12:44] [EMAIL PROTECTED] Here

[PHP-DEV] PHP 4.0 Bug #9344: Causes server to core

2001-02-19 Thread brian
From: [EMAIL PROTECTED] Operating system: linux/solaris (been tested with both) PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: Causes server to core Here is the problem. When PHP is installed with mod_perl, certain calls in mod_perl will cause the serve

[PHP-DEV] PHP 4.0 Bug #9343: Causes server to core

2001-02-19 Thread brian
From: [EMAIL PROTECTED] Operating system: linux/solaris (been tested with both) PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: Causes server to core Here is the problem. When PHP is installed with mod_perl, certain calls in mod_perl will cause the serve

[PHP-DEV] imap config.m4 confusion

2001-02-19 Thread Dan Kalowsky
Hi, Trying to add a bit of functionality to the imap code, mainly an imap_set_quota function for PHP to call. This functionality is already in existence in the c-client library under the imap4rc1.{c|h} file (function is imap_setquota). My understanding though, is to include the c-client.h file

[PHP-DEV] Re: PHP 4.0 Bug #9337 Updated: make in_array return key, if searchedvalue was found

2001-02-19 Thread Sebastian Bergmann
Bug Database wrote: > Andrei and I descussed the possibility of creating a new function. > I will explore this. A new function would be the optimal solution, I think. -- sebastian bergmann e-mail : [EMAIL PROTECTED] homepage : http://www.s

[PHP-DEV] PHP 4.0 Bug #9342: 508 Bad Gateway Error

2001-02-19 Thread bill
From: [EMAIL PROTECTED] Operating system: Zeus PHP version: 4.0.4pl1 PHP Bug Type: Other web server Bug description: 508 Bad Gateway Error Hi, We are running PHP on a Zeus web server with a Sybase Database. We seem to be receiving a lot of 508 Bad Gateway Errors. It seem

[PHP-DEV] PHP 4.0 Bug #9341: "php -l file.php" seg faults, dumps core

2001-02-19 Thread colin
From: [EMAIL PROTECTED] Operating system: RH7.0 PHP version: 4.0 Latest CVS (19/02/2001) PHP Bug Type: Reproduceable crash Bug description: "php -l file.php" seg faults, dumps core Running the CGI version, if you do a "php -l file.php" (i.e. the "lint" option) on a file tha

[PHP-DEV] PHP 4.0 Bug #9265 Updated: passing preg_split a limit parameter of 0 supresses all matches

2001-02-19 Thread andrei
ID: 9265 Updated by: andrei Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PCRE related Assigned To: Comments: As far as I remember, 0 has never meant "no limit" - the value for that is -1. But the documentation does need to be updated. Previous Comments:

[PHP-DEV] buffered io - sparc solaris

2001-02-19 Thread Alexander Feldman
Hi, >From the fopen(3) manual page on Solaris 2.6 (it is the same on Solaris 7 and Solaris 8): When a file is opened with update mode (+ as the second or third character in the mode argument), both input and output may be performed on the associated stream. However, output

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Andi Gutmans
At 09:31 AM 2/19/2001 +0100, Sascha Schumann wrote: > Hi, > > what do people think about a PHP 4.0.5 release? > > We have about 70 change entries in NEWS. Some of the changes > are fundamentally needed for some extensions to work > correctly or to compile at all. > > Let m

[PHP-DEV] globals.h and notes_globals.h

2001-02-19 Thread Brad Atkins
Hello, This is probably a simple questions, but... In the notes api provided, there's a file called globals.h When another globals.h exists, how to I make sure it's the notes api file I want? I don't think specifying a path is the right idea? Should I rename the file to notes_globals.h in the a

[PHP-DEV] PHP 4.0 Bug #9277 Updated: Bogus warning with rand(a,b) where a == b

2001-02-19 Thread derick
ID: 9277 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Math related Assigned To: Comments: After an e-mail comversation, Jukka made it clear it is useful, so I commit a "fix" to the CVS Previous Comments:

[PHP-DEV] Pointer to a method

2001-02-19 Thread Llorenç Herrera
I need to get a pointer to a method, something like: class SomeClass { function foo() { echo "HiYa!"; } } MyClass = new SomeClass; Now, the only way to access the function foo is $MyClass->foo(); but I want to get a pointer to that method wich I could sto

[PHP-DEV] Licensing Question

2001-02-19 Thread clayton collie
just for the record, which licenses are compatible with the PHP license ? There is an extension i'm working on that would be sufficiently useful to include in the main distribution, it currently uses code derived from an MPL'ed project. i'd rather not have to rewrite those portions of the code.

[PHP-DEV] Re: PHP bug #4439: Content-Type prepended to uploaded file data.

2001-02-19 Thread Bret Mogilefsky
Yes indeedy, I rebuilt with the latest rfc1867.c and all problems with uploads vanished. Thanks for your time! Bret On Sun, Feb 18, 2001 at 04:15:04PM -0800, Bret Mogilefsky wrote: > On Mon, Feb 19, 2001 at 12:51:57AM +0100, Ragnar Kjørstad wrote: > > On Sun, Feb 18, 2001 at 02:53:16PM -0800, B

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread André Langhorst
> Could be done. The way I'd do it is have one php_in_array() C function > that gets parameters passed through from in_array() and array_find() as > well as a flag indicating whether to just return true/false or the > actual key. what about not touching the internal pointer? there in_array would

[PHP-DEV] PHP 4.0 Bug #9340: usleep function doesn't work properly under winNT 4.0

2001-02-19 Thread dror
From: [EMAIL PROTECTED] Operating system: winNT 4.0 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: usleep function doesn't work properly under winNT 4.0 here is the wrong code (current) + my correction: > Wrong (current) < PHP_FUNCTION

[PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread jason
ID: 9337 Updated by: jason Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Assigned Bug Type: Feature/Change Request Assigned To: [EMAIL PROTECTED] Comments: Andrei and I descussed the possibility of creating a new function. I will explore this. -Jason Previous Comments:

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Jason Greene
I agree, That way we don't duplicate code, and we don't have different behavior.. Ill work on this sometime today -Jason - Original Message - From: "Andrei Zmievski" <[EMAIL PROTECTED]> To: "Jason Greene" <[EMAIL PROTECTED]> Cc: "André Langhorst" <[EMAIL PROTECTED]>; "PHP Development" <[E

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, Jason Greene wrote: > > We can change in_array() to return the the key if it's found, and false > > if it's not, but imagine all the scripts it would break.. > about 1/4th of mine : ) > > Well I think the basic problem is that people are using in_array against its >intention

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Jason Greene
> We can change in_array() to return the the key if it's found, and false > if it's not, but imagine all the scripts it would break.. about 1/4th of mine : ) Well I think the basic problem is that people are using in_array against its intention. It is a Boolean function, and that really shouldn't

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, Jason Greene wrote: > Some of my thoughts: > 1. if you change the return value of in_array to return the key, you can get a false >error > in your if statement, imagine if in_array found the element in key 0? : ) > 2. I would say that returning a key is a bit more useful then

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Jason Greene
Some of my thoughts: 1. if you change the return value of in_array to return the key, you can get a false error in your if statement, imagine if in_array found the element in key 0? : ) 2. I would say that returning a key is a bit more useful then an option that does not reset the internal poin

[PHP-DEV] PHP 4.0 Bug #9339: infinite loop in wordwrap

2001-02-19 Thread chr
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Strings related Bug description: infinite loop in wordwrap The following line seems to loop forever: echo wordwrap("abcdefghijklmnopqr", 10, "\r\n"); -- Edit Bug report at: http://bugs.p

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread André Langhorst
> I would welcome the win32 distributions packed with bzip2 > as well. This algorithm is superior to anything else I know > (well, at least in compression ratio), and is available to > win32 users as well. Not only as a commandline tool, but as > a plugin for the very popular wincmd32 too. Any

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, André Langhorst wrote: > > How about using array_keys($array, $value) to find the key? > > obviously it is cheaper to let in_array return it and it is more php 4 > stylish, we have booleans, why not use them? > > if ($key=in_array()) do_someting_with_key($key); So, you sug

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread André Langhorst
> How about using array_keys($array, $value) to find the key? obviously it is cheaper to let in_array return it and it is more php 4 stylish, we have booleans, why not use them? if ($key=in_array()) do_someting_with_key($key); is less expensive than if (in_array()) { $key=array_keys($arra

[PHP-DEV] PHP 4.0 Bug #9338: in_array 'strict' parameter is not documented (properly)

2001-02-19 Thread andre
From: [EMAIL PROTECTED] Operating system: * PHP version: 4.0 Latest CVS (19/02/2001) PHP Bug Type: Documentation problem Bug description: in_array 'strict' parameter is not documented (properly) look at http://www.php.net/in_array that documentation should not help anyone u

Re: [PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread Andrei Zmievski
How about using array_keys($array, $value) to find the key? On Mon, 19 Feb 2001, [EMAIL PROTECTED] wrote: > ID: 9337 > Updated by: andre > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Feedback > Bug Type: Feature/Change Request > Assigned To: > Comments: > > maybe a fourth parame

[PHP-DEV] PHP 4.0 Bug #9337 Updated: make in_array return key, if searched value was found

2001-02-19 Thread andre
ID: 9337 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Feature/Change Request Assigned To: Comments: maybe a fourth parameter switch to avoid 0->false problems? Previous Comments:

[PHP-DEV] license question for a module...

2001-02-19 Thread Marc Boeren
Hi! I've finished a first version of the dbx module (database abstraction (in C)) and I want to open-source this module (as a self-contained extension). What license should I use? I want it to be very open, but maintain a copyright notice (much like the PHP license). Or better, can I donate th

[PHP-DEV] PHP 4.0 Bug #9161 Updated: Undefined symbols in static apache build using PHP 4.0.4pl1

2001-02-19 Thread tcyrus
ID: 9161 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Description: Undefined symbols in static apache build using PHP 4.0.4pl1 No help. I even started totally from scratch (removing all apache and php files and re-untaring them) and I get the same error. Unfortunatle

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Alexander Bokovoy
On Mon, Feb 19, 2001 at 04:35:50PM +0100, Thies C. Arntzen wrote: > On Mon, Feb 19, 2001 at 02:35:13PM +0100, Emiliano wrote: > > "Thies C. Arntzen" wrote: > > > > > > We use it a lot. Works well, supports multiple charsets, and is now in > > > > as sane library format so internalizatin isn't str

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Alexander Bokovoy
On Mon, Feb 19, 2001 at 02:09:36PM +0100, Thies C. Arntzen wrote: > On Mon, Feb 19, 2001 at 02:05:28PM +0100, Emiliano wrote: > > "Thies C. Arntzen" wrote: > > > > > > v 1.95.1 is out (http://expat.sourceforge.net) > > > > > > has anybody played with it? > > > > We use it a lot. Works w

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Alexander Bokovoy
On Mon, Feb 19, 2001 at 05:29:37PM +0100, Emiliano wrote: > "Thies C. Arntzen" wrote: > > > > Not that I know of, altough ISTR that apache had renamed some function > > > names for their internalized version. Our resident expat 'expert' will > > > be online in a few hours and I'm sure he can give

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Emiliano
"Thies C. Arntzen" wrote: > > Not that I know of, altough ISTR that apache had renamed some function > > names for their internalized version. Our resident expat 'expert' will > > be online in a few hours and I'm sure he can give you more details. > > maybe they could enlighten me what advan

[PHP-DEV] Window's sources are out of date?

2001-02-19 Thread Yury Faktorovich
Hi ! Please forgive me if this question has been asked already, I couldn't find it in archives. I downloaded php 4.0.4pl1 source and all required patches to build it on windows. Build wasn't easy b'ze I didn't know what to do with --S option passed to bison - bison barked at it, so I just deleted

Re: [PHP-DEV] PHP 4.0 Bug #9337: make in_array return key, if searchedvalue was found

2001-02-19 Thread Sebastian Bergmann
Andrei Zmievski wrote: > Really? What if the key is 0? Then we're fucked, damn it :-( -- sebastian bergmann e-mail : [EMAIL PROTECTED] homepage : http://www.sebastian-bergmann.de make a gift : http://wishlist.sebastia

Re: [PHP-DEV] PHP 4.0 Bug #9337: make in_array return key, if searched value was found

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: > PHP version: 4.0.4pl1 > PHP Bug Type: Feature/Change Request > Bug description: make in_array return key, if searched value was found > > in_array() currently returns only true/fal

[PHP-DEV] PHP 4.0 Bug #9337: make in_array return key, if searched value was found

2001-02-19 Thread sbergmann
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: make in_array return key, if searched value was found in_array() currently returns only true/false on whether or not a searched-for value is in a given arr

[PHP-DEV] PHP 4.0 Bug #9333 Updated: imap_fetchstructure()

2001-02-19 Thread chagenbu
ID: 9333 Updated by: chagenbu Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Assigned To: Comments: Can you please use more words to describe this problem, and perhaps provide some example code and an example message? Previous Comments: -

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Emiliano
"Hellekin O. Wolf" wrote: > > Can we propose extensions outside of the main distribution ? > > I like the idea of downloading what you want. > > Through a form, you would chose the extensions you need, then submit and > receive a custom GZIP or BZ2 file. > It sounds doable. Any constraint, depe

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, Peter [DiSAStA] Petermann wrote: > > what do people think about a PHP 4.0.5 release? > > We have about 70 change entries in NEWS. Some of the changes > > are fundamentally needed for some extensions to work > > correctly or to compile at all. > mh.. > what abo

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, Sascha Schumann wrote: > Hi, > > what do people think about a PHP 4.0.5 release? > > We have about 70 change entries in NEWS. Some of the changes > are fundamentally needed for some extensions to work > correctly or to compile at all. > > Let me kno

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Thies C. Arntzen
On Mon, Feb 19, 2001 at 02:35:13PM +0100, Emiliano wrote: > "Thies C. Arntzen" wrote: > > > > We use it a lot. Works well, supports multiple charsets, and is now in > > > as sane library format so internalizatin isn't strictly necesary > > > anymore (although there can be reasons to do so all the

Re: [PHP-DEV] time to upgrade our bundled expat?

2001-02-19 Thread Thies C. Arntzen
On Mon, Feb 19, 2001 at 02:35:13PM +0100, Emiliano wrote: > "Thies C. Arntzen" wrote: > > > > We use it a lot. Works well, supports multiple charsets, and is now in > > > as sane library format so internalizatin isn't strictly necesary > > > anymore (although there can be reasons to do so all the

Re: [PHP-DEV] time to upgrade bundled PCRE?

2001-02-19 Thread Andrei Zmievski
On Mon, 19 Feb 2001, Thies C. Arntzen wrote: > > current version is 3.4 we use 3.2 > > andrei? I will, probably in the next couple of days. -Andrei * On the keyboard of life, always keep one finger on the escape key. * -- PHP Development Mailing List To unsubscr

RE: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Hellekin O. Wolf
Can we propose extensions outside of the main distribution ? I like the idea of downloading what you want. Through a form, you would chose the extensions you need, then submit and receive a custom GZIP or BZ2 file. It sounds doable. Any constraint, dependency to work out ? Yes, the m4 stuff...

  1   2   >