Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Zeev Suraski
You can't have two constants with the same string but different case sensitivity. It's a limitation of the current implementation. Zeev At 09:03 05/08/2001, Andrei Zmievski wrote: At 06:34 PM 8/4/01 +0300, Zeev Suraski wrote: If you register the constant with CONST_CS, it will be case

[PHP-DEV] Bug #12573: URGENT: Can't start Netscape Enterprise 3.6 web server

2001-08-05 Thread jane
From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0.6 PHP Bug Type: *Web Server problem Bug description: URGENT: Can't start Netscape Enterprise 3.6 web server I compiled php4 (as an nsapi module) in solaris 2.6 server running netscape enterprise 3.6 web

Re: [PHP-DEV] Re: Bug #12241 Updated: imap.so: undefined symbol:

2001-08-05 Thread Troels Arvin
On Wed, 01 Aug 2001 03:04:29 +0200, Jani Taskinen [EMAIL PROTECTED] wrote: I guess this problem exists only when it's configured as shared extension? If so, I know how to fix it.. I just tried the latest snapshot. Now everything works. One last strange thing: The shared imap extension used

[PHP-DEV] Bug #12574: Documented void session_end() doesn't exist

2001-08-05 Thread nick
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Documented void session_end() doesn't exist The manual states: Description void session_end () End the current session and store session data.

[PHP-DEV] Shared imap extension..

2001-08-05 Thread Jani Taskinen
On Sun, 5 Aug 2001, Troels Arvin wrote: On Wed, 01 Aug 2001 03:04:29 +0200, Jani Taskinen [EMAIL PROTECTED] wrote: I guess this problem exists only when it's configured as shared extension? If so, I know how to fix it.. I just tried the latest snapshot. Now everything works. Good. One

[PHP-DEV] SOCKS support

2001-08-05 Thread Paolo Prandini
I implemented socks support ( with redundant proxies as well) for php. How can I submit the code for inclusion in the code base? Thanks Paolo Prandini S.P.E.Sistemi e Progetti Elettronici s.a.s. Via Liguria 5 I-25125 Brescia (BS) Tel +39 0302427266 Fax +39 0302449252 Email [EMAIL PROTECTED]

[PHP-DEV] Re: Shared imap extension..

2001-08-05 Thread Troels Arvin
On Sun, 05 Aug 2001 11:52:02 +0200, Jani Taskinen [EMAIL PROTECTED] wrote: The shared imap extension used to be called imap.so. Now it's called imap.a. Personally, I don't care, but maybe it will cause some What was your configure line? It should create a .so NOT .a (works for me) See below.

[PHP-DEV] Re: Shared imap extension..

2001-08-05 Thread Troels Arvin
On Sun, 05 Aug 2001 11:52:02 +0200, Jani Taskinen [EMAIL PROTECTED] wrote: The shared imap extension used to be called imap.so. Now it's called imap.a. Personally, I don't care, but maybe it will cause some What was your configure line? It should create a .so NOT .a (works for me) See below.

Re: [PHP-DEV] Portability concerns

2001-08-05 Thread Phil Driscoll
On Saturday 04 August 2001 22:06, Stig Sæther Bakken wrote: Say PHP had a function to put it in portable mode changing the behaviour of a few functions. Then for example PEAR classes would have to deal with running both with and without this mode, since the user can enable or disable it at

[PHP-DEV] Bug #12341 Updated: Don't is appears the object

2001-08-05 Thread phanto
ID: 12341 Updated by: phanto Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: COM related Operating System: NT 4.0 WorkStation PHP Version: 4.0.6 New Comment: if the webserver runs as service it doesn't have access to the userspace (e.g. the desktop). if you want to

[PHP-DEV] Bug #12471 Updated: DCOM don't running

2001-08-05 Thread phanto
ID: 12471 Updated by: phanto Reported By: [EMAIL PROTECTED] Status: Open Bug Type: COM related Operating System: PHP Version: 4.0.5 New Comment: could you provide a short code snippet and your settings in the [com] ini section. Previous Comments:

[PHP-DEV] Bug #12126 Updated: the com example 1 does not work

