Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Sara Golemon
> Wouldn't it be nice/more useful to generate RDF/RSS on a per-bug basis? > Then you could just add the feed url to your favourite RSS client. > > If you make it do that, then I will take a look and commit, provided > that there are no objections to this. > Jesus suggested the same thing, I'm tryin

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Wez Furlong
Hey, Wouldn't it be nice/more useful to generate RDF/RSS on a per-bug basis? Then you could just add the feed url to your favourite RSS client. If you make it do that, then I will take a look and commit, provided that there are no objections to this. --Wez. On Fri, 31 Jan 2003, Sara Golemon wro

[PHP-DEV] --with-pgsql results in 'unexpected PLT reloc type 0x00'

2003-01-31 Thread Vlad Krupin
Strange build problem. Build php 4.3.0 with pgsql support on linux (mostly redhat 7.2) and got this: Installing shared extensions: /usr/local/lib/php/extensions/debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ /usr/src/web/php-4.3.0/sapi/cli/php: error while load

[PHP-DEV] zend_operators.c

2003-01-31 Thread Alex Waugh
Hi ZendEngine2/zend_operators.c is missing a newline at the end of the file. Please could someone with Zend karma fix this. Thanks Alex -- Alex Waugh [EMAIL PROTECTED] RISC OS software from http://www.alexwaugh.com/ -- PHP Development Mailing List To

[PHP-DEV] mod_negotiation and 406 and php

2003-01-31 Thread Stephen van Egmond
I'm using Apache mod_negotiation to eliminate file extensions from my site, e.g. http://tinyplanet.ca/services/development This works great for dynamic features too, as I get pathinfo for free. No more ?article_id=92 business for me. Anyway. Google hates my guts for doing this. Why?

Re: [PHP-DEV] memory usage

