[PHP-DEV] PHP 4.2.1

2002-05-05 Thread Derick Rethans
Hello, At the end of last week, DomXML was merged to the branch and there was no single test response for RC1. So I want to postpone 4.2.1 till next monday, and release another RC today (with the new DomXML api). Derick -

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) to make errno optional

2002-05-05 Thread Markus Fischer
Hi, after thinking again I think it's best just not to touch this anyway. Let it be that one hast to call socket_strerror(socket_last_error()); There is really nothing wrong in writing this down that way. It's just getting much to write if you repeat your code everytime an

[PHP-DEV] Re: Post and Get variables can not passed to php

2002-05-05 Thread Derick Rethans
On 6 May 2002 [EMAIL PROTECTED] wrote: > (I wonder how many more of these we will get? I predict a couple of > hundred...) Let's make a poll for it? :) Derick > [2002-05-06 00:16:03] [EMAIL PROTECTED] > > I install php4.2.0 on a Redhat 7.0 platform as following,when done,the > Apache Server

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno)tomake errno optional

2002-05-05 Thread Tom Robinson
As a programmer fairly new to the PHP socket functions, there is a long enough list of them already. For the most part, they match the C functions. socket_last_error() doesn't have a C equivalent, because of the difference in environment. But in the PHP tradition, socket_last_error has two flavo

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomake errno optional

2002-05-05 Thread Jason Greene
I think the requested behavior does not belong in socket_strerror() simply because it would not match the primary and other use of socket_last_error(). In other words, you would not be able to replace the behavior of socket_strerror(socket_last_error($sock)); What could be possible, would be to

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 BugSummary Report)

2002-05-05 Thread James Cox
Definitely. The reason i hadn't mentioned it before now was because of that reason, i have one or two further docs to write about it before i more formally propose it. :) James > -Original Message- > From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 05, 2002 10:39 PM >

[PHP-DEV] CVS Account Request: pbannister

2002-05-05 Thread Preston L. Bannister
Smoothing out the rough spots in the Win32 version of PHP. Help to get running and add to the unit tests for PHP - particularly on Win32. If you want to know what I've done in the past, you can get a hint from Google: http://groups.google.com/groups?q=+%22Preston+L.+Bannister%22&hl=en&ne

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 BugSummary Report)

2002-05-05 Thread Stig S. Bakken
On Sun, 2002-05-05 at 22:18, Preston L. Bannister wrote: > From: James Cox [mailto:[EMAIL PROTECTED]] > > My plan is to revamp the way that tests work, so it's more efficient. But, > > you are more than welcome to work on the current testing system, -- all the > > tests will be converted anyhow :)

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 BugSummary Report)

2002-05-05 Thread Stig S. Bakken
If you plan on doing something like that, it would be nice if you could share what you have in mind first. - Stig On Sun, 2002-05-05 at 17:15, James Cox wrote: > Hi, > > My plan is to revamp the way that tests work, so it's more efficient. But, > you are more than welcome to work on the curren

[PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) to make errno optional

2002-05-05 Thread Markus Fischer
Hi, technically this isn't a problem at all. I'm just pondering .. socket_strerror() is nothing better then a call to strerror(). If we one day decide to introduce a generic strerror() function to PHP it can't automagically fetch the last socket error of course ... th

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 Bug Summary Report)

2002-05-05 Thread Preston L. Bannister
From: James Cox [mailto:[EMAIL PROTECTED]] > My plan is to revamp the way that tests work, so it's more efficient. But, > you are more than welcome to work on the current testing system, -- all the > tests will be converted anyhow :) First iteration - regularize the output to allow easy post-proc

Re: [PHP-DEV] Detecting object types

2002-05-05 Thread brad lafountain
A. I didn't know that refcount for a ce was unique.. I thought it had something to do with how many instances of the object have been created. thanks for the info.. it will work for me. - Brad --- Andi Gutmans <[EMAIL PROTECTED]> wrote: > If you can get a zend_class_entry * to the cl

Re: [PHP-DEV] domxml extension

2002-05-05 Thread brad lafountain
--- Christian Stocker <[EMAIL PROTECTED]> wrote: > Hi > > > Yeah but i don't have a $xml > > > > alls i want to do is > > $node = new DomElement('blah'); > > I'm not sure, why you want this, but it doesn't make much sense to me and > is not in the sense of the DOM-Standard: > > "Objects i

Re: [PHP-DEV] Detecting object types

2002-05-05 Thread Andi Gutmans
If you can get a zend_class_entry * to the class you want to check again then ce->refcount will be unique-per-class. In Engine 2 ce itself will be unique. Andi At 10:03 05/05/2002 -0700, brad lafountain wrote: >Im looking for the exact type.. not if is an object or not. > > I want to know tha

Re: [PHP-DEV] domxml extension

2002-05-05 Thread Christian Stocker
Hi > Yeah but i don't have a $xml > > alls i want to do is > $node = new DomElement('blah'); I'm not sure, why you want this, but it doesn't make much sense to me and is not in the sense of the DOM-Standard: "Objects implementing some interface "X" are created by a "createX()" method on th

Re: [PHP-DEV] Detecting object types

