Re: [PHP-DEV] Re: using VC++ to compile PHP extensions

2003-02-28 Thread epplestun
Hi, if you want see this: http://www.zonaphp.com/index.php?modulo=articuloaccion=leerid=6 Is a introduction to make new extensions under Unix systems, it´s in spanish. - Original Message - From: J Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 28, 2003 12:23 AM

[PHP-DEV] CVS Account Request: tacke

2003-02-28 Thread Radu Calauz
Developing the PHP runtime -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread James Devenish
Hi, Preface: This e-mail uses the distribution list (To and CC addresses) that the original poster used. I have moved everyone other than php-dev to Bcc so that this doesn't get perpetuated (I have no idea of the significance of the other addresses that were e-mailed, nor do I know Dave Hill's

[PHP-DEV] package.xlm question

2003-02-28 Thread Michael Bretterklieber
Hi, in my package.xml I have this: filelist dir role=src name=/ fileCREDITS/file fileMakefile.in/file is it possible that with older versions of the pear-command I have to put on each file entry the role? filelist dir role=src name=/ file role=srcCREDITS/file

Re: [PHP-DEV] package.xlm question

2003-02-28 Thread Michael Bretterklieber
Hi, forget this posting, I picked the wrong address from my addressbook - again gr, bye, Michael Bretterklieber wrote: Hi, in my package.xml I have this: filelist dir role=src name=/ fileCREDITS/file fileMakefile.in/file is it possible that with older versions of the

[PHP-DEV] Weak references in PHP

2003-02-28 Thread Konstantin Knizhnik
To be able to implmenet interface of object-oriented database to PHP I need to have object cache which will map persistent object identifier (OPID) to loaded instance of the object. This cache should be weak, i.e. it should not prevent garbage collection from deallocating unused instances of

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

2003-02-28 Thread Antony Dovgal
On 24 Feb 2003 08:21:17 - Antony Dovgal [EMAIL PROTECTED] wrote: Translating PEAR docs to Russian (main purpose, PEAR Russian docs team obviously need help). Translating PHP docs to Russian (possibly, if Russian docs team needs some help). Vitaliy Kravchenko(from Russian PEAR Docs team)

Re: [PHP-DEV] Variables VS constantes

2003-02-28 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Fri, 28 Feb 2003, Cranky wrote: Hello, I would like to know if in a config file for example, if it was better to use variables or

Re: [PHP-DEV] Weak references in PHP

2003-02-28 Thread George Schlossnagle
Can anybody tell me if such features are available in PHP (I failed to find them myself). Look at __destruct method for classes in ZE2. They wopn't tell you the reference count, but the do get called when the ref count goes to 0. -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Andi Gutmans
Hi, The reason the zend_parse_parameters() API only exposes long is because the Zend zval (container which holds the engine values) only supports longs and not ints. So anything which touches scripting engine values should be using long. However, extensions which have INI parameters may want

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

2003-02-28 Thread Andi Gutmans
Have you submitted a CVS account request? At 09:41 PM 2/27/2003 +, J Smith wrote: A few weeks ago, I kind of volunteered to maintain testing scripts for ZE2 on the ZE2 mailing list. (See the thread beginning at http://www.zend.com/lists/engine2/200302/msg3.html ) Just to make good on

Re: [PHP-DEV] Weak references in PHP

2003-02-28 Thread Andi Gutmans
Hi, I don't quite understand. If you are thinking of implementing something similar to JDO then your persistent object manager will only hold the objects which are retrieve by the script. At the end of the request it'll persist the changes and will free the objects. Why would you want them to

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Sascha Schumann
So I think the fix of adding OnUpdateLong() is the correct fix. I was under the impression that OnUpdateInt was actually expecting a long. I remember changing some int's to long's to address 64 bit issues. Do I remember this incorrectly? - Sascha -- PHP Development Mailing

[PHP-DEV] Re: [ZEND-ENGINE-CVS] Re: ZendEngine2 / ZEND_CHANGES

2003-02-28 Thread Sebastian Bergmann
Harald Radi wrote: how is your book doing :) The deadline is approaching. Besides that, good ;-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Andi Gutmans
At 04:28 PM 2/28/2003 +0100, Sascha Schumann wrote: So I think the fix of adding OnUpdateLong() is the correct fix. I was under the impression that OnUpdateInt was actually expecting a long. I remember changing some int's to long's to address 64 bit issues. Do I remember this

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

