[PHP-DEV] Re: Bug #13317 Updated: Optimizing Bug for 'sizeof' function

2001-09-15 Thread John Lim
Out of curiosity, would the Zend Optimizer optimize this for loop? Does it recognize sizeof( ) as an invariant? Probably not as the size of an object can change within the for-loop. Bye, John <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ID: 13317 > Update

[PHP-DEV] Bug #13325: php_printer.dll causes Access violation in php4ts.dll

2001-09-15 Thread ryan
From: [EMAIL PROTECTED] Operating system: Windows 2000, SP2, all updates PHP version: 4.0CVS-2001-09-15 PHP Bug Type: Reproducible crash Bug description: php_printer.dll causes Access violation in php4ts.dll Command line version of PHP 4.0 CVS, 9-15. Compiled with Visual Stu

[PHP-DEV] Bug #13324 Updated: Access violations / memory problems

2001-09-15 Thread txtilde
ID: 13324 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: After further investigation, this seems to be a hint to a higher IIS threading problem rather than a problem specific

[PHP-DEV] Bug #13324 Updated: Access violations / memory problems

2001-09-15 Thread txtilde
ID: 13324 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: As a follow-up, with ZendOptimizer.dll uncommented in the php.ini file: Each IIS restart and request to the php webp

[PHP-DEV] Bug #13323 Updated: read_exif_data fails with images produced by FujiFilm 4900Zoom

2001-09-15 Thread mfischer
ID: 13323 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Graphics related Operating System: Windows 2000 Pro PHP Version: 4.0.6 New Comment: Please try a recent snapshot from http://snaps.php.net:8000/ - Markus Previous Comments: -

[PHP-DEV] Bug #13324: Access violations / memory problems

2001-09-15 Thread txtilde
From: [EMAIL PROTECTED] Operating system: Windows 2000 SP2 PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: Access violations / memory problems This is a fresh install of PHP 4.0.6 on a new install of Windows 2000 server with service pack 2. Zend Optimizer is i

[PHP-DEV] Bug #13323: read_exif_data fails with images produced by FujiFilm 4900Zoom

2001-09-15 Thread marc_thomas
From: [EMAIL PROTECTED] Operating system: Windows 2000 Pro PHP version: 4.0.6 PHP Bug Type: *Graphics related Bug description: read_exif_data fails with images produced by FujiFilm 4900Zoom Image produced by FujiFilm 4900Zoom Examples of error messages. The number of byte

[PHP-DEV] Bug #13322 Updated: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread ih
ID: 13322 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Debian Linux 2.2 PHP Version: 4.0CVS-2001-09-15 New Comment: Result with newest libxml2-2.4.5 is the same. Program received signal SIGSEGV, Segmentation fault

[PHP-DEV] Re: Bug #12690 Updated: array_unique under windows does not work as it does under linux

2001-09-15 Thread Jeroen van Wolffelaar
> then why does this work in version 4.0.4 ? It was an implementation side-effect. It was not intentionally. The same issue as that, for example, you can specify a variable violating the naming rules by using: $GLOBALS["0a\n"] = "Some value"; because it would be bad for performance to check fo

[PHP-DEV] Bug #13322 Updated: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread ih
ID: 13322 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Debian Linux 2.2 PHP Version: 4.0CVS-2001-09-15 New Comment: Problem is still here in last CVS. Standalone php (cgi) same problem. Program received signal SIG

Re: [PHP-DEV] Re: Bug #13322 Updated: Still SIGSEGV with DOMXML /double free()

2001-09-15 Thread Joey Smith
On Sat, 15 Sep 2001, Ivo Hulinsky wrote the following to Bug Database and...: > Why now I cannot update this bug? I've got error: > > The username or password you supplied was incorrect. > Something went wrong updating the database. > > Is this problem that I have not CVS username? M

[PHP-DEV] Bug #13322 Updated: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread ih
ID: 13322 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Old Bug Type: DOM XML related Bug Type: Reproducible crash Operating System: Debian Linux 2.2 PHP Version: 4.0CVS-2001-09-15 New Comment: I've got php4-200109151335.tar.bz from http://sna

[PHP-DEV] Re: Bug #13322 Updated: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread Ivo Hulinsky
On 15 Sep 2001, Bug Database wrote: BD>ID: 13322 BD>Updated by: joey BD>Reported By: [EMAIL PROTECTED] BD>Old Status: Open BD>Status: Feedback BD>Bug Type: Reproducible crash BD>Operating System: Debian Linux 2.2 BD>PHP Version: 4.0CVS-2001-09-15 BD>New Comment: BD> BD>I cannot duplicate this wit