2003-01-31 Thread Adam Maccabee Trachtenberg
On Fri, 31 Jan 2003, Adam Maccabee Trachtenberg wrote: > If PHP is built with the --enable-memory-limit configuration option, it > stores the peak memory usage of each request in a note called > mod_php_memory_usage. Add the memory usage information to a LogFormat > with: > > %{mod_php_memory_us

Re: [PHP-DEV] memory usage

2003-01-31 Thread Adam Maccabee Trachtenberg
On 31 Jan 2003, Walt Boring wrote: > Is there a way for me to log the peak memory usage for a php script for > php 4.3.0 ? If PHP is built with the --enable-memory-limit configuration option, it stores the peak memory usage of each request in a note called mod_php_memory_usage. Add the memory usa

Re: [PHP-DEV] Again scope

2003-01-31 Thread Maxim Maletsky
dovrebbe essere: foo2."\n"; print "Bar"; } Function Bar2() { $foo2="foo2"; $this->Bar(); } } $f = new foo; $f->Bar2(); ?> -- Maxim Maletsky [EMAIL PROTECTED] michel 'ziobudda' morelli <[EMAIL PROTECTED]> wrote... : > Class Foo { > var $foo2; > > Function Bar() > { > echo

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Sara Golemon
> > >I had two questions: One to assign to all NEW messages and one > > >feature request to assign to selective bugs...I wanted to avoid reading > > >all messages on any bug. Thats overkill... > > > > Get a mail client that can handle threading.. > > PHP-Bugs doesn't have "In-Reply-To" and "Ref

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Daniel Lorch
hi, > >I had two questions: One to assign to all NEW messages and one > >feature request to assign to selective bugs...I wanted to avoid reading > >all messages on any bug. Thats overkill... > > Get a mail client that can handle threading.. PHP-Bugs doesn't have "In-Reply-To" and "References

Re: [PHP-DEV] Again scope

2003-01-31 Thread Xavier Spriet
This isn't a PHP problem. use $this->Bar(); on line 14 On Fri, 2003-01-31 at 15:03, michel 'ziobudda' morelli wrote: > Class Foo { > var $foo2; > > Function Bar() > { > echo $foo2."\n"; > print "Bar"; > } > > Function Bar2() > { > $foo2="foo2"; > Bar(); > } > } > > $f = new foo

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread John Coggeshall
>That can be done, but that means 12 commits "a day" for a >single file. I >dont think that's a good idea. Is there some way we can harness CVS keyword subsitutuion in a case like this? John -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/un

[PHP-DEV] Again scope

2003-01-31 Thread michel 'ziobudda' morelli
Bar2(); ?> give me this error: Fatal error: Call to undefined function: bar() in /home/httpd/html/PHP/test/3.php on line 14 I'm using php-cli from cvs (2 weeks ago). And there is a variable scope (for the class). -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Maili

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Sara Golemon
> I have a "daily page" I go to every morning which contains all my news > feeds, some comic strips, movie listings, etc If there were a > programmatic query interface to bugs.php.net I could select bug #s to track, > and be able to bring up histories of them from my daily page. > To that end..

[PHP-DEV] memory usage

2003-01-31 Thread Walt Boring
Is there a way for me to log the peak memory usage for a php script for php 4.3.0 ? Thanks Walt -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RfC: version names

2003-01-31 Thread Xavier Spriet
A very simple solution would simply be to do something like ls --full-time configure that allows you to find at what exact time buildconf was used so pretty much when it was built. This would be much easier to implement since you don't have to touch CVS at any time for that... right ? On Fri, 200

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Sara Golemon
> > Wouldn't it be nice if one could attach himself to a bug and receive an email > > on every new message to that bug? > > I have a "daily page" I go to every morning which contains all my news feeds, some comic strips, movie listings, etc If there were a programmatic query interface to bugs.p

[PHP-DEV] RE: [PHP-QA] RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Kai Schroder
> This line will give you the timestamp from the latest > checked in file: > > find . -type f|xargs grep '$Id: ' |grep -v Binary |\ > sed 's#.*\([12].../../.. ..:..:..\).*#\1#'| sort | tail -1 This should also work with cvs export, does it? Can we add this to build system a

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Sascha Schumann
> I've no idea, do you? I think we just should not allow submissions with > test results if they're not made by a snapshot or our phport.sh thingy > for automatic testing. If that "phport.sh thingy" reliably ensures the integrity of the source files, it could work. Have CVS $Id$'s bee

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread James Aylett
Sascha: > $ cd php4; cvs upd > > and a day later > > $ cd php4/ext/standard; cvs upd > > What is the checkout date here? It should be the time of the second update, if anything. Now it /is/ possible to find this out (by getting the most recent modification date of any CVS control file i

Re: [PHP-DEV] RfC: version names

2003-01-31 Thread Sander Steffann
Hi, > > So what happens if I do this? > > > > cd php4 > > cvs upd > > > > and a day later do this? > > > > cd php4/ext/standard > > cvs upd > > > > What is the checkout date here? > > I've no idea, do you? I think we just should not allow submissions with

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, Sascha Schumann wrote: > > It's not actually, as we were just trying to *solve* this problem and > > prevent getting test results with the wrong date/time. > > So what happens if I do this? > > cd php4 > cvs upd > > and a day later do this? > > cd

Re: [PHP-DEV] installing on PHP on Apache 2 and FreeBSD

2003-01-31 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. (also, don't crosspost to irrelevant lists). Derick On Fri, 31 Jan 2003, Jacob Bolton wrote: > Hey all, > > Here's the situation. I'm on a server runni

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Sascha Schumann
> It's not actually, as we were just trying to *solve* this problem and > prevent getting test results with the wrong date/time. So what happens if I do this? cd php4 cvs upd and a day later do this? cd php4/ext/standard cvs upd What is the checkout date her

[PHP-DEV] installing on PHP on Apache 2 and FreeBSD

2003-01-31 Thread Jacob Bolton
Hey all, Here's the situation. I'm on a server running FreeBSD and Apache 2. Someone else installed both. There is software that is running on this server, that I'm sure is dependent on certain options being compiled into Apache. I'm trying to install PHP on the server to make life a little eas

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, Sascha Schumann wrote: > > "For manual checkouts" << that has nothing to do with snapshots, so he > > isn't smoking anything. > > echo "test -r CHECKOUT_TIME || date > CHECKOUT_TIME" >> buildconf > > would be sufficient for that case. It's not perfect, because >

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Sascha Schumann
> "For manual checkouts" << that has nothing to do with snapshots, so he > isn't smoking anything. echo "test -r CHECKOUT_TIME || date > CHECKOUT_TIME" >> buildconf would be sufficient for that case. It's not perfect, because it is conceivable that someone does not run buildconf

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, Sascha Schumann wrote: > > > How is that possible? > > > > I don't think it is, because it needs to be done at checkout time, not at > > build time. > > What are you smoking? > > That's a one line addition to the snapshot script. "For manual checkouts" << that has n

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Sascha Schumann
> > How is that possible? > > I don't think it is, because it needs to be done at checkout time, not at > build time. What are you smoking? That's a one line addition to the snapshot script. - Sascha, creator, snaps.php.net -- PHP Development Mailing List To u

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Kai Schroder
Sascha found a simple but good solution: date > /CURRENT_TIME This can be done by snapshot generator and for manual checkouts without changing source files in cvs. Than /run-tests.php can send the content of this file with the test results. Regards, Kai -- PHP Development Mailing List

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread James Aylett
Derrick wrote: > > date > /CURRENT_TIME > > > > This can be done ... for manual checkouts without > > changing source files in cvs. > > How is that possible? I don't think it is, because it needs to be done at checkout time, not at build time. I previously suggested (with Derrick's reply): > > I

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, Kai Schroder wrote: > Sascha found a simple but good solution: > > date > /CURRENT_TIME > > This can be done ... for manual checkouts without > changing source files in cvs. How is that possible? Derick --

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, James Aylett wrote: > > > > I suppose we can have the snapshot generator do that, but it > > > > would still hard to differentiate between CVS versions then. > > > Sounds a little bit stupid, but why the snapshot generator can't simply > > > commit a changed /main/php_version

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Sascha Schumann
On Fri, 31 Jan 2003, [ISO-8859-15] Kai Schröder wrote: > > That can be done, but that means 12 commits "a day" for a single file. I > > dont think that's a good idea. > > That's true. Now we have round about 30 commits each day. 12 more will make > less than 5.000 blocks (5MB for 1k-blocks) more d

Re: [PHP-DEV] RfC: version names

2003-01-31 Thread Hartmut Holzgraefe
Kai Schröder wrote: That's true. Now we have round about 30 commits each day. 12 more will make less than 5.000 blocks (5MB for 1k-blocks) more disk usage per year. Where do you see the real problem if the commits are not mailed to php-cvs list? that is 12 commits per day to a single file after

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread James Aylett
> > > I suppose we can have the snapshot generator do that, but it > > > would still hard to differentiate between CVS versions then. > > Sounds a little bit stupid, but why the snapshot generator can't simply > > commit a changed /main/php_version.h every 2 hours? > > That can be done, but that

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Kai Schröder
> That can be done, but that means 12 commits "a day" for a single file. I > dont think that's a good idea. That's true. Now we have round about 30 commits each day. 12 more will make less than 5.000 blocks (5MB for 1k-blocks) more disk usage per year. Where do you see the real problem if the comm

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, Kai Schröder wrote: > > I suppose we can have the snapshot generator do that, but it would still > > hard to differentiate between CVS versions then. > > Sounds a little bit stupid, but why the snapshot generator can't simply > commit a changed /main/php_version.h every 2 hou

RE: [PHP-DEV] RfC: version names

2003-01-31 Thread Kai Schröder
> I suppose we can have the snapshot generator do that, but it would still > hard to differentiate between CVS versions then. Sounds a little bit stupid, but why the snapshot generator can't simply commit a changed /main/php_version.h every 2 hours? The php-cvs mailer should ignore the commits (ig

[PHP-DEV] Re: str_ireplace vs. stri_replace

2003-01-31 Thread Maxim Maletsky
Ilia A. writes: 1. Not all users will notice the extra parameter easily. Will take some time. This modification will not appear until PHP 5 is released, by then this extra parameter (hopefully) will be well documented and people will be aware that it exists. Adding extra code, which virtually

Re: [PHP-DEV] RfC: version names

2003-01-31 Thread Derick Rethans
On Fri, 31 Jan 2003, [iso-8859-1] Kai Schröder wrote: > Hi all, > > I'm working on a new framework for analyzing results of "make test" for QA > Team (see php-qa list). > > Talking with Sebastian Nohn, I realized, that we can't differ the versions > in detail. That means, that we can't say which

[PHP-DEV] RfC: version names

2003-01-31 Thread Kai Schröder
Hi all, I'm working on a new framework for analyzing results of "make test" for QA Team (see php-qa list). Talking with Sebastian Nohn, I realized, that we can't differ the versions in detail. That means, that we can't say which source packet was used to build php. Is there any way to name the ve

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Moriyoshi Koizumi
[EMAIL PROTECTED] (Marcus Börger) wrote: > Wouldn't it be nice if one could attach himself to a bug and receive an email > on every new message to that bug? > > And then how am i informed about new bugs? Is there a mailing list for that? > Currently i read the bug-summary-list.. I was thinking o

Re: [PHP-DEV] Reading php.ini

2003-01-31 Thread Thomas Wentzel
Vinod Panicker wrote: > > Hi, > > Could someone pls point me to some documentation on how to access values > from php.ini in my php extension? > > Tx, > Vinod. http://zend.com/apidoc/zend.ini-file-support.php -- PHP Development Mailing List To unsubscribe, visit: http:/

[PHP-DEV] Reading php.ini

2003-01-31 Thread Vinod Panicker
Hi, Could someone pls point me to some documentation on how to access values from php.ini in my php extension? Tx, Vinod. --- Vinod Panicker <[EMAIL PROTECTED]> Sr. Software Designer Geodesic Information Systems Ltd. -- PHP Development Mailing List

[PHP-DEV] ZE2 / reg.c / string.c memleaks

2003-01-31 Thread Magnus Määttä
While doing make install: /opt/DEV/php/php5/ext/standard/string.c(1061) : Freeing 0x419E4DF0 (6 bytes), script=/opt/DEV/php/php5/pear/install-pear.php /opt/DEV/php/php5/Zend/zend_variables.c(110) : Actual location (location was relayed) /opt/DEV/php/php5/Zend/zend_execute.c(2615) : Freeing 0x4

Re: [PHP-DEV] user defined vs php provided function (was Re: str_ireplace vs. stri_replace)

2003-01-31 Thread Tamas Arpad
> You are correct in the event of a user writing a new function, however > consider what will happen if we are dealing with a old code, especially if > it is no longer used just by the author but rather by a variety of other > people not familiar with PHP code. The result is that after they or thei

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Marcus Börger
At 11:37 31.01.2003, Jani Taskinen wrote: On Fri, 31 Jan 2003, Marcus Börger wrote: >I had two questions: One to assign to all NEW messages and one >feature request to assign to selective bugs...I wanted to avoid reading >all messages on any bug. Thats overkill... Get a mail client that can

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Jani Taskinen
On Fri, 31 Jan 2003, Marcus Börger wrote: >I had two questions: One to assign to all NEW messages and one >feature request to assign to selective bugs...I wanted to avoid reading >all messages on any bug. Thats overkill... Get a mail client that can handle threading.. --Jani

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Marcus Börger
At 10:24 31.01.2003, Thomas Seifert wrote: On Fri, 31 Jan 2003 02:49:01 + [EMAIL PROTECTED] (Daniel Lorch) wrote: > hi, > > > > Wouldn't it be nice if one could attach himself to a bug and receive an > > > email > > > on every new message to that bug? > > > > > > And then how am i informed

[PHP-DEV] Re: CVS Account Request: pathic

2003-01-31 Thread Thomas Seifert
On 31 Jan 2003 09:25:58 - [EMAIL PROTECTED] (Ahmad Fathani) wrote: > how to learn it you don't need a cvs-account for that. -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net

[PHP-DEV] CVS Account Request: pathic

2003-01-31 Thread Ahmad Fathani
how to learn it -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Question on bug list

2003-01-31 Thread Thomas Seifert
On Fri, 31 Jan 2003 02:49:01 + [EMAIL PROTECTED] (Daniel Lorch) wrote: > hi, > > > > Wouldn't it be nice if one could attach himself to a bug and receive an > > > email > > > on every new message to that bug? > > > > > > And then how am i informed about new bugs? Is there a mailing list f

Re: [PHP-DEV] Re: Mandatory File Locking in PHP?

2003-01-31 Thread Kristian Koehntopp
On Thursday 30 January 2003 02:24, George Schlossnagle wrote: > Mandatory locks actually prevent read and write calls > from _anyone_ else succeeding on that file. If implemented improperly, they are also a wide open door for denial of service attacks on a system (set a mandatory lock on /etc/pa

[PHP-DEV] Re: RE : TR : Bug #21549 [Opn->Fbk]: problem with INGRES II permanentconnexions

2003-01-31 Thread Derick Rethans
On Thu, 30 Jan 2003, pierre-marie mouliere wrote: > > Please attached find the patch We can not accept this patch as we can not allow: 1. having /* ARC INTERNATIONAL */ on every line you touched, 2. using the prefix _ai_ to functions you changed 3. indentation with spaces, and totally ignor