[PHP-DEV] Bug #12585: W3C service stops

2001-08-06 Thread reinhard . faber
From: [EMAIL PROTECTED] Operating system: NT 4.0 SP6a PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: W3C service stops I have a Webserver serving several sites. everything works fine for some time, but the the w3c service (WWW and FTP) stop working. there

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

2001-08-06 Thread wez
ID: 12563 Updated by: wez 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: imlib2 uses AC_ADD_LIBRARY and friends instead of PHP_ADD_LIBRARY and friends in it's config.m4; it is broken against

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

2001-08-06 Thread Jani Taskinen
On Mon, 6 Aug 2001, David Eriksson wrote: (One bug, I believe. But that's one too many of course.) Ooh..I remembered wrong then. I thought I had seen more..:) Or I'm thinking of something else. :) I do not maintain Satellite any more and Universe is indeed intended to replace Satellite. Cool.

[PHP-DEV] apache2filter XtOffsetOf' redefined

2001-08-06 Thread Holger Schopohl
Hi, i can't compile the current cvs version with apache 2.0.18. make[3]: Entering directory `/home/schopohl/development/php4/sapi/apache2filter' /bin/sh /home/schopohl/development/php4/libtool --silent --mode=compile /home/schopohl/development/php4/meta_ccld -I. -

Re: [PHP-DEV] apache2filter XtOffsetOf' redefined

2001-08-06 Thread Sebastian Bergmann
Holger Schopohl wrote: i can't compile the current cvs version with apache 2.0.18. Please upgrade to a recent Apache 2.0 version. It compiles fine with httpd-2.0's latest CVS. -- Sebastian Bergmann Measure Traffic Usability http://sebastian-bergmann.de/

[PHP-DEV] CVS Account Request

2001-08-06 Thread CVS Account Request
Full name: Ozgur AKAN Email: [EMAIL PROTECTED] ID:ozgurakan Purpose: I am a member of php.org.tr and we want to translate the manual to Turskish. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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

2001-08-06 Thread sniper
ID: 12563 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Closed Bug Type: Compile Failure Operating System: RedHat 7.1 / 2.4.7 Kernel PHP Version: 4.0.6 New Comment: This indeed was the reason why it didn't work. The backwards compatibily fix for this AC_* - PHP_*

[PHP-DEV] Bug #12587: strange error_reporting(0)-behaviour

2001-08-06 Thread quappe
From: [EMAIL PROTECTED] Operating system: Linux (S.u.S.E 6.1) PHP version: 4.0.6 PHP Bug Type: PHP options/info functions Bug description: strange error_reporting(0)-behaviour hey buglist, no script necessary...;-) last friday i installed php4.0.6 (coming from

[PHP-DEV] Bug #12588: PHP engine hangs

2001-08-06 Thread laurent . tastet
From: [EMAIL PROTECTED] Operating system: NT4.0 SP5 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: PHP engine hangs I downloaded PHP 4.0.6 binary for win32. I installed it on IIS4 (which was perfectly working in ASP and PERL mode), as a CGI module

[PHP-DEV] Bug #12589: juliantojd () returns incorrect JD

2001-08-06 Thread kovi
From: [EMAIL PROTECTED] Operating system: Win2K PHP version: 4.0.5 PHP Bug Type: Calendar related Bug description: juliantojd () returns incorrect JD juliantojd() returns incorrect Julian Days, i.e juliantojd (7,30,2001) returns 2452134 instead of 2452121. See

[PHP-DEV] Bug #12589 Updated: juliantojd () returns incorrect JD

2001-08-06 Thread kovi
ID: 12589 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Calendar related Operating System: Win2K PHP Version: 4.0.5 New Comment: I was confused with the julian and gregorian calendars... Previous Comments:

[PHP-DEV] Bug #12589 Updated: juliantojd () returns incorrect JD

2001-08-06 Thread sniper
ID: 12589 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Bogus Bug Type: Calendar related Operating System: Win2K PHP Version: 4.0.5 New Comment: user error. :) Previous Comments:

[PHP-DEV] Bug #12498 Updated: cant config magic_quotes_off