[PHP-DEV] Bug #12475 Updated: the variable $PHP_SELF is not set.

2001-09-15 Thread irc-html
ID: 12475 Updated by: irc-html Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Variables related Operating System: Windows 2000 Server PHP Version: 4.0.6 New Comment: Was able to verify this. Anyone able to provide any information about why this occurs? Previous Comments:

[PHP-DEV] Bug #13322 Updated: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread joey
ID: 13322 Updated by: joey Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: Debian Linux 2.2 PHP Version: 4.0CVS-2001-09-15 New Comment: I cannot duplicate this with current CVS...are you absolutely SURE you are using most recent CVS

[PHP-DEV] Bug #13322 Updated: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread ih
ID: 13322 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Debian Linux 2.2 PHP Version: 4.0CVS-2001-09-15 New Comment: ii libc6 2.2.4-1GNU C Library: Shared libraries ii libc6-dbg 2.2.4-1

[PHP-DEV] CVS Account Request

2001-09-15 Thread CVS Account Request
Full name: Denis Peplin Email: [EMAIL PROTECTED] ID:den Purpose: Submit new Image:: class to PEAR http://volginfo.ru/Image.phps -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP-DEV] Bug #13322: Still SIGSEGV with DOMXML / double free()

2001-09-15 Thread ih
From: [EMAIL PROTECTED] Operating system: Debian Linux 2.2 PHP version: 4.0CVS-2001-09-15 PHP Bug Type: Reproducible crash Bug description: Still SIGSEGV with DOMXML / double free() DOMXML still has problem with SIGSEGV. Now, after shutdown, php_free_xml_dom got NULL pointer

[PHP-DEV] Bug #13174 Updated: SIGABRT when starting iPlanet

2001-09-15 Thread sniper
ID: 13174 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: iPlanet related Operating System: Solaris 2.6 PHP Version: 4.0.6 New Comment: So are there any problems with the latest snapshot or not? Previous Comments: --

[PHP-DEV] Bug #13317 Updated: Optimizing Bug for 'sizeof' function

2001-09-15 Thread joey
ID: 13317 Updated by: joey Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Performance problem Operating System: Unix/Linux PHP Version: 4.0.6 New Comment: But that is what you have ASKED it to do. This is the way that for() should behave. Not a bug. Previous Comments: -

[PHP-DEV] Bug #13312 Updated: cant connect to a odbc source

2001-09-15 Thread ahill
ID: 13312 Updated by: ahill Reported By: [EMAIL PROTECTED] Status: Open Bug Type: ODBC related Operating System: Windows2000 server PHP Version: 4.0.6 New Comment: This will occur on Windows if you try to use a File DSN instead of a System DSN - and is expected behavior. Try a System DSN.

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread joseph_a
ID: 13319 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: But this also happends with double, not only with integer. In this case it should be possible to autoconvert it to strin

[PHP-DEV] Re: Bug #12690 Updated: array_unique under windows does not work as it does under linux

