Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-31 Thread Thies C. Arntzen
On Mon, Jan 29, 2001 at 06:23:56PM -0600, Brian Moon wrote: Ok, so what are the benefits of not returning memory to the system? It seems that no one who can do it wants to so there must be a good reason.Q in order to be able to "give back" memory to the system we would have to switch

Re: [PHP-DEV] PHP 4.0 Bug #9240: unserialize fails non-determenistic on large objects

2001-02-13 Thread Thies C. Arntzen
On Tue, Feb 13, 2001 at 03:38:17PM -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: RedHat 6.2 PHP version: 4.0.4pl1 PHP Bug Type: Variables related Bug description: unserialize fails non-determenistic on large objects I'm unserializing a

Re: [PHP-DEV] PHP 4.0 Bug #9276: ORA-00904

2001-02-15 Thread Thies C. Arntzen
On Thu, Feb 15, 2001 at 12:27:44PM -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.0 PHP Bug Type: Oracle related Bug description: ORA-00904 oerr ORA 00904: invalid column name -- PHP Development Mailing List

[PHP-DEV] OCI8: searching for testcase that causes failed to rollback outstanding transactions or SEGFAULTs

2001-02-18 Thread Thies C. Arntzen
hi, (sorry for cross-posting) i'm currently investigating some reported problems with the PHP 4 OCI8 interface. some people have reported SEGFAULTs and "failed to rollback outstanding transactions" messages in their apache error_log. sadly i cannot reproduce any of those

Re: [PHP-DEV] PHP 4.0 Bug #9197: crash in _efree

2001-02-18 Thread Thies C. Arntzen
On Mon, Feb 12, 2001 at 09:11:32AM -0700, David Benson wrote: Is there a short script (independent of other scripts) that reproduces this problem? Can you try to cut it down to the smallest piece of code that still produces a crash? Thanks for the response. I've narrowed this down to

Re: [PHP-DEV] Time for 4.0.5?

2001-02-19 Thread Thies C. Arntzen
On Mon, Feb 19, 2001 at 09:31:01AM +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.

[PHP-DEV] time to upgrade bundled PCRE?

2001-02-19 Thread Thies C. Arntzen
current version is 3.4 we use 3.2 andrei? re, tc -- 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 PROTECTED]

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

2001-02-19 Thread Thies C. Arntzen
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 well, supports multiple charsets, and is now in as sane library format so inte

[PHP-DEV] phpize problem

2001-02-19 Thread Thies C. Arntzen
sascha, phpize configure does not work if try to external-compile any bundled modules as the generated php_config.h is never included (the one from /usr/local/include is found first) and thereby the #define COMPILE_module_DL 1 is not seen by cpp so

Re: [PHP-DEV] PHP 4.0 Bug #9197: crash in _efree

2001-02-19 Thread Thies C. Arntzen
On Mon, Feb 19, 2001 at 08:23:42AM -0700, David Benson wrote: could you plz try: ? $Conn = OCINLogon ('vignette', 'vignette', 'wom_dev'); $Clob = OCINewDescriptor($Conn, OCI_D_LOB); $ExtraXML = $Clob-load(); ? if that still causes the crash then the bug is fixed in

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 al

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 al

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi

2001-03-21 Thread Thies C. Arntzen
On Wed, Mar 21, 2001 at 03:30:58PM +0100, Sascha Schumann wrote: Guys, please play by the rules which are laid down in RELEASE_PROCESS. Further decreasing the quality of PHP releases doesn't help anyone and just makes us look bad. i fully agree to sascha. plus i see no real

Re: [PHP-DEV] non-thread-safe yet pthreads-friendly build of PHP?

2001-03-27 Thread Thies C. Arntzen
On Tue, Mar 27, 2001 at 09:09:03PM +0200, Zeev Suraski wrote: Is there any way to build PHP with pthreads, with ZTS disabled? The reason I'm asking is that there are some thread-safe 3rd party libraries which are linked against pthreads, and apparently, if PHP isn't built with pthreads -

Re: [PHP-DEV] PHP 4.0 Bug #10100 Updated: php.php has wierd logo!!!!!! Have you been Hacked?

2001-04-01 Thread Thies C. Arntzen
On Sun, Apr 01, 2001 at 03:00:34PM -0400, Mike Robinson wrote: Sorry about the address, or lack thereof. When I run phpinfo(); A wierd logo in the right top corner with a guy that has walrus teeth shows up. Actually, they look like french fries, or pencils maybe. What a hoot!