2001-08-05 Thread phanto
ID: 12126 Updated by: phanto Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: COM related Operating System: 2k PHP Version: 4.0.6 New Comment: is anyone able to reproduse this ? works fine for me with word xp (v10.0). reopen if this still happens with the latest cvs

[PHP-DEV] Bug #12575: Session register destroy flaws/bugs(?)

2001-08-05 Thread nick
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Session register destroy flaws/bugs(?) Whilst the PHP session support is a great feature, handling session state as of 4.0.6 is inconsistent and arguably

Re: [PHP-DEV] Re: gmp_init with a base argument

2001-08-05 Thread Troels Arvin
On Thu, 02 Aug 2001 19:16:26 +0200, Stanislav Malyshev [EMAIL PROTECTED] wrote: on the quick glance your patch looks OK. OK. It seems that I don't have sufficient karma. I tried to commit the below patch with the following commit message: (gmp_init) Added extra (optional) argument to

[PHP-DEV] incomplete class broken?

2001-08-05 Thread Thies C. Arntzen
hi, the following code breaks php: ?php class tubu { } $thies = unserialize('O:1:a:0:{}'); ? X-Powered-By: PHP/4.0.7-dev Content-type: text/html ../../php4/Zend/zend_hash.c(176) : Freeing 0x084B3A54 (64 bytes), script=../ser2.php Last leak repeated 1 time

Re: [PHP-DEV] Re: gmp_init with a base argument

2001-08-05 Thread Troels Arvin
On Thu, 02 Aug 2001 19:16:26 +0200, Stanislav Malyshev [EMAIL PROTECTED] wrote: TA By the way: TA I think that the decbin() function should bail out if you pass it a TA value which contains more bits than PHP is able to handle. - Perhaps TA with a hint about using GMP for large numbers.

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Daniel Andersson
i would say so, yes. and if you do md5(microtime()) you have to do a substr() on the result to get the desired length. easy done, yes. but still.. maybe something for PEAR instead of the core? / d - Original Message - From: Cynic [EMAIL PROTECTED] To: Daniel Andersson [EMAIL

[PHP-DEV] Bug #12576: php_pdf.dll is expired

2001-08-05 Thread robert
From: [EMAIL PROTECTED] Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: *PDF functions Bug description: php_pdf.dll is expired I have PHP 4.0.6 installed on a Windows 98 System with gd,pdf and zlib extensions. When I try to call a function from the pdflib

Re: [PHP-DEV] include_path with .

2001-08-05 Thread Andi Gutmans
Yep, it's using __FILE__. Andi On 3 Aug 2001, Stig Sæther Bakken wrote: [Stig S. Bakken [EMAIL PROTECTED]] Hi, I would like to suggest that we change how . in the include_path is treated to being relative to the file doing an include, instead of relative to the main script file.

[PHP-DEV] Bug #12577: cpdf_import_jpeg() not working at all

2001-08-05 Thread robert
From: [EMAIL PROTECTED] Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: ClibPDF related Bug description: cpdf_import_jpeg() not working at all I wrote a script using the cpdf_* functions and everything is working fine. Only the cpdf_import_jpeg() function

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Cynic
I think that new functions should be added on basis of usefulness, not the coolness factor. IMNSHO this function isn't very useful, and it is extremely easy to implement in userland: function str_rand() { $len = func_num_args() ? func_get_arg(0) : 32 ; return

Re: [PHP-DEV] Coding standard: API functions

2001-08-05 Thread Andi Gutmans
At 07:57 AM 8/5/2001 +0200, [EMAIL PROTECTED] wrote: Hi, Some PHPAPI function demand a char* and int when they want a string, others a zval which is expected to be IS_STRING. Which one is preferred? I think in any case the function should accept a char * and a length so that it'll be binary

Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Andrei Zmievski
At 12:17 AM 8/5/01 +0300, Zeev Suraski wrote: You can't have two constants with the same string but different case sensitivity. It's a limitation of the current implementation. That's exactly what I'm complaining about. ;-) Can we fix it soon? -Andrei -- PHP Development Mailing List