2003-02-28 Thread J Smith
Yep. Yesterday, through the form on the docs page. J Andi Gutmans wrote: Have you submitted a CVS account request? At 09:41 PM 2/27/2003 +, J Smith wrote: A few weeks ago, I kind of volunteered to maintain testing scripts for ZE2 on the ZE2 mailing list. (See the thread beginning at

[PHP-DEV] CVS Account Request: linux521

2003-02-28 Thread chris lee
Learning PHP Program! -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-02-28 Thread didou
Learning PHP Program! You don't need a CVS account to do that. cheers, Mehdi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread David Hill
So I think the fix of adding OnUpdateLong() is the correct fix. I was under the impression that OnUpdateInt was actually expecting a long. I remember changing some int's to long's to address 64 bit issues. Do I remember this incorrectly? - Sascha Most, but not all of

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Sascha Schumann
No, you are correct but misunderstood me. We should introduce OnUpdateLong() for ppl using longs and use OnUpdateInt() for ppl who want to use ints. Well, and how are you planning to mitigate the BC issues? Remember that not all extension code is under our direct control. -

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Andi Gutmans
At 04:47 PM 2/28/2003 +0100, Sascha Schumann wrote: No, you are correct but misunderstood me. We should introduce OnUpdateLong() for ppl using longs and use OnUpdateInt() for ppl who want to use ints. Well, and how are you planning to mitigate the BC issues? Remember that not all

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Sascha Schumann
I think that simply adding OnUpdateLong and deprecating OnUpdateInt is fine while retaining its current semantics. I just don't see any value in changing the meaning of OnUpdateInt; at least that's how I interpreted Andi's message. - Sascha -- PHP Development Mailing

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Andi Gutmans
At 04:50 PM 2/28/2003 +0100, Sascha Schumann wrote: I think that simply adding OnUpdateLong and deprecating OnUpdateInt is fine while retaining its current semantics. I just don't see any value in changing the meaning of OnUpdateInt; at least that's how I interpreted Andi's

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Sascha Schumann
That's also an option but I think OnUpdateInt() is confusing and how do we stop ppl from using it in new extensions which who's commit messages aren't followed via php-cvs? I volunteer to set up a cron job which greps for OnUpdateInt :-) The problem with _changing_ the existing

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Rasmus Lerdorf
On Fri, 28 Feb 2003, Andi Gutmans wrote: At 04:50 PM 2/28/2003 +0100, Sascha Schumann wrote: I think that simply adding OnUpdateLong and deprecating OnUpdateInt is fine while retaining its current semantics. I just don't see any value in changing the meaning of

[PHP-DEV] Current HEAD segfaults with make test

2003-02-28 Thread Sebastian Bergmann
PASS Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] make: *** [test] Segmentation fault Is there a way to find out which test segfaults? Obviously the one after tests/classes/bug20120.phpt, but ... -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread Zeev Suraski
At 17:50 28/02/2003, Sascha Schumann wrote: I think that simply adding OnUpdateLong and deprecating OnUpdateInt is fine while retaining its current semantics. +1 Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] #php.bugs invite only?

2003-02-28 Thread George Schlossnagle
#php.bugs seems to be invite only now. How do I go about getting myself invited? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Current HEAD segfaults with make test

2003-02-28 Thread Melvyn Sopacua
At 17:10 2/28/2003, you wrote: PASS Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] make: *** [test] Segmentation fault Is there a way to find out which test segfaults? Obviously the one after tests/classes/bug20120.phpt, but ... Mine segfaults already on the third test