Re: [PHP-DEV] OCI8 Thread safety

2001-04-07 Thread Thies C. Arntzen
On Fri, Apr 06, 2001 at 10:50:49PM -0400, Joe Brown wrote: It appears to me that the oci8 module does not behave well on win32 - a threaded environment. I've begun to study the code, and believe I can make it mind the rules. what is not thread-safe in your opinion? i don't use windows

Re: [PHP-DEV] Bug in objects+XML

2001-04-24 Thread Thies C. Arntzen
On Tue, Apr 24, 2001 at 08:00:47PM +0400, Vadka wrote: Hi! frag to get this working you have to say: class hallo { //... function hallo($bla) { // ^ this is important! $this-parser = xml_parser_create();

Re: [PHP-DEV] Bug in objects+XML

2001-04-24 Thread Thies C. Arntzen
On Tue, Apr 24, 2001 at 03:57:05PM -0400, Jon Parise wrote: On Tue, Apr 24, 2001 at 08:31:26PM +0200, Thies C. Arntzen wrote: [workaround snipped] the problem here a cyclic references _and_ $this _not_ being the instantiated object (unless u use this ugly ampersand hack

Re: [PHP-DEV] intval($resource)

2001-04-28 Thread Thies C. Arntzen
On Sat, Apr 28, 2001 at 06:12:19PM +0200, Andi Gutmans wrote: At 08:28 AM 4/28/2001 -0400, Joe Brown wrote: Having said that, 1. is there a good reason OCI shouldn't free the resource reguardless of the reference count? the problem is that freeing resources that are still in use will

Re: [PHP-DEV] Bug #10636 Updated: php_oci8.c -- undefined constants

2001-05-04 Thread Thies C. Arntzen
On Thu, May 03, 2001 at 05:36:59PM -, [EMAIL PROTECTED] wrote: ID: 10636 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure PHP Version: 4.0.5 Assigned To: Comments: what version of oci are compiling against? i bet it's 8.0.x! please

[PHP-DEV] merge expat 1.95.1 now or wait till branch?

2001-05-10 Thread Thies C. Arntzen
hi, i finally managed to find some time to bump the bundled expat to the latest/greatest version. should i go ahead and commit or wait till we branched 4.0.6? tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-DEV] PATCH: peak-memory-usage-log patch waiting....

2001-05-10 Thread Thies C. Arntzen
hi, i've written a small patch which logs php's peak memory usage to the apache log-file. after applying this patch (against latest CVS) you should configure php using --enable-memory-usage. after compile and installing you have a new apache (and _only_ apache)

Re: [PHP-DEV] merge expat 1.95.1 now or wait till branch?

2001-05-10 Thread Thies C. Arntzen
On Thu, May 10, 2001 at 06:22:48PM +0300, Andi Gutmans wrote: I'd wait until after we branch. I want to branch today. This is unless it solves some crucial bugs and then I think we should discuss it. ok - i'll commit after branch. tc -- PHP Development Mailing List

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/xml config.m4 php_xml.h xml.c/ext/xml/expat Changes Makefile.in README README.php ascii.h asciitab.hexpat.html iasciitab.h latin1tab.h nametab.h utf8tab.h xmlparse.cxmlrole.c xmlrole.h xmltok.c xmltok.h xmltok_impl.c

2001-05-12 Thread Thies C. Arntzen
On Sat, May 12, 2001 at 12:05:21AM +0200, Sebastian Bergmann wrote: Thies C. Arntzen wrote: Log: bump bundled expat to 1.95.1 win32 project _needs_ updating and i don't have windows I can't built the latest CVS on Linux: In file included from wddx.c:39: /usr/src/php4

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/xml config.m4 php_xml.hxml.c/ext/xml/expat Changes Makefile.in README README.php ascii.hasciitab.hexpat.html iasciitab.h latin1tab.h nametab.h utf8tab.hxmlparse.cxmlrole.c xmlrole.h xmltok.c xmltok.h xmlt

2001-05-12 Thread Thies C. Arntzen
On Sat, May 12, 2001 at 11:09:45AM +0200, Sebastian Bergmann wrote: Thies C. Arntzen wrote: added - thanx. I still get the same error message. Are there modifications needed to ext/wddx, which relies on ext/xml or expat? no - works for me - have you done ./cvsclean

Re: [PHP-DEV] Bug #10829: call_user_func() - Bug

2001-05-12 Thread Thies C. Arntzen
On Sat, May 12, 2001 at 02:23:44PM -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Win2K, Solaris PHP version: 4.0.5 PHP Bug Type: Scripting Engine problem Bug description: call_user_func() - Bug Hi, I have found the following bug with

Re: [PHP-DEV] efree() and NULL

2001-05-14 Thread Thies C. Arntzen
On Mon, May 14, 2001 at 04:44:28PM +0300, Zeev Suraski wrote: At 16:00 14/5/2001, Andrei Zmievski wrote: It doesn't seem that efree() is equivalent to free() as far operating on NULL pointers. If ptr == NULL, free(ptr) is a no-op, but efree() will probably barf on it.. Can we make them

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-18 Thread Thies C. Arntzen
On Thu, May 17, 2001 at 11:10:57PM -0700, Rasmus Lerdorf wrote: Perhaps automatic detection could be option? if (filesize X) blockread else mmap? It seems like the most intuitive way to implement it... Sounds a bit magical. Why not just a block_readfile() function? Mainly

[PHP-DEV] proposed change in the build-system.

2001-06-20 Thread Thies C. Arntzen
hi sascha, i would love if we could reduce the output of make from .. /bin/sh /home/thies/devel/apxs/libtool --silent --silent --mode=link gcc -I. -I/home/thies/devel/php4/main -I/home/thies/devel/apxs/main -I/home/thies/devel/php4 -I/usr/include/apache -I/home/thies/devel/apxs/Zend

[PHP-DEV] Re: proposed change in the build-system.

2001-06-20 Thread Thies C. Arntzen
On Wed, Jun 20, 2001 at 12:36:35PM +0200, Sascha Schumann wrote: that's how a samba compile looks like. this would make the output of the make way more shorter readable. This makes sense when the various parameters are constant throughout the whole build (which seems to

Re: [PHP-DEV] Bug #11432 Updated: crash when restoring references to objects

2001-06-20 Thread Thies C. Arntzen
On Wed, Jun 20, 2001 at 04:47:43PM +0200, Thies C. Arntzen wrote: please try attached patch and report back! this patch fixes the crash - the reference is still fu**ed afetr the 2nd reload - switching my brain into 2nd gear;-) tc -- PHP Development Mailing List http

