[PHP-DEV] PHP 5 Bug Summary Report

2004-10-25 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (436 total including feature requests) ===[*Compile Issues]== 28103 Open During ./configure you get png error instead of iodbc 28297 Open (SNMP) make

[PHP-DEV] pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Lukas Smith
Georg Richter wrote: I will be definetly be able to write this driver within the next 3 weeks. Beside the usual overworked reason, it's mainly the reason, that pdo has several lacks. Against the common consent from LinuxTag in June (on a meeting where most of the db maintainers participated) , Wez

[PHP-DEV] file_exists() and include path

2004-10-25 Thread Lukas Smith
Hi, Afaik not having a flag to also check the include path has not been added, since that part of PHP is not supposed to be messing with ini settings. However that doesnt negate that something like this is very much in need for anyone developing applications that load code on demand. For

Re: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-25 Thread Christian Stocker
I'm late, but nevertheless: On 22.10.2004 9:05 Uhr, Andi Gutmans wrote: It sounds to me that it makes sense to split the roadmap into two. Probably something like: PHP 5.1: - Improved VM - PDO - Possibly improved serialization - Other minor changes in language and extension - Include XMLReader in

[PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Wez Furlong
Hmm, for some reason, gmail decided that Lukas' mail didn't go to internals, so my response didn't either... -- Forwarded message -- From: Wez Furlong [EMAIL PROTECTED] Date: Mon, 25 Oct 2004 11:52:33 +0100 Subject: Re: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap] To: Lukas Smith

[PHP-DEV] Convert an array in an object instance

2004-10-25 Thread Francisco M. Marzoa Alonso
Hi, Is it possible to convert an array in an object instance? I can convert an object in an array as follows: $Test = new MyClass (); $TestArray = (array) $Test; Then I've an array with all members of the object $Test, but it seems that I cannot simply do: $TestObject = (MyClass) $TestArray; To

Re: [PHP-DEV] Convert an array in an object instance

2004-10-25 Thread Derick Rethans
On Mon, 25 Oct 2004, Francisco M. Marzoa Alonso wrote: Hi, Is it possible to convert an array in an object instance? Please use the [EMAIL PROTECTED] mailinglist for user support questions, this is the wrong list. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no |

Re: [PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread D . Kingma
I just took a view at some PDO examples on the net and it looks promissing. The one thing that I would to see is that the fetch method accepts a class name as optional second parameter (when using PDO_FETCH_OBJ or PDO_FETCH_LAZY) and then returns a new instance of the given class with the given

Re: [PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Lukas Smith
D Kingma wrote: I just took a view at some PDO examples on the net and it looks promissing. The one thing that I would to see is that the fetch method accepts a class name as optional second parameter (when using PDO_FETCH_OBJ or PDO_FETCH_LAZY) and then returns a new instance of the given class

[PHP-DEV] Can *sort functions return the sorted array ?

2004-10-25 Thread Fulax
Hi, I wonder if it will be possible to add an extra argument to the *sort functions to get the sorted array directly. At the moment I have made my own function to do this, here is an example with natsort : function arrnatsort($a_array) { if(natsort($a_array)) return $a_array; else

[PHP-DEV] Why module shutdown function is not called for openssl extension?

2004-10-25 Thread Kamesh Jayachandran
Hi All, I have identified a defect in openssl extension code. Even though it is not critical and not likely to happen. Let me explain the scenario. ?php $dn = array( countryName = TestCountry, stateOrProvinceName = TestSrate, localityName = TestLocality, organizationName = Test

[PHP-DEV] Re: Why module shutdown function is not called for openssl extension?

2004-10-25 Thread Wez Furlong
Kamesh Jayachandran wrote: During the failure openssl_csr_new is not setting req.priv_key to NULL this causes dispose function to free the req.priv_key. Can I go ahead and set req.priv_key = NULL when php_openssl_make_REQ returns failure and we_made_the_key == 0? Please send me a diff I have seen

Re: [PHP-DEV] Re: PHP 5.1 roadmap

2004-10-25 Thread Greg Beaver
Christian Stocker wrote: - Better error support for xml extension I already talked about that with rob. nothing's coded right now, but would be good to have an easier way to catch xml errors in PHP 5.1 (it's unsatisfying right now) HUGE +1 Greg -- PHP Internals - PHP Runtime Development Mailing

[PHP-DEV] Re: Can *sort functions return the sorted array ?

2004-10-25 Thread Ron Korving
I'm not a fan of this. I don't think it's appropriate to just add parameters to functions all the time just because you don't like the fact that it's call-by-reference. Ron Fulax [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I wonder if it will be possible to add an extra

Re: [PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Marcus Boerger
Hello Lukas, Monday, October 25, 2004, 2:48:41 PM, you wrote: D Kingma wrote: I just took a view at some PDO examples on the net and it looks promissing. The one thing that I would to see is that the fetch method accepts a class name as optional second parameter (when using PDO_FETCH_OBJ or

Re: [PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Jeff Moore
On Oct 25, 2004, at 8:48 AM, Lukas Smith wrote: D Kingma wrote: I just took a view at some PDO examples on the net and it looks promissing. The one thing that I would to see is that the fetch method accepts a class name as optional second parameter (when using PDO_FETCH_OBJ or PDO_FETCH_LAZY)

Re: [PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Marcus Boerger
Hello Jeff, Monday, October 25, 2004, 8:09:20 PM, you wrote: On Oct 25, 2004, at 8:48 AM, Lukas Smith wrote: D Kingma wrote: I just took a view at some PDO examples on the net and it looks promissing. The one thing that I would to see is that the fetch method accepts a class name as

[PHP-DEV] [PATCH][PHP_5_0] MSSQL Uniqueid formatting, etc...

2004-10-25 Thread Jason Borden
Here's a patch to the MSSQL extention that: 1. Formats a resultant uniqueidentifer into a string (instead of raw binary) which is the same way that odbc handles them. 2. Enables uniqueids to be used from freetds if SYBUNIQUE is defined in the freetds code. I believe this is what the original

Re: [PHP-DEV] [PATCH][PHP_5_0] MSSQL Uniqueid formatting, etc...

2004-10-25 Thread Frank M. Kromann
Thanks Jason, I'll take a look at it. Looks good a first view. - Frank Here's a patch to the MSSQL extention that: 1. Formats a resultant uniqueidentifer into a string (instead of raw binary) which is the same way that odbc handles them. 2. Enables uniqueids to be used from freetds if

Re: [PHP-DEV] Fwd: pdo [was Re: [PHP-DEV] PHP 5.1 roadmap]

2004-10-25 Thread Alan Knowles
A few suggestions.. -- Fetching into objects: This really needs to be sorted out early on, and kludging support for something that perhaps should be the default behavour is looking very messy: a) if you want to fetch into a specific class, make that class extend PDO...