2002-05-05 Thread brad lafountain
Im looking for the exact type.. not if is an object or not. I want to know that is a class of type "myClass" i just found zend_check_class /* * C'est une UGLY HACK. */ if (ce->refcount == expected_ce->refcount) {

Re: [PHP-DEV] Detecting object types

2002-05-05 Thread Markus Fischer
Hi, how does if (Z_TYPE_P(val) == IS_OBJECT) { ... work for you? - Markus On Sun, May 05, 2002 at 09:55:24AM -0700, brad lafountain wrote : > Is there a cleaner way to find out if a parameter that was passed into a > function is a certin type. Currently i use. > > st

[PHP-DEV] Detecting object types

2002-05-05 Thread brad lafountain
Is there a cleaner way to find out if a parameter that was passed into a function is a certin type. Currently i use. strcmp(Z_OBJCE_P(val)->name, "class") - Brad __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.ya

Re: [PHP-DEV] [PATCH] Fix apache2filter with threaded MPMs

2002-05-05 Thread Aaron Bannert
On Sun, May 05, 2002 at 03:36:18AM -0700, Justin Erenkrantz wrote: > With a threaded MPM of httpd-2.0, the userdata wouldn't have its > state stored properly (it'd always be NULL). Therefore, the > server would fail in odd ways later on. tsrm_startup() would > never be called and would segfault

Re: [PHP-DEV] domxml extension

2002-05-05 Thread brad lafountain
--- Christian Stocker <[EMAIL PROTECTED]> wrote: > On Sun, 5 May 2002, brad lafountain wrote: > > > Hello, > > > > I was wondering who was maintaing the dom xml extension. > > > > I was just testing out some stuff. > > > > - > > $xml = new DomElement('asdf')

Re: [PHP-DEV] domxml extension

2002-05-05 Thread Christian Stocker
On Sun, 5 May 2002, brad lafountain wrote: > Hello, > > I was wondering who was maintaing the dom xml extension. > > I was just testing out some stuff. > > - > $xml = new DomElement('asdf'); > just doesn't work.. > > $xml = new DomElement('asdf'); > $real_ele

[PHP-DEV] domxml extension

2002-05-05 Thread brad lafountain
Hello, I was wondering who was maintaing the dom xml extension. I was just testing out some stuff. - $xml = new DomElement('asdf'); just doesn't work.. $xml = new DomElement('asdf'); $real_element = $xml->domelement('asdf'); works... I looked into thi

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 Bug Summary Report)

2002-05-05 Thread James Cox
Hi, My plan is to revamp the way that tests work, so it's more efficient. But, you are more than welcome to work on the current testing system, -- all the tests will be converted anyhow :) Thanks, james > -Original Message- > From: Preston L. Bannister [mailto:[EMAIL PROTECTED]] > Sent

Re: [PHP-DEV] Feature Request: Session Module

2002-05-05 Thread Steve Meyers
I figured it out, it was a problem in APC that was causing it. Deleting the compiled PHP files fixed the problem. I have no idea why that fixed it, but it did. Markus Fischer wrote: > Hi, > > http://bugs.php.net/report.php > > - Markus > > On Sat, May 04, 2002 at 06:20:28PM -0

[PHP-DEV] [PATCH] Fix apache2filter with threaded MPMs

2002-05-05 Thread Justin Erenkrantz
With a threaded MPM of httpd-2.0, the userdata wouldn't have its state stored properly (it'd always be NULL). Therefore, the server would fail in odd ways later on. tsrm_startup() would never be called and would segfault in php_post_read_request when it tried to acquire the NULL mutex. This c

Re: [PHP-DEV] [PATCH] Get apache2filter to link on Darwin

2002-05-05 Thread Justin Erenkrantz
On Sun, May 05, 2002 at 02:21:31AM -0700, Justin Erenkrantz wrote: > By default, Darwin requires that all references be resolved at > compile-time instead of run-time for bundles. So, when we try to > build the apache2filter module, we are calling some APR and APR-util > functions from the module

Re: [PHP-DEV] [PATCH] Get apache2filter to link on Darwin

2002-05-05 Thread Marko Karppinen
> By default, Darwin requires that all references be resolved at > compile-time instead of run-time for bundles. So, when we try to > build the apache2filter module, we are calling some APR and APR-util > functions from the module. Since apxs does not expose the linking > information for APR or

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 Bug Summary Report)

2002-05-05 Thread Preston L. Bannister
I'm not asking you to do all the work, rather I'm trying to figure out who is working on what, so I don't duplicate someone's work. I take it you're testing on Unix? The current tests are checked in to CVS? > -Original Message- > From: James Cox [mailto:[EMAIL PROTECTED]] > Sent: Satur

[PHP-DEV] [PATCH] Get apache2filter to link on Darwin

2002-05-05 Thread Justin Erenkrantz
By default, Darwin requires that all references be resolved at compile-time instead of run-time for bundles. So, when we try to build the apache2filter module, we are calling some APR and APR-util functions from the module. Since apxs does not expose the linking information for APR or APR-util,

Re: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-05 Thread Marko Karppinen
> Stig, I have a bit of work to do still with the bundled ext/gd/libgd so I > would add bundled libgd to the list of major changes. May need a bit of > Sascha-help to get it building correctly in the new build system. This reminds me. I'm working on implementing the current gd+freetype functiona

[PHP-DEV] CVS Account Request: alexios

2002-05-05 Thread Alexios Fakos
Hello, sorry about bothering again. At 04-25-2002 i submit a request but nothing happens till this day. My request was to constribute a PEAR::DB-class for supporting MS ADODB-library (COM) in PEAR-API. Stig S. Bakken will setup a CVS account for me (so his words in pear-dev-mailing from

[PHP-DEV] [PATCH] Prefer glibtool over libtool

2002-05-05 Thread Justin Erenkrantz
This patch switches buildcheck.sh so that it prefers glibtool over libtool. This is especially needed on Darwin systems because their libtool isn't GNU libtool. Since a libtool does exist, but it isn't GNU libtool, it fails the lt_pversion test. So, if we prefer glibtool over libtool, we avoi