Re: [PHP-DEV] Bug #11432 Updated: crash when restoring references to objects

2001-06-20 Thread Thies C. Arntzen
On Wed, Jun 20, 2001 at 06:47:46PM +0200, Jani Taskinen wrote: On Wed, 20 Jun 2001, Thies C. Arntzen wrote: On Wed, Jun 20, 2001 at 04:47:43PM +0200, Thies C. Arntzen wrote: please try attached patch and report back! this patch fixes the crash - the reference is still fu**ed

Re: [PHP-DEV] Bug #11432 Updated: crash when restoring references to objects

2001-06-20 Thread Thies C. Arntzen
On Wed, Jun 20, 2001 at 07:05:23PM +0200, Jani Taskinen wrote: On Wed, 20 Jun 2001, Thies C. Arntzen wrote: Are you going to MFH it ?? I think this should go into 4.0.6. It has been broken so long now. no too sure as it really changes a few internals and needs _good_ testing

[PHP-DEV] make test doesn't work with register_globals=Off

2001-06-21 Thread Thies C. Arntzen
is this acceptable? comments? tc -- 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 PROTECTED]

[PHP-DEV] can we cange the important defines to enums in the zend-headers, please?

2001-06-22 Thread Thies C. Arntzen
hi, it would make debugging for guys like me easier, as gdb will then be able to show IS_OBJECT instead of 5 when inspecting zvals. (gdb nows about the sybolic name for an enum but not for a define). if you don't object i'll go ahead soon tc -- PHP Development

Re: [PHP-DEV] Bug #11749 Updated: Unserialize dies with Apache Module but is FINE with CGI

2001-06-28 Thread Thies C. Arntzen
On Wed, Jun 27, 2001 at 06:32:13PM -, [EMAIL PROTECTED] wrote: ID: 11749 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating system: Win32 (Win 2k) PHP Version: 4.0.6 Description: Unserialize dies with Apache Module but is FINE with CGI If it

[PHP-DEV] 2 problems with shutdown