2001-09-15 Thread colin
then why does this work in version 4.0.4 ? Bug Database wrote: >ID: 12690 >Updated by: jeroen >Reported By: [EMAIL PROTECTED] >Old Status: Open >Status: Bogus >Bug Type: Arrays related >Operating System: Windows 2000 >PHP Version: 4.0.6 >New Comment: > >Array_unique isn't supposed to handle mu

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread sterling
ID: 13319 Updated by: sterling Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: This is impossible due to the fact that ereg_replace() supports the specifying of ascii values as a replacement argument. Previous Comme

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread joseph_a
ID: 13319 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: But preg_replace('/4/', 3, '124') will produce '123' as expected. Even if it's not a bug, it still would be nice if that

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread swm
ID: 13319 Updated by: swm Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: closed. Previous Comments: [2001-09-15 13:11:01] [E

[PHP-DEV] Bug #13319 Updated: ereg_replace() with numeric 2nd argument

2001-09-15 Thread swm
ID: 13319 Updated by: swm Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Regexps related Operating System: Linux PHP Version: 4.0.6 New Comment: You are correct in saying that the second argument is a 'replacement string', not a number. The documentation is very clear about this. Previo

[PHP-DEV] Bug #13320: shmget() fails if running two copies of php4 simultaniously as different users

2001-09-15 Thread rawb
From: [EMAIL PROTECTED] Operating system: Linux/Debian/unstable PHP version: 4.0.6 PHP Bug Type: Session related Bug description: shmget() fails if running two copies of php4 simultaniously as different users Even with the session handler set to 'files', the mod_mm MINIT fu

[PHP-DEV] Bug #13319: ereg_replace() with numeric 2nd argument

2001-09-15 Thread joseph_a
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Regexps related Bug description: ereg_replace() with numeric 2nd argument When using ereg_replace() with a numeric 2nd argument (replacement string), this argument is treated as an empty string.

[PHP-DEV] PHP 3.0 Bug Summary Report

2001-09-15 Thread php-dev
PHP 3.0 Bug Database summary - http://bugs.php.net Num Status Summary (540 total including feature requests) ===[*General Issues]== 4180 Open is_link returns false when target doesnt exist (should return true) 9610 Bogus Dea

[PHP-DEV] Bug #13318 Updated: check compiler failure

2001-09-15 Thread sniper
ID: 13318 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *Compile Issues Operating System: linux redhat 7.0 PHP Version: 4.0.6 New Comment: We don't support RPMs. Ask support from Redhat. --Jani Previous Comments: -

[PHP-DEV] Bug #13318: check compiler failure

2001-09-15 Thread ncroiset
From: [EMAIL PROTECTED] Operating system: linux redhat 7.0 PHP version: 4.0.6 PHP Bug Type: *Compile Issues Bug description: check compiler failure when I want to do rpm --rebuild php-4.0.6-6.src.rpm from rawhide 1.0. I obtain this : Installing php-4.0.6-6.src.rpm Execu

[PHP-DEV] Bug #13317: Optimizing Bug for 'sizeof' function

2001-09-15 Thread mladdens
From: [EMAIL PROTECTED] Operating system: Unix/Linux PHP version: 4.0.6 PHP Bug Type: Performance problem Bug description: Optimizing Bug for 'sizeof' function There is a huge diference in speed with these two approaches: $file=file("file.txt"); 1. for($i=0;$ihttp://

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

2001-09-15 Thread phanto
ID: 12471 Updated by: phanto Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: COM related Operating System: PHP Version: 4.0.5 New Comment: no feedback Previous Comments: [2001-08-05 07:24:32]

Re: [PHP-DEV] zend_do_end_class_declaration() question

2001-09-15 Thread Andi Gutmans
What happens in do_inherit_parent_constructor(CG(active_class_entry));? Can you try and check this with a Vanilla version of 4.0.6? Andi At 12:15 PM 9/15/2001 +0200, Stefan Arentz wrote: >On Sat, Sep 15, 2001 at 11:42:18AM +0300, Andi Gutmans wrote: > > It's the correct place. It sounds weird wha

[PHP-DEV] Bug #13315 Updated: problem with function definitions

2001-09-15 Thread hholzgra
ID: 13315 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *General Issues Operating System: WIN98/APACHE1.3.19 PHP Version: 4.0.4pl1 New Comment: no way, default values are evaluated at compile time and there is no $foo set at all as the program didn't start to run b

Re: [PHP-DEV] Bug #13309 Updated: apache won't start, no errors in any log files, php.ini problem?]

2001-09-15 Thread mike
Ok, I'm not sure if this is a bug in PHP or GD, but I've had this happen when using php 4.0.6 and gd1.8.4 and apache 1.3.20 If i configure --with-gd=[dir] --with-png-dir=[dir] --with-jpeg-dir=[dir] --with-apsx=[apxs path] apache will not load the php module. If i configure without gd its fine

Re: [PHP-DEV] Bug #13315 Updated: problem with function definitions

2001-09-15 Thread Markus Fischer
[taking of the bug(ging system :)] On Sat, Sep 15, 2001 at 09:43:00AM -, [EMAIL PROTECTED] wrote : > ID: 13315 > User updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > Status: Bogus > Bug Type: *General Issues > Operating System: WIN98/APACHE1.3.19 > PHP Version: 4.0.4pl1 > Ne

Re: [PHP-DEV] zend_do_end_class_declaration() question

2001-09-15 Thread Stefan Arentz
On Sat, Sep 15, 2001 at 11:42:18AM +0300, Andi Gutmans wrote: > It's the correct place. It sounds weird what you're mentioning. > do_inherit_parent_constructor() also checks ce->parent and it seems to work. > Do you have a short script (class decelerations) which shows this behavior? > What are

[PHP-DEV] Bug #13316: CGI dies (Premature end of script headers) with URLs with /x after script name

2001-09-15 Thread jobarr
From: [EMAIL PROTECTED] Operating system: Windows 2000 SP1 PHP version: 4.0.6 PHP Bug Type: URL related Bug description: CGI dies (Premature end of script headers) with URLs with /x after script name I am using the binary from this site. Anytime I access a PHP script with

[PHP-DEV] Bug #13315 Updated: problem with function definitions

2001-09-15 Thread php
ID: 13315 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *General Issues Operating System: WIN98/APACHE1.3.19 PHP Version: 4.0.4pl1 New Comment: why is that? I really need this:( Will a later version of php support constructions like this? Previous Com

[PHP-DEV] Bug #13315 Updated: problem with function definitions

2001-09-15 Thread mfischer
ID: 13315 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: WIN98/APACHE1.3.19 PHP Version: 4.0.4pl1 New Comment: Shouldn't. Default values must be constant expressions. Not a bug, bogusified. - Markus Previous Co

[PHP-DEV] Bug #13314 Updated: Warning: Supplied argument is not a valid MySQL result resource

2001-09-15 Thread mfischer
ID: 13314 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: MySQL related Operating System: Red Hat Linux 7.1 PHP Version: 4.0.6 New Comment: This is no support forum, ask such questions at [EMAIL PROTECTED] - Markus Previous Comments: --

[PHP-DEV] Bug #13315: problem with function definitions

2001-09-15 Thread php
From: [EMAIL PROTECTED] Operating system: WIN98/APACHE1.3.19 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: problem with function definitions gives me a parse error on line 3:( also: gives me this: Parse error: parse error, expecting `')'

[PHP-DEV] Bug #13314 Updated: Warning: Supplied argument is not a valid MySQL result resource

2001-09-15 Thread rex
ID: 13314 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Red Hat Linux 7.1 PHP Version: 4.0.6 New Comment: i am assuming so, since the site login validates the password against the database. I just tried adding die($resu

[PHP-DEV] Bug #13314 Updated: Warning: Supplied argument is not a valid MySQL result resource

2001-09-15 Thread rex
ID: 13314 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Red Hat Linux 7.1 PHP Version: 4.0.6 New Comment: i am assuming so, since the site login validates the password against the database. I just tried adding die($resu

[PHP-DEV] Bug #13314 Updated: Warning: Supplied argument is not a valid MySQL result resource

2001-09-15 Thread swm
ID: 13314 Updated by: swm Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Red Hat Linux 7.1 PHP Version: 4.0.6 New Comment: Are you connecting to the MySQL database before you execute your query? Previous Comments: --

[PHP-DEV] Bug #13314: Warning: Supplied argument is not a valid MySQL result resource

2001-09-15 Thread rex
From: [EMAIL PROTECTED] Operating system: Red Hat Linux 7.1 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: Warning: Supplied argument is not a valid MySQL result resource Background: I am running RH7.1 with MySQL 3.23, PHP-Nuke 5.0, and phpBB 1.4.1 (both N

Re: [PHP-DEV] Re: Bug #13304 Updated: string comparisons not working as expected

2001-09-15 Thread Andi Gutmans
You should use strcmp() Andi At 11:20 AM 9/14/2001 -0700, Chris Lee wrote: >your right === does work, I still feel that the internal auto-conversion >should recognize that the string is to long to be an int and treat both as a >sting. how would you force an if statement to use typecasting ? > >i

Re: [PHP-DEV] zend_do_end_class_declaration() question

2001-09-15 Thread Andi Gutmans
It's the correct place. It sounds weird what you're mentioning. do_inherit_parent_constructor() also checks ce->parent and it seems to work. Do you have a short script (class decelerations) which shows this behavior? What are you trying to accomplish? Andi At 07:22 PM 9/14/2001 +0200, Stefan Ar

[PHP-DEV] Easy way to List all functions and parameters on a website?

2001-09-15 Thread arevill
Please CC all replies to [EMAIL PROTECTED]   Cheers   HI, i need to make a really reallyyy simple website that just lists ALL php functions including there parameters on a website, nothing special other than that, what would be the easiest way to do this?can i interface with the php websites

[PHP-DEV] Bug #13312: cant connect to a odbc source

2001-09-15 Thread parabips
From: [EMAIL PROTECTED] Operating system: Windows2000 server PHP version: 4.0.6 PHP Bug Type: ODBC related Bug description: cant connect to a odbc source I tried to connect with a Microsoft Access database but it didnt work. I made the DSN named reg and then I used the fo