Re: [PHP-DEV] #php.bugs invite only?

2003-02-28 Thread Ilia A.
On February 28, 2003 11:50 am, George Schlossnagle wrote: #php.bugs seems to be invite only now. How do I go about getting myself invited? It would appear someone had accidentaly set the channel to invite only, it is fixed now. Ilia -- PHP Development Mailing List http://www.php.net/ To

Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread Konstantin Knizhnik
Hello Andi, The problem is that script can fetch very large number of objects and all of them doesn't fit in the memory. Lets say we have very large list of objects (several millions objects or more). And our script traverse the list and fetch objects one by one and do some calculations (for

Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread Konstantin Knizhnik
Hello George, Friday, February 28, 2003, 5:46:18 PM, you wrote: Can anybody tell me if such features are available in PHP (I failed to find them myself). GS Look at __destruct method for classes in ZE2. They wopn't tell you the GS reference count, but the do get called when the ref count

Re: Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread George Schlossnagle
Using __destruct method (thanks to George) it may be possible to implement what I need, but only if object cache is implemented in C (and so is not visible for PHP garbage collector). So no pure PHP solution exits. Unfortunately I didn't fins any reference to __destruct method in PHP manual and

Re: [PHP-DEV] #php.bugs invite only?

2003-02-28 Thread Andi Gutmans
At 12:12 PM 2/28/2003 -0500, Ilia A. wrote: On February 28, 2003 11:50 am, George Schlossnagle wrote: #php.bugs seems to be invite only now. How do I go about getting myself invited? It would appear someone had accidentaly set the channel to invite only, it is fixed now. I mailed Jani with the

Re: Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread J Smith
ZE2 == Zend Engine 2, which will be replacing the current Zend Engine in PHP 5. Amoung other things, one of it's main features is a more roboust OOP framework, which includes class destructors. J Konstantin Knizhnik wrote: Hello George, Friday, February 28, 2003, 5:46:18 PM, you wrote:

[PHP-DEV] ZE2 constructors

2003-02-28 Thread Marcus Börger
Hi Zeev, according to the plans the following test file should PASS: --TEST-- The new constructor/destructor is called --SKIPIF-- ?php if (version_compare(zend_version(), '2.0.0-dev', '')) die('skip ZendEngine 2 needed'); ? --FILE-- ?php class early { function early()

Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread Andi Gutmans
At 08:00 PM 2/28/2003 +0300, Konstantin Knizhnik wrote: Hello Andi, The problem is that script can fetch very large number of objects and all of them doesn't fit in the memory. Lets say we have very large list of objects (several millions objects or more). And our script traverse the list and

[PHP-DEV] PHP5 compilation broken? Patch

2003-02-28 Thread Marco Tabini
Howdy-- Tried to compile today's CVS of PHP5 but I get a compilation error in main/network.c. Here's a patch that (I think) should take care of the problem: Index: main/network.c === RCS file: /repository/php4/main/network.c,v

Re: [PHP-DEV] PHP5 compilation broken? Patch

2003-02-28 Thread Marco Tabini
Never mind... I had updated the wrong head :( Sorry! Mt. On Fri, 2003-02-28 at 23:33, Marco Tabini wrote: Howdy-- Tried to compile today's CVS of PHP5 but I get a compilation error in main/network.c. Here's a patch that (I think) should take care of the problem: Index: main/network.c

[PHP-DEV] Variables VS constantes

2003-02-28 Thread Cranky
Hello, I would like to know if in a config file for example, if it was better to use variables or constantes ? Is it a big difference of performance or in memory used ? And the same question about the translation of a site. I would like to translate my site in many langages. So I want to create

[PHP-DEV] Re: [PHP] JP Graph

2003-02-28 Thread Jason Sheets
Sounds like a web server configuration problem. If you are using apache make sure your httpd.conf is configured to bind to your external IP address (the default). Jason On Thu, 2003-02-27 at 21:17, K wrote: Hi all, I'm using JPGraph on a localhost for a website opened via a host redirect. My