[PHP-DEV] Bug #12574 Updated: Documented void session_end() doesn't exist

2001-08-05 Thread jon
ID: 12574 Updated by: jon Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: Neither session_end() or session_readonly() actually exist yet. Previous Comments:

Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Zeev Suraski
No time for this in the near future, I'm afraid :I Zeev At 16:58 05/08/2001, Andrei Zmievski wrote: At 12:17 AM 8/5/01 +0300, Zeev Suraski wrote: You can't have two constants with the same string but different case sensitivity. It's a limitation of the current implementation. That's exactly

Re: [PHP-DEV] Re: gmp_init with a base argument

2001-08-05 Thread Stanislav Malyshev
TA OK. Here is a suggestion for an adjustment in math.c. The patch TA could probably be improved: The check for strings with more than TA 31 chars should probably be less hard-coded, but I'm not sure TA which contant to use for determining maximum size of a LONG. I have made a bit more general

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Daniel Andersson
yes, totally agree. but why not put it into PEAR? / d - Original Message - From: Cynic [EMAIL PROTECTED] To: Daniel Andersson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, August 05, 2001 13:52 Subject: Re: [PHP-DEV] Re: rand_str I think that new functions should be added on

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Cynic
I'm not against putting it into pear. ask the pear guys what they think... but there's no Strings class AFAIK, and I think they'll hesitate to create a top-level class for just one function. :) At 16:47 8/5/2001, Daniel Andersson wrote the following:

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Daniel Andersson
heh.. possibly. ;) forwarded. / d - Original Message - From: Cynic [EMAIL PROTECTED] To: Daniel Andersson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, August 05, 2001 15:59 Subject: Re: [PHP-DEV] Re: rand_str I'm not against putting it into pear. ask the pear guys what they

Re: [PHP-DEV] incomplete class broken?

2001-08-05 Thread Thies C. Arntzen
On Sun, Aug 05, 2001 at 01:46:35PM +0200, Thies C. Arntzen wrote: hi, the following code breaks php: after some more testing: it seems that one can no longer call zend_register_internal_class when the script is already executing. my testscript unserializes an

[PHP-DEV] Bug #12578: Segfault with vanilla php in apache

2001-08-05 Thread nick
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Segfault with vanilla php in apache With vanilla php (rasmus take note please), here's a b/t from the latest segfaults. Actually looks like possibly the

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Jeroen van Wolffelaar
but why not put it into PEAR? PEAR can be useful, but the power of PHP is, that is has so many helpful build-in functions. And with pear, it will always be longer. I think that new functions should be added on basis of usefulness, not the coolness factor. IMNSHO this function isn't very

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Cynic
At 17:21 8/5/2001, Jeroen van Wolffelaar wrote the following: -- but why not put it into PEAR? PEAR can be useful, but the power of PHP is, that is has so many helpful build-in functions. And with pear, it will always be longer. I

Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Andrei Zmievski
At 05:35 PM 8/5/01 +0300, Zeev Suraski wrote: No time for this in the near future, I'm afraid :I Um, the fix is trivial. Want me to do it? -Andrei -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Zeev Suraski
I don't believe the fix is trivial at all. Hint - if it's just nuking the strtolower there, you got it wrong :) At 18:34 05/08/2001, Andrei Zmievski wrote: At 05:35 PM 8/5/01 +0300, Zeev Suraski wrote: No time for this in the near future, I'm afraid :I Um, the fix is trivial. Want me to do

Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Andi Gutmans
At 10:34 AM 8/5/2001 -0500, Andrei Zmievski wrote: At 05:35 PM 8/5/01 +0300, Zeev Suraski wrote: No time for this in the near future, I'm afraid :I Um, the fix is trivial. Want me to do it? Are you sure we want to have non-capitalized constants? It might be good practice to always have

[PHP-DEV] Bug #12579: Java support does not work

2001-08-05 Thread mike_ingardia
From: [EMAIL PROTECTED] Operating system: NT 2000 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Java support does not work When attempting to use PHP with JDK 1.3 or 1.2.2 php will invoke java the first time ok, but after rapid sucessive calls process