2001-08-06 Thread sniper
ID: 12498 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Configuration Issues Operating System: Windows 4.9 (Me) PHP Version: 4.0.6 New Comment: Are you running PHP in CGI mode? Or as apache module? And have you read the install.txt file? It

[PHP-DEV] Bug #12590: hex const (0xABCDEF01) parsing error

2001-08-06 Thread vda
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Scripting Engine problem Bug description: hex const (0xABCDEF01) parsing error Looks like there's some trouble with parsing big hex consts (those with sign bit set). Try this: ... echo

[PHP-DEV] Bug #12502 Updated: oci8.dll can't be loaded

2001-08-06 Thread sniper
ID: 12502 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: OCI8 related Operating System: WinNT and Windows 2000 PHP Version: 4.0.6 New Comment: Ask support questions on the appropriate mailing list: http://www.php.net/support.php ( php-db /

[PHP-DEV] Bug #12591: php -l doesn't output anything

2001-08-06 Thread kame
From: [EMAIL PROTECTED] Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: PHP options/info functions Bug description: php -l doesn't output anything under windows, in the php.exe directory : php -l php.exe, no output, no complain, you can try with whatever you

[PHP-DEV] Bug #12591 Updated: php -l doesn't output anything

2001-08-06 Thread sniper
ID: 12591 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: PHP options/info functions Operating System: Windows 98 PHP Version: 4.0.6 New Comment: This should be fixed in CVS. Try a snapshot: http://www.zend.com/snapshots/ --Jani Previous

[PHP-DEV] Bug #12555 Updated: imap_body on empty messages causes seg fault

2001-08-06 Thread sniper
ID: 12555 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: IMAP related Operating System: Linux PHP Version: 4.0.6 New Comment: I can not reproduce this with PHP 4.0.6. With which c-client version is your PHP linked with? --Jani Previous

Re: [PHP-DEV] apache2filter XtOffsetOf' redefined

2001-08-06 Thread Holger Schopohl
In article [EMAIL PROTECTED], sb@sebastian- bergmann.de says... Holger Schopohl wrote: i can't compile the current cvs version with apache 2.0.18. Please upgrade to a recent Apache 2.0 version. It compiles fine with httpd-2.0's latest CVS. okay, that works fine, thanks. someone has

Re: [PHP-DEV] apache2filter XtOffsetOf' redefined

2001-08-06 Thread Sebastian Bergmann
Holger Schopohl wrote: Files *.php SetOutputFilter PHP SetInputFilter PHP /Files is it all? no AddType ? This is correct. PHP registers itself as a filter with Apache 2. my apache parse no .php file... It works. At least on my and Sascha's machines :-) -- Sebastian Bergmann

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

