[PHP-DEV] PHP 4 Bug Summary Report

2004-05-24 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (791 total including feature requests) ===[*Compile Issues]== 28385 Open $(prefix)/lib/php/build/* was wrong attr. ===

RE: [PHP-DEV] PDO (was: SQLite API deficiency)

2004-05-24 Thread Marc Boeren
Hi, > I apologize for not going to the end of the thread to see if > you posted a link online somewhere to this, but I would love > a copy none the less. It wasn't posted yet, but you can find it here: http://www.guidance.nl/php/dbx/dbx.p Cheerio, Marc. -- PHP Internals - PHP Runtime Develop

[PHP-DEV] overloading class properties

2004-05-24 Thread Maxx
Hello! Trying to use ZE2's new features for my framework I fell in trouble with (probably) abnormal behaviour of overloaded class properties which has been declared as "expected" long time ago. First of all, I do admit this feature has been discussed before, but despite of all that I apologize fo

[PHP-DEV] New PDFlib extension for PHP5

2004-05-24 Thread Rainer Schaaf
Hello, I'm maintaining the PDFlib wrapper code for the "pdf" extenions of PHP. I did a major rewrite of the wrapper for PDFlib 6 and PHP 5 and wanted to ask whether it is good idea to check in this code now (short before the release of PHP 5). My idea is to add this new Wrappercode as an ext

RE: [PHP-DEV] New PDFlib extension for PHP5

2004-05-24 Thread Wez Furlong
Hello Rainer, A few of us have been planning to move the pdflib extension into PECL (http://pecl.php.net) for a little while now; it sounds like an excellent time to make this move, because it will allow you to make supplemental releases outside of the PHP 5 core release cycle. Here is a possible

[PHP-DEV] [PATCH] File Upload - Binary and Garbage Safety

2004-05-24 Thread snolz
Hello PHP people! My patch adds binary safety to the variables sent when uploading files. I see this very often requested. It also restores some functionality which you broke in PHP 4.2. When fieldnames are not trimmed PHP does not work. Hope I was help Sammy Nolz -- PHP Internals - PHP Runtim

[PHP-DEV] [PATCH] [REPOST] File Upload - Binary and Garbage Safety

2004-05-24 Thread snolz
Sorry but your list does not like hushmail attachments Sammy Nolz --- rfc1867.c.unpatched 2002-01-01 02:02:11.0 +0100 +++ rfc1867.c 2002-01-01 02:04:55.0 +0100 @@ -230,6 +230,13 @@ } } +static void safe_php_register_binary_variable(char *var, char *strval, int str

[PHP-DEV] Re: Destructors

2004-05-24 Thread Christian Schneider
Jason Garber wrote: Based on the above example, the $oSession->__destruct() method relies on the $oDB object still being usable. How can this be structured to ensure that the DB object does not get released first? Adding something like $oSession->db = $oDB; should work in my opinion. Didn't tes

Re: [PHP-DEV] Re: Destructors

2004-05-24 Thread Adam Maccabee Trachtenberg
On Mon, 24 May 2004, Christian Schneider wrote: > Jason Garber wrote: > > Based on the above example, the $oSession->__destruct() method relies on > > the $oDB object still being usable. How can this be structured to > > ensure that the DB object does not get released first? It can't. > Adding

Re: [PHP-DEV] Re: Destructors

2004-05-24 Thread Christian Schneider
Adam Maccabee Trachtenberg wrote: That's not guaranteed to work. PHP 5 does not guarantee that object destructors will be called in any particular order or that the order will remain constant from one invocation to another. Ok, I was under the impression that PHP won't call any destructors of obje

Re: [PHP-DEV] Re: Destructors

2004-05-24 Thread Lukas Smith
Christian Schneider wrote: Adam Maccabee Trachtenberg wrote: That's not guaranteed to work. PHP 5 does not guarantee that object destructors will be called in any particular order or that the order will remain constant from one invocation to another. Ok, I was under the impression that PHP won't c

Re: [PHP-DEV] Re: Destructors

2004-05-24 Thread Adam Maccabee Trachtenberg
On Mon, 24 May 2004, Lukas Smith wrote: > unless you manually unset the objects in the order in which you want > them to be destructed. Right. That'll also work. :) -adam -- [EMAIL PROTECTED] author of o'reilly's php cookbook avoid the holiday rush, buy your copy today! -- PHP Internals - PH

[PHP-DEV] where to find all the classes loaded in PHP

2004-05-24 Thread Kamesh Jayachandran
Hi All, I am working on porting APC to PHP 5.0. I want to know where to get all the use defined class entries(zend_class_entry) to copy to the APC cache. Old APC code was copying this information from CG(class_table) I tried to do the same but could not get much of a info from here. For example I

Re: [PHP-DEV] Re: Destructors

2004-05-24 Thread John Coggeshall
On Mon, 2004-05-24 at 10:40, Adam Maccabee Trachtenberg wrote: > Right. That'll also work. :) I suppose you could push object references on a stack and register a shutdown function which pops / unset()s if you really wanted a order to it.. (that's an untested theory though) John -- -=~=--=~=--=

Re: [PHP-DEV] Re: Destructors

2004-05-24 Thread Lukas Smith
John Coggeshall wrote: On Mon, 2004-05-24 at 10:40, Adam Maccabee Trachtenberg wrote: Right. That'll also work. :) I suppose you could push object references on a stack and register a shutdown function which pops / unset()s if you really wanted a order to it.. (that's an untested theory though) Wh

[PHP-DEV] fw: binarycluod-dev / namespaces

2004-05-24 Thread alex black
hi all, I wanted to forward this message along, and also ask some questions: -Are there any plans to support packages / modules properly? (ala python, which looks very nice, or I suppose java, etc). -Are there plans to restore support for namespaces? The current PEAR method of naming classes is

[PHP-DEV] [PATCH][2nd POST]sapi fastcgi check a new environment PHP_FCGI_NOFORK

2004-05-24 Thread Pan qingfeng
It's a simple modification, and will not conflict with the previous version. Please reconsider it... If the environment PHP_FCGI_NOFORK is set, then now useless fastcgi processs is spawned. I make this patch is because my Apache2 module(http://fastcgi.coremail.cn) work on UNIX domain socket, and d

[PHP-DEV] [PATCH] Servlet SAPI Bug Fixes (PHP 4.3 branch)

2004-05-24 Thread Tom Evans
Greetings PHP project, I have created a patch for the Servlet SAPI package to improve the stability of the JVM runtime environment when making calls from Java to PHP. This patch is for the 4.3.x branch. Many bugs have been reported regarding various issues with this experimental module (ref.