Re: [PHP-DEV] Constanst are case-insensitive

2001-08-05 Thread Andrei Zmievski
At 06:43 PM 8/5/01 +0300, Zeev Suraski wrote: I don't believe the fix is trivial at all. Hint - if it's just nuking the strtolower there, you got it wrong :) You are right, it is not trivial. I spoke in haste. I have some ideas on how to make it work, but I'll have to test the performance

[PHP-DEV] Bug #12580: sunos 4 doesn't have strtoul. using strtol works...

2001-08-05 Thread cak
From: [EMAIL PROTECTED] Operating system: SunOS 4. PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: sunos 4 doesn't have strtoul. using strtol works... compiling ext/standard/scanf.c on sunos 4 is a problem - there's a declaration problem with strtol in

[PHP-DEV] Bug #12578 Updated: Segfault with vanilla php in apache

2001-08-05 Thread rasmus
ID: 12578 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.0.6 New Comment: Can you provide a simple script that causes this? Previous Comments:

[PHP-DEV] Re: Bug #12578 Updated: Segfault with vanilla php in apache

2001-08-05 Thread Nick Lindridge
Hi Rasmus, Sorry but no for this one. I've been emailing with Andi for a bit, and I'm trawling through with gdb. It's very bizarre, and looks like just a symptom of some general memory corruption at the moment. I'm not sure that array_reduce is itself to blame. Any number of minor changes stop

Re: [PHP-DEV] RFC: mt_* functions