2001-08-06 Thread Ismael da Silva Mendes
Hi, I'm brasilian this is o code i'm try running!! html head titleTeste PHP COM/title /head body pTeste PHP COM/DCOM/p ? /* CP_ACP - ANSI code page CP_MACCP - Macintosh code page CP_OEMCP - OEM code page CP_SYMBOL - Windows 2000: Symbol code page (42) CP_THREAD_ACP -

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

2001-08-06 Thread Andy
4.0.6 is stable get it at http://php.net/downloads.php On Sun, 05 Aug 2001, knight wrote: 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

[PHP-DEV] Bug #12349 Updated: Broken PNG image

2001-08-06 Thread sniper
ID: 12349 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: GD related Operating System: Windows 98 PHP Version: 4.0.6 New Comment: This is a bug in the GD-2.0.1 (beta) library. Closed. --Jani Previous Comments:

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

2001-08-06 Thread Andy
I didn't think that opening a bug report just to put a patch in it was correct. Patches are supposed to be sent to the php-dev mailing list. Was I wrong? On Sun, 05 Aug 2001, Jani Taskinen wrote: Could you please tell me what is the 'Bogus' in this report? It's a bug report which happens to

[PHP-DEV] Bug #12555 Updated: imap_body on empty messages causes seg fault

2001-08-06 Thread jon
ID: 12555 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: IMAP related Operating System: Linux PHP Version: 4.0.6 New Comment: The version linked to from the documentation pages (4.7 i believe) - though I have tried others

[PHP-DEV] Bug #12593: Serious Ouput Problem in input tag

2001-08-06 Thread tcmleung
From: [EMAIL PROTECTED] Operating system: Window 2000 server with IIS PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Serious Ouput Problem in input tag The session_register() seems accessing wrong memory address and causing some strange bugs. The

[PHP-DEV] Bug #9639 Updated: Nasty bug in mod_mm.c causes CGI POST to stop working

2001-08-06 Thread sniper
ID: 9639 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Session related Operating System: Red Hat PHP Version: 4.0.4pl1 New Comment: Please create this patch against the latest CVS. And put it somewhere in the net to be downloaded and add the url here. --Jani

[PHP-DEV] Bug #10833 Updated: Hyperlink tag a when split on multiple lines, session ids are not propagated

2001-08-06 Thread sniper
ID: 10833 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.5 New Comment: No feedback. And the latest CVS works just fine on this kind of urls. --Jani Previous Comments:

[PHP-DEV] Bug #12594: Unable to load dynamic library

2001-08-06 Thread huib
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Dynamic loading Bug description: Unable to load dynamic library I'm recieve the following error: Unable to load dynamic library for the extensions: libmcrypt.dll php_mssql.dll

[PHP-DEV] Bug #12595: $argv passing

2001-08-06 Thread sorgo
From: [EMAIL PROTECTED] Operating system: win2k (prob. all win\'s) PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: $argv passing When installing php on win32 it creates a registry record at My Computer\HKEY_CLASSES_ROOT\Applications\ named php.exe

[PHP-DEV] Bug #10895 Updated: Segmentation Fault

2001-08-06 Thread andy
ID: 10895 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Session related Operating System: Sun Solaris 5.8 on Intel PHP Version: 4.0.5 New Comment: no feedback Previous Comments:

[PHP-DEV] Bug #10955 Updated: session configured with session_set_save_handler and a database

2001-08-06 Thread andy
ID: 10955 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Session related Operating System: Red Hat Linux release 6.2 (Zoot) PHP Version: 4.0.5 New Comment: no feedback Previous Comments:

[PHP-DEV] Bug #11573 Updated: Malformed HTTP response Header

2001-08-06 Thread andy
ID: 11573 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.5 New Comment: no feedback Previous Comments: [2001-06-20

[PHP-DEV] Bug #11883 Updated: unmotivated memory exhausting

2001-08-06 Thread andy
ID: 11883 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Scripting Engine problem Operating System: Linux Kernel 2.2.16 PHP Version: 4.0.6 New Comment: no feedback Previous Comments:

[PHP-DEV] Bug #11914 Updated: Segmentation fault on Apache 1.3.20/1.3.19

2001-08-06 Thread andy
ID: 11914 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Apache related Operating System: SuSE 7.0 PHP Version: 4.0.6 New Comment: no feedback Previous Comments: [2001-07-06

[PHP-DEV] Bug #11951 Updated: HTML encoding problem

2001-08-06 Thread andy
ID: 11951 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Unknown/Other Function Operating System: Any PHP Version: 4.0.5 New Comment: no feedback Previous Comments:

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

2001-08-06 Thread Jani Taskinen
On Mon, 6 Aug 2001, Andy wrote: I didn't think that opening a bug report just to put a patch in it was correct. Patches are supposed to be sent to the php-dev mailing list. Was I wrong? Yes and no. There are no (that I know of) guidelines for this. But if a bug report with a patch to a bug is

[PHP-DEV] Bug #12596: Definition of array using constants in array doesn't work

2001-08-06 Thread jack
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Class/Object related Bug description: Definition of array using constants in array doesn't work The following piece of code doesn't work: ? define ('A', 20); class B {

[PHP-DEV] Bug #12597: AC_CHECK_LIB on -curl fails if cURL is elsewhere than /usr or /usr/local

2001-08-06 Thread heko
From: [EMAIL PROTECTED] Operating system: OpenBSD 2.9-current PHP version: 4.0CVS-2001-08-06 PHP Bug Type: *Configuration Issues Bug description: AC_CHECK_LIB on -curl fails if cURL is elsewhere than /usr or /usr/local AC_CHECK_LIB in ext/curl/config.m4 fails if cURL is

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Thies C. Arntzen wrote: thies Mon Aug 6 09:36:09 2001 EDT Modified files: /php4/ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /php4/ext/wddxwddx.c Log:

[PHP-DEV] Fwd: Re: [thies@thieso.net: Re: [PHP-DEV] incomplete class broken?]

2001-08-06 Thread Zeev Suraski
Date: Mon, 06 Aug 2001 16:07:55 +0300 To: Thies C. Arntzen [EMAIL PROTECTED] From: Zeev Suraski [EMAIL PROTECTED] Subject: Re: [[EMAIL PROTECTED]: Re: [PHP-DEV] incomplete class broken?] Cc: Thies C. Arntzen [EMAIL PROTECTED], Andi Gutmans [EMAIL PROTECTED] At 16:00 06/08/2001, Thies C. Arntzen

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Thies C. Arntzen
On Mon, Aug 06, 2001 at 09:08:05AM -0500, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Thies C. Arntzen wrote: thies Mon Aug 6 09:36:09 2001 EDT Modified files: /php4/ext/standard basic_functions.c incomplete_class.c

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
By the way, if it's really important, we can look into supporting it. The way it was before - it worked in most cases (assuming you never tried to use a class before you dl() the corresponding extension), but could result in crashes in other cases. I don't think it's very important, though.

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Thies C. Arntzen wrote: i don't think this is crucial for the gtk stuff as this problem only arises once the request ends _and_ a new request starts. the shutdown in the engine has been changed to only destruct classes (from the end of the list) until the

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: By the way, if it's really important, we can look into supporting it. The way it was before - it worked in most cases (assuming you never tried to use a class before you dl() the corresponding extension), but could result in crashes in other cases.

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Stig Sæther Bakken
[Zeev Suraski [EMAIL PROTECTED]] By the way, if it's really important, we can look into supporting it. The way it was before - it worked in most cases (assuming you never tried to use a class before you dl() the corresponding extension), but could result in crashes in other cases. I don't

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 17:42 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: By the way, if it's really important, we can look into supporting it. The way it was before - it worked in most cases (assuming you never tried to use a class before you dl() the corresponding extension),

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 17:49 06/08/2001, Stig Sæther Bakken wrote: [Zeev Suraski [EMAIL PROTECTED]] By the way, if it's really important, we can look into supporting it. The way it was before - it worked in most cases (assuming you never tried to use a class before you dl() the corresponding extension), but

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: How so? I can understand that people get used to it, but it's really bad. extensions should be loaded in the php.ini file. There's really no good reason for using dl() over the php.ini method. Of course there is. One example is using the same PHP

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andy
I disagree, is there any way dl() can be fixed, because it is a useful function... On Mon, 06 Aug 2001, Zeev Suraski wrote: At 17:49 06/08/2001, Stig Sæther Bakken wrote: [Zeev Suraski [EMAIL PROTECTED]] By the way, if it's really important, we can look into supporting it. The way it was

[PHP-DEV] Bug #12599: ImageTTFText doesn't open font file

2001-08-06 Thread carlos . a . viana
From: [EMAIL PROTECTED] Operating system: Win98 PHP version: 4.0.6 PHP Bug Type: GD related Bug description: ImageTTFText doesn't open font file The following code generates this warning (doesn't happen with 4.0.5): bWarning/b: Could not find/open font in

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 17:52 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: How so? I can understand that people get used to it, but it's really bad. extensions should be loaded in the php.ini file. There's really no good reason for using dl() over the php.ini method. Of course

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
Please don't just say it's useful, please say why :) dl() has absolutely nothing over loading in php.ini, and has many drawbacks. Zeev At 17:55 06/08/2001, Andy wrote: I disagree, is there any way dl() can be fixed, because it is a useful function... On Mon, 06 Aug 2001, Zeev Suraski wrote:

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
BTW, there's no good reason not to load all of the extensions you may need in all of your scripts from php.ini. Loading many extensions doesn't pose a significant/noticeable load. Loading using dl() does. Zeev At 17:52 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: BTW, there's no good reason not to load all of the extensions you may need in all of your scripts from php.ini. Loading many extensions doesn't pose a significant/noticeable load. Loading using dl() does. Can you explain why the difference matters?

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Stig Sæther Bakken
[Zeev Suraski [EMAIL PROTECTED]] Please don't just say it's useful, please say why :) dl() has absolutely nothing over loading in php.ini, and has many drawbacks. Please allow me to coin a new term: Zeev-ism. Zeev-isms are of the form users don't need X or 95.6% of the scripts out there

[PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Sterling Hughes
Hey, The attached patch adds support for passing a variable to INIT_*CLASS_ENTRY in the name field (instead of just passing a constant string). I've needed this for a function which provides API functionality, registering classes with Zend based on the information passed

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 18:07 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: BTW, there's no good reason not to load all of the extensions you may need in all of your scripts from php.ini. Loading many extensions doesn't pose a significant/noticeable load. Loading using dl() does.

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
See my letter to Andrei. I've yet to see an ISP that (knowingly) allows users to load extensions, and wouldn't agree to add them to the php.ini file. This isn't a case of me saying users don't need X or 95.6% of the scripts out there don't need Y. This is me saying that dl() is *bad*, even

[PHP-DEV] Bug #12600: unexpected behaviour

2001-08-06 Thread tr909
From: [EMAIL PROTECTED] Operating system: linux redhat 7.1 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: unexpected behaviour 1. when register_globals is off you have to SET and READ HTTP_SESSION_VARS this is wrong in the docs or at least confusing

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Zeev Suraski
It's not a big deal and we can commit it (as it's done in the 'put-expensive-operations-here' part of PHP, the module-init, hint hint :). However, is it really necessary? Zeev At 05:53 06/08/2001, Sterling Hughes wrote: Hey, The attached patch adds support for passing a variable to

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: Drawbacks: - It's slow. We encourage putting expensive operations into the module_init, using dl() means they end up being done multiple times. - Under Apache, it's even worse - since in addition to slowliness, it also ends up consuming

[PHP-DEV] Bug #12597 Updated: AC_CHECK_LIB on -curl fails if cURL is elsewhere than /usr or /usr/local

2001-08-06 Thread sniper
ID: 12597 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Configuration Issues Operating System: OpenBSD 2.9-current PHP Version: 4.0CVS-2001-08-06 New Comment: Fixed in CVS. You also need to have -L$CURL_DIR/lib after the $CURL_LIBS since the path

[PHP-DEV] Bug #12599 Updated: ImageTTFText doesn't open font file

2001-08-06 Thread sniper
ID: 12599 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Win98 PHP Version: 4.0.6 New Comment: This has been fixed in CVS already. Next time, use the search before submitting bug reports.. --Jani Previous Comments:

[PHP-DEV] Bug #12601: Error loading oci8.dll, a entry point is missing .

2001-08-06 Thread csalasa
From: [EMAIL PROTECTED] Operating system: windows 2000 profesional PHP version: 4.0.6 PHP Bug Type: OCI8 related Bug description: Error loading oci8.dll, a entry point is missing . Error loading oci8.dll, a entry point is missing ... to procedure ocilobopen in oci.dll he

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Sterling Hughes
On Mon, 6 Aug 2001, Zeev Suraski wrote: It's not a big deal and we can commit it (as it's done in the 'put-expensive-operations-here' part of PHP, the module-init, hint hint :). ;) However, is it really necessary? Well, I have the following function (there maybe bugs, I'm still

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Thies C. Arntzen
On Mon, Aug 06, 2001 at 10:34:34AM -0500, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: Drawbacks: - It's slow. We encourage putting expensive operations into the module_init, using dl() means they end up being done multiple times. - Under Apache, it's even worse -

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Andrei Zmievski
On Sun, 05 Aug 2001, Sterling Hughes wrote: That's used to register the class. If you can think of another way to do (*don't* say macro ;-), then I'd be more than willing to hear it, but otherwise... You can just initialize the class entry manually. -Andrei Everything is a

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Thies C. Arntzen wrote: don't think there's an API for that. we would have to add the MODULE_NUMBER to the class-entry and then (when unloading the module) also destroy the classes that that module defined. i think constants and functions already do this.

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Sterling Hughes
On Mon, 6 Aug 2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: How so? I can understand that people get used to it, but it's really bad. extensions should be loaded in the php.ini file. There's really no good reason for using dl() over the php.ini method. Of

[PHP-DEV] Bug #12603: incorrect --enable-native-ttf, correct - --enable-native-tt

2001-08-06 Thread xakep
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: *Configuration Issues Bug description: incorrect --enable-native-ttf, correct - --enable-native-tt in configure mistake in --enable-native-tt (--enable-native-ttf) -- Edit bug report at:

[PHP-DEV] Bug #12603 Updated: incorrect --enable-native-ttf, correct - --enable-native-tt

2001-08-06 Thread andy
ID: 12603 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Configuration Issues Operating System: PHP Version: 4.0.6 New Comment: This has been fixed in the CVS for a LOOONG time... Previous Comments:

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Sterling Hughes
On Mon, 6 Aug 2001, Andrei Zmievski wrote: On Sun, 05 Aug 2001, Sterling Hughes wrote: That's used to register the class. If you can think of another way to do (*don't* say macro ;-), then I'd be more than willing to hear it, but otherwise... You can just initialize the

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 06:30 06/08/2001, Sterling Hughes wrote: On Mon, 6 Aug 2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: How so? I can understand that people get used to it, but it's really bad. extensions should be loaded in the php.ini file. There's really no good reason

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
By the way, I can't really quantify significantly, as it depends on what kind of minit you have. For a module such as the COM module, it can double the amount of time it takes the script to run (if you load typelibs). For some other modules, it can be almost anything, if your minit is mostly

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: By the way, I can't really quantify significantly, as it depends on what kind of minit you have. For a module such as the COM module, it can double the amount of time it takes the script to run (if you load typelibs). For some other modules, it

[PHP-DEV] Re: Bug #12599 Updated: ImageTTFText doesn't open font file

2001-08-06 Thread Carlos Viana
I did search it before, with no results. ID: 12599 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Win98 PHP Version: 4.0.6 New Comment: This has been fixed in CVS already. Next time, use the search before

[PHP-DEV] First snapshot of the Universe PHP extension (PHP-MICO binding)

2001-08-06 Thread David Eriksson
Hi! I'm proud to present the first snapshot of the Universe PHP extension. What is it? It is a CORBA connection using MICO as ORB. It is intended to replace the exisiting PHP extension Satellite. You can access remote or local CORBA objects, and you can create CORBA objects in PHP code!

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 19:29 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: By the way, I can't really quantify significantly, as it depends on what kind of minit you have. For a module such as the COM module, it can double the amount of time it takes the script to run (if you

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 07:10 06/08/2001, Sterling Hughes wrote: What if you use 50 different shared extensions, for different scripts on the same box? Should you load them all in each time? I don't think so... Other than your phobia, there's no real reason not to do it :) Zeev -- PHP Development

Re: [PHP-DEV] Re: Bug #12599 Updated: ImageTTFText doesn't open font file

2001-08-06 Thread Andy
Well, then you didn't search for the right thing... On Mon, 06 Aug 2001, Carlos Viana wrote: I did search it before, with no results. ID: 12599 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Win98 PHP

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: At 07:10 06/08/2001, Sterling Hughes wrote: What if you use 50 different shared extensions, for different scripts on the same box? Should you load them all in each time? I don't think so... Other than your phobia, there's no real

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 19:40 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: At 07:10 06/08/2001, Sterling Hughes wrote: What if you use 50 different shared extensions, for different scripts on the same box? Should you load them all in each time? I don't think so...

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: Nothing measurable. That was actually measured (changing PHP to initialize extensions just-in-time, in case they're actually being used) - and it turned out it wasn't giving any noticeable performance gain. If there were a thousand extensions, we

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
At 19:45 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: Nothing measurable. That was actually measured (changing PHP to initialize extensions just-in-time, in case they're actually being used) - and it turned out it wasn't giving any noticeable performance

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Sterling Hughes
On Mon, 6 Aug 2001, Zeev Suraski wrote: At 19:40 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: At 07:10 06/08/2001, Sterling Hughes wrote: What if you use 50 different shared extensions, for different scripts on the same box? Should you load

[PHP-DEV] Bug #11933 Updated: array_map causes segfault

2001-08-06 Thread andrei
ID: 11933 Updated by: andrei Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Old Operating System: Debian GNU/Linux sid (kernel 2 Operating System: Debian GNU/Linux \sid\ (kernel 2 PHP Version: 4.0.6 New Comment: Are you running Zend optimizer by any chance? Previous

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread andrei
ID: 12477 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: That's right, you need to escape $ in your replacement strings. Previous Comments:

[PHP-DEV] Bug #11933 Updated: array_map causes segfault

2001-08-06 Thread andy
ID: 11933 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Old Operating System: Debian GNU/Linux sid (kernel 2 Operating System: Debian GNU/Linux sid (kernel 2 PHP Version: 4.0.6 New Comment: status - feedback Previous Comments:

[PHP-DEV] Bug #12140 Updated: pcre_replace change behavior with \

2001-08-06 Thread andrei
ID: 12140 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: PHP Version: 4.0.6 New Comment: That's right. Your turns into by the time PHP string parsing is done with it. Then the extension looks at it and

[PHP-DEV] Bug #12518 Updated: ocifreestatment doesn't free the Oracle cursor and so you run out of cursors

2001-08-06 Thread derek
ID: 12518 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: OCI8 related Operating System: Linux PHP Version: 4.0.6 New Comment: I have a long-running PHP script that eventually comes up with: Failed execution, error: ORA-00604:

[PHP-DEV] Bug #11594 Updated: preg_replace is not working with backslash $

2001-08-06 Thread andrei
ID: 11594 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: Solaris PHP Version: 4.0.5 New Comment: You need to use '$' as you replacement string. Previous Comments:

[PHP-DEV] Bug #11236 Updated: addslashes() before preg_replace() gives parse error in regexp

2001-08-06 Thread andrei
ID: 11236 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: Linux PHP Version: 4.0.5 New Comment: This works in latest CVS - try upgrading to 4.0.6 or later. Previous Comments:

[PHP-DEV] Bug #10669 Updated: Problem with preg_split

2001-08-06 Thread andrei
ID: 10669 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: Linux-2.2.19 PHP Version: 4.0.5 New Comment: This should work in 4.0.6 and later. Previous Comments:

[PHP-DEV] Bug #10179 Updated: repetition quantifiers

2001-08-06 Thread andrei
ID: 10179 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: SuSE7.0 PHP Version: 4.0.4pl1 New Comment: {,10} means match up to 10 which includes 0 matches. Previous Comments:

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
On Mon, 6 Aug 2001, Sterling Hughes wrote: On Mon, 6 Aug 2001, Zeev Suraski wrote: At 19:40 06/08/2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: At 07:10 06/08/2001, Sterling Hughes wrote: What if you use 50 different shared extensions, for different

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Andrei Zmievski
On Mon, 06 Aug 2001, Zeev Suraski wrote: I think the disk weights about the same regardless of the data inside it :) Yes, but 50 extensions will consume more memory than 1. -Andrei In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt.

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-06 Thread Zeev Suraski
On Mon, 6 Aug 2001, Andrei Zmievski wrote: On Mon, 06 Aug 2001, Zeev Suraski wrote: I think the disk weights about the same regardless of the data inside it :) Yes, but 50 extensions will consume more memory than 1. Nothing noticable, really. Unless you allocate dozens of megabytes in

[PHP-DEV] Re: Bug #12480 Updated: array_merge_recursive() clobbers existing numeric keys

2001-08-06 Thread Peter Lowe
On Aug 06, Bug Database wrote: ID: 12480 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Arrays related Operating System: FreeBSD PHP Version: 4.0.6 New Comment: array_merge* functions are not meant to preserve numeric keys. uhm, forgive me

[PHP-DEV] Bug #12518 Updated: ocifreestatment doesn't free the Oracle cursor and so you run out of cursors

2001-08-06 Thread derek
ID: 12518 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: OCI8 related Operating System: Linux PHP Version: 4.0.6 New Comment: With the help of v$open_cursor I've tracked down the problem and it was a case of user error, my apologies

  1   2   >