2001-06-29 Thread Thies C. Arntzen
hi, we have two problems in the current code when it comes to shutting down apache processes: 1) in main.c php_module_shutdown(): we call php_config_ini_shutdown() before we call the modules MSHUTDOWN functions - which basically means that php is already

Re: [PHP-DEV] keeping descriptors in persistent connections

2001-06-29 Thread Thies C. Arntzen
On Thu, Jun 28, 2001 at 11:18:11AM +0200, [EMAIL PROTECTED] wrote: Hello Joao, On Wed, 27 Jun 2001, Joao Conceicao wrote: Hi, I'm having a problem making a module that uses persistent connections. It's possible to reuse the same descriptors (file descriptors) in two diferent pages?

[PHP-DEV] Re: 2 problems with shutdown

2001-06-29 Thread Thies C. Arntzen
ping? On Thu, Jun 28, 2001 at 05:45:13PM +0200, Thies C. Arntzen wrote: hi, we have two problems in the current code when it comes to shutting down apache processes: 1) in main.c php_module_shutdown(): we call php_config_ini_shutdown() before we call

[PHP-DEV] Re: 2 problems with shutdown

2001-06-29 Thread Thies C. Arntzen
On Fri, Jun 29, 2001 at 03:23:03PM +0300, Zeev Suraski wrote: At 15:18 29/6/2001, Thies C. Arntzen wrote: agreed - but we should do it, right? Yup :) in the error_log - and sometimes it'll even SEGFAULT. is this good? Is this a trick question? :) Of course it's bad

Re: [PHP-DEV] Assert callback handlers

2001-06-30 Thread Thies C. Arntzen
On Thu, Jun 28, 2001 at 05:42:35PM -0400, Jon Parise wrote: On Thu, Jun 28, 2001 at 05:23:41AM -0600, Zak Greant wrote: Can anyone see any problems with adding array ($object, 'method') syntax to the assert handler functionality? I think that would be fiarly useful, actually. In the

Re: [PHP-DEV] RE: Bug #11749 Updated: Unserialize dies with Apache Module but is FINE with CGI

2001-06-30 Thread Thies C. Arntzen
On Fri, Jun 29, 2001 at 03:31:25AM -0700, Brian Tanner wrote: You may consider it fixed if you like. However... the data file failed to load in Module, and did load in CGI. Shouldn't they be identical? yes they should. but there should be _no_ difference in the fopen() PHP

Re: [PHP-DEV] Re: [Zend Engine 2] substr changes

2001-07-03 Thread Thies C. Arntzen
On Tue, Jul 03, 2001 at 03:07:37AM +0200, Andre Langhorst wrote: Just one thing I did want to point out - this has nothing to do with Zend 3 or whatever. I oppose this feature not because lack of time to implement it or because it's difficult to implement, but because it doesn't belong in

[PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
zeev,andi i have a problem with the oci-extension - it makes heaviy usage of ref-counting and creates dependices between resouces using refcounts. so i depend on a defined shutdown order and i also depend on the complete symbol-table to be destroyed before

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
On Thu, Jul 05, 2001 at 12:06:57PM +0200, [EMAIL PROTECTED] wrote: Hello, there are also a couple of bug reports filed for this. could you gimme their no# re, tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
On Thu, Jul 05, 2001 at 01:06:43PM +0200, [EMAIL PROTECTED] wrote: On Thu, 5 Jul 2001, Thies C. Arntzen wrote: On Thu, Jul 05, 2001 at 12:06:57PM +0200, [EMAIL PROTECTED] wrote: Hello, there are also a couple of bug reports filed for this. could you gimme their no# I

Re: [PHP-DEV] Reentrant C scanners for PHP

2001-07-06 Thread Thies C. Arntzen
On Fri, Jul 06, 2001 at 01:08:03AM +0200, Sascha Schumann wrote: This is the first public release of fully reentrant C scanners for the PHP language and the INI system. They can be used to replace the Flex-based implementations commonly found in the Zend Engine.

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Thies C. Arntzen
C. Arntzen wrote: zeev, andi please comment on my attached patch - it fixes my reported problem! have i overlooked something? thanx, tc On Thu, Jul 05, 2001 at 11:35:15AM +0200, Thies C. Arntzen wrote: zeev,andi i have a problem with the oci

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Thies C. Arntzen
On Fri, Jul 06, 2001 at 05:39:18PM +0300, Andi Gutmans wrote: At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: On Fri, Jul 06, 2001 at 05:12:07PM +0300, Andi Gutmans wrote: Thies, I have thought about your problem. Your patch fixed your test case but it won't fix all test cases

Re: [PHP-DEV] new/different problem in shutdown

2001-07-08 Thread Thies C. Arntzen
/2001 +0200, Thies C. Arntzen wrote: On Fri, Jul 06, 2001 at 05:39:18PM +0300, Andi Gutmans wrote: At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: On Fri, Jul 06, 2001 at 05:12:07PM +0300, Andi Gutmans wrote: Thies, I have thought about your problem. Your patch fixed your test case

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 08:55:09AM -0700, Rasmus Lerdorf wrote: Especially due to the last point which requires fixing up patches manually every time, I'd like to commit the PHP part of things. Would anyone object to that? I wouldn't object. same here tc -- PHP

Re: [PHP-DEV] NGScan - technical explanation

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 09:27:17PM +0300, Zeev Suraski wrote: I consider it obvious why it makes no sense to abstract the scanner input of the engine, and I guess this is not very good - since some of you may not understand what it is about. The reason it makes no sense is very simple.

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 09:37:35PM +0300, Zeev Suraski wrote: So please stop with the personal attacks and concentrate on the real technical issues. I'd appreciate it if you stayed out of this one. I'm fed up with Sascha's i

Re: [PHP-DEV] NGScan - technical explanation

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 09:43:43PM +0300, Zeev Suraski wrote: At 21:38 9/7/2001, Thies C. Arntzen wrote: as long as the (perception of the) Zend License stopps him from submitting it to the ZendEngine he has no other choice than to put it somewhere where he feels comfortable

Re: [PHP-DEV] NGScan - technical explanation

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 10:11:46PM +0300, Zeev Suraski wrote: At 21:48 9/7/2001, Thies C. Arntzen wrote: besides that i can actually think of one or two usages for a scanner in PHP which is not QPL. for exacle that reason the your DOMXML sample is void - if we had a better

Re: [PHP-DEV] NGScan - technical explanation

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 10:00:21PM +0300, Zeev Suraski wrote: At 21:55 9/7/2001, Thies C. Arntzen wrote: On Mon, Jul 09, 2001 at 09:47:46PM +0300, Zeev Suraski wrote: Remember that while this is an impressive improvement, it's not all that useful in the vast majority of cases (it's

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Thies C. Arntzen
On Mon, Jul 09, 2001 at 11:41:36PM +0300, Andi Gutmans wrote: Anyway, I think right now the easiest thing for us to do is to move to re2c without your sources (it should be relatively trivial as it's just a this is pretty much what opensource tries to avoid - please reconsider this

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Thies C. Arntzen
On Tue, Jul 10, 2001 at 07:43:12PM +0300, Andi Gutmans wrote: Hey, Has anyone had a chance to check the zend_hash patch I wrote about yesterday? seems to work for me. tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] Bug #12141: iptcparse crashes with one specific PhotoCD file

2001-07-13 Thread Thies C. Arntzen
On Fri, Jul 13, 2001 at 01:08:26PM -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.1 (Intel) PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: iptcparse crashes with one specific PhotoCD file patch

Re: [PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed

2001-07-13 Thread Thies C. Arntzen
On Fri, Jul 13, 2001 at 05:33:49PM -, [EMAIL PROTECTED] wrote: ID: 12091 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Zlib Related Operating System: i686-pc-linux-gnu PHP Version: 4.0CVS-2001-07-12 New Comment: Hi Thies, thank you

Re: [PHP-DEV] Bug #12251: Error with zend_hash.c after writing a file

2001-07-19 Thread Thies C. Arntzen
On Thu, Jul 19, 2001 at 12:46:40PM -, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: PHP version: 4.0CVS-2001-07-19 PHP Bug Type: Scripting Engine problem Bug description: Error with zend_hash.c after writing a file Fatal error: ht=001262d4

Re: [PHP-DEV] Moving output.c from ext/standard to main/

2001-07-20 Thread Thies C. Arntzen
On Fri, Jul 20, 2001 at 04:14:21PM +0300, Zeev Suraski wrote: It's been bugging me for over a year now, and I'm now trying to figure out the best way to do it. output.c sits today in ext/standard, which is wrong, as it's really a part of the inner core of PHP, and not a set of functions.

[PHP-DEV] please do _not_ touch oci8.c

2001-07-23 Thread Thies C. Arntzen
i have a huge update pending on this - so please do not work on it before i have tested and committed my changes! re, tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DEV] Proposal

2001-07-30 Thread Thies C. Arntzen
that all makes a lot of sense to me! re, tc On Sat, Jul 28, 2001 at 10:17:42PM -0700, Rasmus Lerdorf wrote: The best thing about PHP is that it has such a shallow learning curve that non-programmers can write web apps. The worst thing about PHP is that it has such a shallow

Re: [PHP-DEV] Programming question

2001-08-02 Thread Thies C. Arntzen
On Thu, Aug 02, 2001 at 12:24:03PM -0400, George Schlossnagle wrote: On a related note, placing null-bytes in the middle of strings (for example in the names of the so-called lambda_functions generated from create_function()) seems like a pretty questionable practice. why, this makes

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Thies C. Arntzen
On Thu, Aug 02, 2001 at 07:09:35AM -0700, [EMAIL PROTECTED] wrote: On Thu, 02 Aug 2001, Zeev Suraski wrote: zeev Thu Aug 2 09:16:20 2001 EDT Modified files: /Zend zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h Log:

Re: [PHP-DEV] Programming question

2001-08-03 Thread Thies C. Arntzen
On Thu, Aug 02, 2001 at 09:18:40AM -0700, Rasmus Lerdorf wrote: can it be assumed that zval.str.val[zval.str.len] = '\0'? i.e., the byte after the string in a zval is the null-byte? That is assumed in various places in ext/standard/string.c, and AFAIK that may not always be true.

[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] 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

[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 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] Re: To deprecate dl() or not.. (Was: something messy.. :)

2001-08-07 Thread Thies C. Arntzen
On Tue, Aug 07, 2001 at 09:13:16AM +0200, Jani Taskinen wrote: First, I'm 100% with Zeev here, kill dl()! It's evil. Second, I had an idea related to this discussion. I have been compiling PHP with almost every extension in the CVS (excluding the win32 specific) plus couple of 'renegade'

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-08 Thread Thies C. Arntzen
On Wed, Aug 08, 2001 at 09:28:02AM +0200, Stig Sæther Bakken wrote: [Zeev Suraski [EMAIL PROTECTED]] At 17:55 07-08-01, Stig Sæther Bakken wrote: Now we're talking! I assume it is not straightforward, what are the technical challenges in doing JIT module initialization? It's not much

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Thies C. Arntzen
On Wed, Aug 08, 2001 at 09:20:55PM +0300, Zeev Suraski wrote: My top of the list is: $_REQUEST $_REQ would be even nicer - and less to type without hiding the meaning. $_EVIL (Andi and I think it's really pretty good, but we both figured we'll end up going with a different

Re: [PHP-DEV] Re: Output Compression Issues

2001-08-16 Thread Thies C. Arntzen
On 16 Aug 2001 15:26:09 +0300, Zeev Suraski wrote: - Output compression should probably check that the content type is text/*, and not perform compression otherwise that means adding another sapi call - but i think it would make sense. - We can look into sending the content length header

Re: [PHP-DEV] Re: Output Compression Issues

2001-08-16 Thread Thies C. Arntzen
On 16 Aug 2001 21:37:11 +0300, Zeev Suraski wrote: At 21:27 16-08-01, Thies C. Arntzen wrote: On 16 Aug 2001 15:26:09 +0300, Zeev Suraski wrote: - Output compression should probably check that the content type is text/*, and not perform compression otherwise that means adding

Re: [PHP-DEV] Bug #12898: Memory Leaks when using LOB Fields

2001-08-22 Thread Thies C. Arntzen
these's no known mem-leak in that code.. please send a short testcase that demonstrates you problem (20 lines) also - could you please update to 4.0.6 and try again? re, tc On 22 Aug 2001 14:05:33 +, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Linux,

Re: [PHP-DEV] A couple of session issues

2001-08-27 Thread Thies C. Arntzen
On 27 Aug 2001 01:33:46 +0300, Zeev Suraski wrote: The other issue is a suggestion I want to pitch - right now, if sessions are started after the headers are already sent, we'll get a nice headers-already-sent error. If we have trans_sid enabled (which we will most probably, from now on)

Re: [PHP-DEV] A couple of session issues

2001-08-27 Thread Thies C. Arntzen
On 27 Aug 2001 15:25:09 +0300, Zeev Suraski wrote: At 13:40 27-08-01, Thies C. Arntzen wrote: On 27 Aug 2001 01:33:46 +0300, Zeev Suraski wrote: The other issue is a suggestion I want to pitch - right now, if sessions are started after the headers are already sent, we'll get a nice

[PHP-DEV] problems with ob_gzhandler

2001-08-31 Thread Thies C. Arntzen
hi, i have output_handler=ob_gzhandler in my php.ini and just found those messages in my apache error_log: [Fri Aug 31 13:20:47 2001] Script: '/home/thies/shop/login.php' --- /home/thies/devel/php4/main/output.c(240) : Block 0x0821D270 status: Beginning:

[PHP-DEV] Re: problems with ob_gzhandler

2001-08-31 Thread Thies C. Arntzen
-sid thingie. somehow the logic in session.c:917 seems wrong. re, tc At 15:16 31-08-01, Thies C. Arntzen wrote: hi, i have output_handler=ob_gzhandler in my php.ini and just found those messages in my apache error_log: [Fri Aug 31 13:20:47 2001] Script: '/home/thies/shop/login.php

Re: [PHP-DEV] [patch] avoiding TSRMLS_FETCH (custom sorting functions)

2001-09-18 Thread Thies C. Arntzen
On Mon, Sep 17, 2001 at 10:18:29AM -0400, Sterling Hughes wrote: Hey, Attached is a patch which replaces the use of libc's quicksort and uses our own custom quicksort for quicksort sorting, giving the immediate benefit of allowing us to pass TSRMLS_CC to the callbacks,

Re: [PHP-DEV] Re: Bug #13700: Database Abstraction API

2001-10-18 Thread Thies C. Arntzen
On Wed, Oct 17, 2001 at 12:03:44PM -0400, lo-tek wrote: A new OOP database abstraction layer (in C) is in the works. Should be ready in 2 or so months... how is that going to be different from PEARs or the dbx one? tc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...

Re: [PHP-DEV] Forcing trans_sid on?

2001-10-18 Thread Thies C. Arntzen
On Thu, Oct 18, 2001 at 11:04:22AM +0200, Sterling Hughes wrote: On Wed, 17 Oct 2001, Rasmus Lerdorf wrote: This code in session.c looks odd to me: if (!PS(use_cookies) send_cookie) { PS(apply_trans_sid) = 1; send_cookie = 0; } Basically what this says

Re: [PHP-DEV] expat and Namespaces

2001-10-25 Thread Thies C. Arntzen
On Wed, Oct 24, 2001 at 05:53:23PM -0400, l0t3k wrote: Does the bundled expat handle namespaces ? yes. AFAIK -- 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,

Re: [PHP-DEV] Benjamin Kromann

2001-11-02 Thread Thies C. Arntzen
On Thu, Nov 01, 2001 at 02:56:57AM -0800, Frank M. Kromann wrote: Hi, It is getting late now in CA, but I have to tell you all about Benjamin Kromann, our new son :-) He was born last night at 11:23pm and he is a healthy boy 50 cm long and he weighs 3550 g. Mis mom is doing very well

Re: [PHP-DEV] 2x speedup of unserializer

2001-11-10 Thread Thies C. Arntzen
On Sat, Nov 10, 2001 at 05:55:26PM +0100, Sascha Schumann wrote: There is a patch available which boosts the speed of the unserializer significantly. http://pair1.php.net/~sas/unserializer-speedup A large percentage of the speedup was achieved by eliminating the use

Re: [PHP-DEV] 4.1.0

2001-11-12 Thread Thies C. Arntzen
On Sat, Nov 10, 2001 at 04:26:57PM +0200, Zeev Suraski wrote: Guys, We have a bit of a dilemma here. As you all know, the 4.0.7 branch, on which 4.1.0 is currently scheduled to be based on, has branched away a few months ago. Some people have expressed concern that releasing 4.1.0 based

Re: [PHP-DEV] To Merge, Or Not To Merge?

2001-11-13 Thread Thies C. Arntzen
On Tue, Nov 13, 2001 at 06:51:41AM +0100, Sebastian Bergmann wrote: Should we merge the recent changes to sapi/servlet to the 4_0_7 branch, or not? The changes are required in order to use the Servlet SAPI module with current versions of Tomcat and Cocoon2. It is not stable, though,

Re: [PHP-DEV] md5sum() patch

2001-11-16 Thread Thies C. Arntzen
On Fri, Nov 16, 2001 at 11:00:02AM -, James Moore wrote: shouldnt it be file_md5 if we are sticking with out namespace convention. i think james is right: +1 on file_md5 -1 on overloading tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

Re: [PHP-DEV] Removing ext/sablot from 4.1?

2001-11-17 Thread Thies C. Arntzen
On Sat, Nov 17, 2001 at 09:11:19AM -0500, Sterling Hughes wrote: Hey, Just sending out a feeler message, while I still have some motivation to argue about the future of XSLT (ie, I have other work I should be doing ;) -- I'd like to move ext/sablot from the standard PHP

[PHP-DEV] 10% speedup patch in zend_hash_copy

2001-11-25 Thread Thies C. Arntzen
hi - this litte patch makes zend_hash_copy around 10% faster by taking a shortcut zeev, andi - is this commitable or do you have any objections? tc Index: zend_hash.c === RCS file:

Re: [PHP-DEV] Bug #14294 Updated: is_dir() causes stat failed warning

2001-12-02 Thread Thies C. Arntzen
On Fri, Nov 30, 2001 at 07:23:39PM +0200, Jani Taskinen wrote: Ask sterling about this. IMO, it's good as it is now. if it's now different from how 4.0.6 behaved than it's wrong _and_ should be changed back before 4.1! i'm compiling right now. tc --Jani On Fri, 30

Re: [PHP-DEV] Bug #14294 Updated: is_dir() causes stat failed warning

2001-12-02 Thread Thies C. Arntzen
On Sun, Dec 02, 2001 at 10:31:58AM +0100, Thies C. Arntzen wrote: On Fri, Nov 30, 2001 at 07:23:39PM +0200, Jani Taskinen wrote: Ask sterling about this. IMO, it's good as it is now. if it's now different from how 4.0.6 behaved than it's wrong _and_ should be changed back before

Re: [PHP-DEV] php-patches@lists.php.net?

2001-12-04 Thread Thies C. Arntzen
On Tue, Dec 04, 2001 at 09:04:29PM +0900, Yasuo Ohgaki wrote: How about to have *new* list for sending patch for PHP? PostgreSQL has list for that. It seems the list is working great for them. php-dev is perfect for sending patches! tc -- PHP Development Mailing List

Re: [PHP-DEV] php-patches@lists.php.net?

2001-12-04 Thread Thies C. Arntzen
On Tue, Dec 04, 2001 at 02:48:40PM -0600, Andrei Zmievski wrote: On Tue, 04 Dec 2001, Thies C. Arntzen wrote: On Tue, Dec 04, 2001 at 09:04:29PM +0900, Yasuo Ohgaki wrote: How about to have *new* list for sending patch for PHP? PostgreSQL has list for that. It seems the list is working

Re: [PHP-DEV] RC5 hexdec not compatible

2001-12-04 Thread Thies C. Arntzen
hi, the current behavious is more connect than the old one. we automagiacally propagate from in to float in the conversion routines once we gent an overflow. to get the old bahaviour in your case you need to case the result of hexdec() to int: $dec = (int) hexdec($hex);

Re: [PHP-DEV] 4.1.0RC5

2001-12-07 Thread Thies C. Arntzen
On Thu, Dec 06, 2001 at 02:10:46PM +0100, Petr Cech wrote: On Mon, Dec 03, 2001 at 03:53:05PM +0200 , Zeev Suraski wrote: You know the drill, but practice makes perfect! In a divine effort to prevent both Derick and Zak from winning their bets (Derick bet we'll go up to RC8, Zak bet

Re: [PHP-DEV] 4.1.0RC5

2001-12-07 Thread Thies C. Arntzen
On Fri, Dec 07, 2001 at 02:56:39PM +0100, Thies C. Arntzen wrote: On Thu, Dec 06, 2001 at 02:10:46PM +0100, Petr Cech wrote: On Mon, Dec 03, 2001 at 03:53:05PM +0200 , Zeev Suraski wrote: You know the drill, but practice makes perfect! In a divine effort to prevent both Derick

Re: [PHP-DEV] sockets problems patch

2001-12-09 Thread Thies C. Arntzen
please send a unified diff. i'll look at integrating your changes then! tc On Sat, Dec 08, 2001 at 08:20:56PM -0500, benjamin yates wrote: hey all... i've been using the sockets extension pretty extensively for the past couple months, and it has some real problems.

  1   2   >