2001-08-05 Thread Jeroen van Wolffelaar
Both function families are the same in syntax returning, only the algorithm is different. I.e.: the semantics is the same. The algorithm - if correct - shouldn't bother, and shouldn't be the concern of the programmer, but rather the system maintainer (specific cases excluded, but than

[PHP-DEV] Bug #12575 Updated: Session register destroy flaws/bugs(?)

2001-08-05 Thread rasmus
ID: 12575 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: I think this is consistent behaviour. session_start() brings data from your session backend into your current script.

[PHP-DEV] Re: Bug #12575 Updated: Session register destroy flaws/bugs(?)

2001-08-05 Thread Nick Lindridge
I think that your comments are a fair point, but given that session_start() will create or open/restore a previous session, affecting state of the script that's directly related to session state, surely session_destroy() should do the converse, destroying the backend and also the program state

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Jeroen van Wolffelaar
and it is extremely easy to implement in userland: That is not true, So how about this? function str_rand($len=8) { $retval = strtr(md5(microtime()), chr(0x30), chr(0x4F)); return substr($retval,0,$len); } for($i=0; $i10; $i++){ echo str_rand(), \n; } I find

[PHP-DEV] New ZendEngine2 CVS tree

2001-08-05 Thread Andi Gutmans
Hi, I started the new CVS tree. The point where it was split from the Engine 1 tree was tagged PRE_ENGINE_SPLIT. Please if you commit to the old CVS make sure you also commit to the new one if needed. Thanks, Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

[PHP-DEV] PHP Notes

2001-08-05 Thread Andy
Since I have started maintaining the document notes, I have roughly estimated that 1/2-2/3 of the notes have to be deleted because people are not following the guidelines. The page that tells these guidelines is setup in paragraph form, which not too many people seem to read. I propose

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Cynic
At 21:17 8/5/2001, Jeroen van Wolffelaar wrote the following: -- [...] function str_rand($len=8) { $retval = strtr(md5(microtime()), chr(0x30), chr(0x4F)); return substr($retval,0,$len); } for($i=0; $i10; $i++){

[PHP-DEV] Re: Bug #12578 Updated: Segfault with vanilla php in apache

2001-08-05 Thread Nick Lindridge
I've provided a single script to Andi that blows up. I started simplifiying from the other end of the app and that was successful. It's still around 250 lines so I won't include it here but please email me direct if you'ld like a copy to work with. Good luck with this and lets hope this gets

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Jeroen van Wolffelaar
Hi Jeroen, I think we're not on the same page. :) I consider both versions of str_rand() I posted trivial... Agree. But they are not what rand_str could do. The result has 16 different chars, just because md5 happens to have that much. Implementing something that has NOT that limitation, is

[PHP-DEV] Re: PHP Notes

2001-08-05 Thread Jeroen van Wolffelaar
No No No, I mean that the USER needs to confirm in that case. Hey, i've found a question mark in your note. You realize that it is not allowed to ask questions here? do that on php-general. If this is not a question, and you're sure you obeyed the rule, click here to commit the note... Jeroen

[PHP-DEV] Re: Bug #12341 additional information

2001-08-05 Thread Stuart Rocks
if the webserver runs as service it doesn't have access to the userspace (e.g. the desktop). if you want to open a window you have to execute php from the command line. Not really an addition to the bug update, but it is possible to allow a service to interact with the desktop under Windows

[PHP-DEV] Bug #12581: boolean fields not imported (patches enclosed)

2001-08-05 Thread widman-php
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16-3 PHP version: 4.0.6 PHP Bug Type: dBase related Bug description: boolean fields not imported (patches enclosed) Below are patches that fix the problem reported 10/20/2000 in bug report #7374. The problem is that when

[PHP-DEV] Bug #12581 Updated: boolean fields not imported (patches enclosed)

2001-08-05 Thread widman-php
ID: 12581 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: dBase related Operating System: Linux 2.2.16-3 PHP Version: 4.0.6 New Comment: The file name to which the patches apply is ext/dbase/dbase.c. Previous Comments:

[PHP-DEV] Bug #12581 Updated: boolean fields not imported (patches enclosed)

2001-08-05 Thread andy
ID: 12581 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Open Bug Type: dBase related Operating System: Linux 2.2.16-3 PHP Version: 4.0.6 New Comment: this is not a bug...already forwarded to [EMAIL PROTECTED] Thanks for your help, but next time just send it to [EMAIL PROTECTED] and

[PHP-DEV] Bug #12581 Updated: boolean fields not imported (patches enclosed)

2001-08-05 Thread andy
ID: 12581 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: dBase related Operating System: Linux 2.2.16-3 PHP Version: 4.0.6 New Comment: status - bogus Previous Comments:

[PHP-DEV] Re: Bug #12581 Updated: boolean fields not imported (patches enclosed)

2001-08-05 Thread Lawrence E. Widman
Andy, this is not a bug...already forwarded to [EMAIL PROTECTED] Thanks for your help, but next time just send it to [EMAIL PROTECTED] and don't open a bug about it. Man, what a fast reply! I didn't think I should open a bug report about it, but I submitted the same patches to somewhere

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Cynic
At 21:53 8/5/2001, Jeroen van Wolffelaar wrote the following: -- Hi Jeroen, I think we're not on the same page. :) I consider both versions of str_rand() I posted trivial... Agree. But they are not what rand_str could do. The

Re: [PHP-DEV] Re: PHP Notes

2001-08-05 Thread eschmid+sic
On Sun, Aug 05, 2001 at 09:56:09PM +0200, Jeroen van Wolffelaar wrote: No No No, I mean that the USER needs to confirm in that case. Hey, i've found a question mark in your note. You realize that it is not allowed to ask questions here? do that on php-general. If this is not a question,

[PHP-DEV] Fw: Re: [PHP-CVS] cvs: php4 /ext/standard math.c

2001-08-05 Thread Jeroen van Wolffelaar
Can't post to php-cvs :-( jeroen Sun Aug 5 16:27:04 2001 EDT Modified files: /php4/ext/standard math.c Log: Bugfix in abs(), abs(LONG_MIN) was bogus ---AND--- - Replaced the pow(LONG_MIN,1) fix for a better one - Removed bogus left-over comment in pow() --

[PHP-DEV] Chora now the default cvs.php.net system

2001-08-05 Thread Rasmus Lerdorf
I switched Chora over to be the default web cvs system behind cvs.php.net now. The old viewcvs site is still available at viewcvs.php.net (dns may not have updated yet) -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Jeroen van Wolffelaar
Implementing something that has NOT that limitation, is far less trivial. function str_rand($len = 8, $class = 'a-zA-Z1-9') { static $init = 1; if(1 == $init){ mt_srand((double) microtime() * 100); $init = 0; } $chars = array(); for($i = 0; $i

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Cynic
At 22:50 8/5/2001, Jeroen van Wolffelaar wrote the following: -- Implementing something that has NOT that limitation, is far less trivial. function str_rand($len = 8, $class = 'a-zA-Z1-9') { static $init = 1; if(1 ==

Re: [PHP-DEV] Re: rand_str

2001-08-05 Thread Daniel Cowgill
This sort of function should be implemented in PHP. It doesn't say good things about a language when such trivial functionality needs to be implemented non-natively. And it doesn't need to be: function str_rand($len = 8, $class = 'a..zA..Z0..9') { if (!preg_match_all('/(.)\.\.(.)/', $class,

[PHP-DEV] Bug #12583: Some children get stuck and consume all CPU time (bug #11676?)

2001-08-05 Thread swan
From: [EMAIL PROTECTED] Operating system: Linux 2.4.7 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Some children get stuck and consume all CPU time (bug #11676?) After some unexplainable crash of our webserver, i managed tracking down some

[PHP-DEV] Bug #12584: Var. comparison

2001-08-05 Thread Oliver . Siegmar
From: [EMAIL PROTECTED] Operating system: Debian GNU/Linux [woody] PHP version: 4.0.5 PHP Bug Type: *General Issues Bug description: Var. comparison Hi $reader, perhaps I'm tired out...but: ? $testvar = true; if ($testvar == DOUBLE) echo WHY?; ?

[PHP-DEV] Bug #12584 Updated: Var. comparison

2001-08-05 Thread andy
ID: 12584 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: Debian GNU/Linux [woody] PHP Version: 4.0.5 New Comment: any string that is not empty evaluates true. (*Andy*) Previous Comments:

[PHP-DEV] Bug #12563 Updated: Imlib2 Issue

2001-08-05 Thread greg
ID: 12563 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Compile Failure Operating System: RedHat 7.1 / 2.4.7 Kernel PHP Version: 4.0.6 New Comment: The Imlib2 guys say it's a PHP bug: I reported what I thought to be a PHP bug, they say it's a bug

Re: [PHP-DEV] Re: [PHP-DOC] Bug #10398 Updated: configuration chapter still has the old php 3 error_reporting values

2001-08-05 Thread Andy
ok, i'll change it to closed... On Sun, 05 Aug 2001, Cynic wrote: Hi Egon. I checked the page, and it seems like it's been corrected meanwhile. It now contains info for both PHP 3 and 4. The bug should be prolly closed, not bogusified. At 02:30 8/6/2001, [EMAIL PROTECTED] wrote the

[PHP-DEV] PArameters optionally by Reference and linking against pthread

2001-08-05 Thread Markus Fischer
Hi, How can I within my PHP_FUNCTION() test if a given parameter was passed ByReference ? There used to hang around ParameterPassedByReference() which is gone now. I know I can tell functions via PHP_FE(foo, {1, BYREF_FORCE) etc. if they need references but I need to make a parameter optionally

[PHP-DEV] RE: Bug #12536 Updated: fread does not look to be working right

2001-08-05 Thread knight
I have not tried it with the 4.0.6 php, is that a stable version yet??? Can I use the ms 6.0 compiler to compile php? Does it matter what compiler I use?? What compiler do you recommend? I will update the message with a example Brendan Ferguson -Original Message- From: Bug

[PHP-DEV] Bug #12536 Updated: fread does not look to be working right

2001-08-05 Thread knightemu
ID: 12536 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Performance problem Operating System: win 98 box PHP Version: 4.0.4pl1 New Comment: $filefill = fread($fp, 1); //will take a long time on a very small file. if you

[PHP-DEV] Bug #11885 Updated: Link problems with OpenSSL 0.9.6a

2001-08-05 Thread sniper
ID: 11885 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Assigned Bug Type: OpenSSL related Operating System: Solaris 7 08/99 PHP Version: 4.0.6 Old Assigned To: Assigned To: sniper New Comment: Still happens with latest CVS. Previous Comments:

[PHP-DEV] CVS Account Request

2001-08-05 Thread CVS Account Request
Full name: Chris Lambert Email: [EMAIL PROTECTED] ID:chris Purpose: Password reset. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP-DEV] Bug #12580 Updated: sunos 4 doesn't have strtoul. using strtol works...

2001-08-05 Thread sniper
ID: 12580 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: SunOS 4. PHP Version: 4.0.6 New Comment: See bug #7474. I've send you the patch..but you should really consider updating your OS. --Jani Previous

Re: [PHP-DEV] Bug #12575 Updated: Session register destroyflaws/bugs(?)

2001-08-05 Thread Jani Taskinen
Closed? Or a Feature/Change request? --Jani On 5 Aug 2001 [EMAIL PROTECTED] wrote: ID: 12575 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: I think this is consistent

Re: [PHP-DEV] Bug #12581 Updated: boolean fields not imported (patchesenclosed)

2001-08-05 Thread Jani Taskinen
Could you please tell me what is the 'Bogus' in this report? It's a bug report which happens to have a patch for the bug too. This is far from bogus report. Reopened. --Jani On 5 Aug 2001 [EMAIL PROTECTED] wrote: ID: 12581 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open

[PHP-DEV] Re: Bug #12580 Updated: sunos 4 doesn't have strtoul. using strtol works...

2001-08-05 Thread Christopher A. Kantarjiev
See bug #7474. I've send you the patch..but you should really consider updating your OS. Grin. What else runs on my ancient SPARC? :-) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP-DEV] Bug #12581 Updated: boolean fields not imported (patches enclosed)

2001-08-05 Thread sniper
ID: 12581 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Feedback Bug Type: dBase related Operating System: Linux 2.2.16-3 PHP Version: 4.0.6 New Comment: This is not a bogus report. But please put the patch file somewhere where it can be downloaded and add the url

Re: [PHP-DEV] Re: Bug #12580 Updated: sunos 4 doesn't have strtoul.using strtol works...

2001-08-05 Thread Jani Taskinen
On Sun, 5 Aug 2001, Christopher A. Kantarjiev wrote: See bug #7474. I've send you the patch..but you should really consider updating your OS. Grin. What else runs on my ancient SPARC? :-) Linux? :) --Jani -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

Re: [PHP-DEV] Bug #12575 Updated: Session register destroyflaws/bugs(?)

2001-08-05 Thread Rasmus Lerdorf
Closed? Or a Feature/Change request? Close it, I guess. It is working as it was designed and we can't really change this at this point because it would break a bunch of existing scripts. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Bug #12575 Updated: Session register destroy flaws/bugs(?)

2001-08-05 Thread sniper
ID: 12575 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: Not a bug. Previous Comments:

[PHP-DEV] Bug #12536 Updated: fread does not look to be working right

2001-08-05 Thread sniper
ID: 12536 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Performance problem Operating System: win 98 box PHP Version: 4.0.4pl1 New Comment: You should consider using something like the first example is on this page:

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-08-05 Thread David Eriksson
On Wed, 25 Jul 2001, J Smith wrote: I have a few PHP extensions that I'd be willing to share but I've never done this sort of thing before. I wrote a few extensions for work, and my company sees no problem in donating them to the open source world and to the PHP project, but I'm curious

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-08-05 Thread Jani Taskinen
On Mon, 6 Aug 2001, David Eriksson wrote: named MICO to connect PHP to CORBA objects. (Universe is an improved version of my old PHP extension called Satellite.) I plan to release Universe this week, so keep an eye on php-dev... Is it going to replace ext/satellite or be a new one?? Is

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-08-05 Thread David Eriksson
Quoting Jani Taskinen [EMAIL PROTECTED]: On Mon, 6 Aug 2001, David Eriksson wrote: named MICO to connect PHP to CORBA objects. (Universe is an improved version of my old PHP extension called Satellite.) I plan to release Universe this week, so keep an eye on php-dev... Is it going to