Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread Christian Stocker
On 10/25/03 7:20 PM, [EMAIL PROTECTED] wrote: I have install libxml2 using fink for Mac OS X, so that the libraries are stored in /sw/lib, and the includes are in /sw/include/libxml2/libxml. I have tried these directories including the latter directory without the last directory, but to no av

Re: [PHP-DEV] cracked it! (cleaning up)

2003-10-26 Thread Marcus Börger
Hello Steph, Sunday, October 26, 2003, 6:11:39 AM, you wrote: > I searched on ssize_t. > There are 5 files where ssize_t is defined: > configure.in //irrelevant to win32 > config.w32.h //changed definition to #define ssize_t SSIZE_T because > is more pervasive in the upper reaches of PHP than >

[PHP-DEV] Re: finally again

2003-10-26 Thread Cristiano Duarte
> Hi internals ! > > I came into a problem when writing an IDL to PHP5 language mapping > specification and an IDL to PHP5 language compiler. I'm using the community > OpenORB IDL-to-Java compiler as a base for writing the IDL-to-PHP5 compiler, > in fact, it is a translation from Java to PHP5. Ever

[PHP-DEV] Re: Adding vars to debug_backtrace()

2003-10-26 Thread Christian Schneider
Ok, I worked out a patch which does not leak memory. I don't think thread-safety is an issue here but if anyone with deeper insight into Zend sees any problem with this patch, please tell me. What's the process (and chance :-)) of having this included in a future version of PHP? Should I also l

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread Zeev Suraski
At 22:47 24/10/2003, Ilia Alshanetsky wrote: One solution which was to bundle libxml with PHP got rejected and if my recollection is correct you agreed with that decision. IMHO that was a good decision, bundling a huge library (3.2+ megs as of 2.6.0) almost as big as PHP itself seems kind of strang

Re: [PHP-DEV] cracked it! (cleaning up)

2003-10-26 Thread Steph
> This is not correct, both use ptrdiff_t. Yes. One already has an include that defines it.. OK OK, agreed that's tenuous. > Also you need the sizeof define (which works as a detection define, too): > SIZEOF_PTRDIFF_T This is defined as an absolute in config.w32.h (for 32-bit and 64-bit archite

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread Melvyn Sopacua
Hi, On Friday 24 October 2003 20:45, Ilia Alshanetsky wrote: > > Check for mktime with out-of-range parameters > > [ext/standard/tests/time/003.phpt] > > mktime() [ext/standard/tests/time/mktime.phpt] > > Also, a MacOSX specific issue that is not PHP5 specific. Actually - a BSD mktime specific i

[PHP-DEV] Re: finally again

2003-10-26 Thread Andrew Smith
Cristiano Duarte wrote: Hi internals ! I came into a problem when writing an IDL to PHP5 language mapping specification and an IDL to PHP5 language compiler. I'm using the community OpenORB IDL-to-Java compiler as a base for writing the IDL-to-PHP5 compiler, in fact, it is a translation from Java

Re: [PHP-DEV] [Fwd: [PATCH] to fix Re: #25831 [Ver]: overload/__callbreaks method Pass by reference]

2003-10-26 Thread Moriyoshi Koizumi
Hi Alan, I've been investigating this problem, but still no luck even with your patch. It almost looks like pass-by-reference on call_user_function() isn't allowed in the current engine framework... (runtime pass-by-referenceis still possible though) Moriyoshi Alan Knowles <[EMAIL PROTECTED]>

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-26 Thread Andi Gutmans
At 02:53 PM 10/26/2003 -0200, Cristiano Duarte wrote: Hi all, Just to remind about my problem: After updating from latest CVS I still had problems with internal hashtables. I want to make internal class constants and the engine reports memory leaks. So I made this patch wich works for me and remov

[PHP-DEV] CVS Account Request: hfuecks

2003-10-26 Thread Harry Fuecks
For maintaining existing PEAR packages PEAR::XML_HTMLSax and PEAR::XML_SaxFilters (currently on Sourceforge) plus the shortly to be released PEAR::Calendar package (http://marc.theaimsgroup.com/?t=10668615911&r=1&w=2), so I can collaborate with the other two maintainers who'll be working on

[PHP-DEV] Re: finally again

2003-10-26 Thread Cristiano Duarte
Hi Andrew, > That's great! An IDL to PHP compiler is really needed ! > What's the status of your project anyway ? Currently I have the mapping specification done, but it needs validation with the code generated by the compiler. The compiler generates the PHP code, and a simple test works with a Ja

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread LingWitt
I finally got it to build with this: ./configure --with-apxs --with-dom=/sw --with-libxml-dir=/sw --with-xsl=/sw --with-zlib-dir=/sw --with-mysql=/sw --with-xsl=/sw I need the overload extension, so I tried passing --enable-overload and --with-overload but it does not seem to do anything. How

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread LingWitt
I just found that there is no code for the overload extension. I assume that it is more formally included in this version. Should I rewrite my classes that make use of the overload function? On Sunday, Oct 26, 2003, at 11:45 America/New_York, George Schlossnagle wrote: On Sunday, October 26, 2

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-26 Thread Cristiano Duarte
"Andi Gutmans" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > This doesn't look right. Shouldn't you make sure that module shutdown frees > the hashtables? You can change the dtor if you need. > I'm sorry but I don't quite understand what made you come up with this > solution. Ma

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-26 Thread Cristiano Duarte
Hi Andi, In fact Moriyoshi pointed out this problem in hist "Registering constants to internal classes (ZE2)" message: http://www.zend.com/lists/php-dev/200307/msg00023.html The code I provided fix this problem, if it's a problem... Cristiano Duarte -- PHP Internals - PHP Runtime Development M

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread George Schlossnagle
On Sunday, October 26, 2003, at 03:22 AM, Christian Stocker wrote: On 10/25/03 7:20 PM, [EMAIL PROTECTED] wrote: I have install libxml2 using fink for Mac OS X, so that the libraries are stored in /sw/lib, and the includes are in /sw/include/libxml2/libxml. I have tried these directories inc

[PHP-DEV] internal hashtables [patch included]

2003-10-26 Thread Cristiano Duarte
Hi all, Just to remind about my problem: After updating from latest CVS I still had problems with internal hashtables. I want to make internal class constants and the engine reports memory leaks. So I made this patch wich works for me and removed all memory leaks regarding hashtables. This patch

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread LingWitt
I fixed the problem by editing the Autoloader.php. Is there a better way to do this? Should I just rewrite the code for my classes and get rid of PEAR? What is the best solution? I realize that this is probably not a question germane to this list, so thank you for any help. On Sunday, Oct 26, 2

[PHP-DEV] Re: internal hashtables [patch included]

2003-10-26 Thread Cristiano Duarte
Here is the patch without the printf's. Sorry. ;-) Cristiano Duarte begin 666 ze2_internal_symtables.patch M/R!P:' MF5N M9%]A;&QO8RYC"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I;&4Z("]R M97!OF5N9%]I;G1EF5N9%]H87-H+F,*/3T] M/3T]/3T]/3T]/3T

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread George Schlossnagle
Weird bug in simplexml: The following code loops indefinitely. $conf = simplexml_load_file("status.xml"); foreach($conf->services->service as $service) { print $service->params->description."\n"; foreach($service->params as $foo) { print "$foo\n"; } } #status.xml errorl

[PHP-DEV] CONFIDENTIAL ASSISTANCE

2003-10-26 Thread DESMOND KPONO
DR.Desmond Kpono FEDERAL MINISTRY OF PETROLUEM RESOURCES(F.M.P.R) LAGOS NIGERIA. ATTN:MIKA, REQUEST FOR ASSISTANCE- STRICTLY CONFIDENTIAL I am Dr Desmond Kpono, an accountant in the Ministry of petroleum Resources (MPR) and a member of a three-man Tender Board in charge of contract review and

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread Robert Richards
Works fine from CVS. This was most likely fixed with the iterator stuff from Marcus. Rob From: George Schlossnagle > The following code loops indefinitely. > > $conf = simplexml_load_file("status.xml"); > foreach($conf->services->service as $service) { >print $service->params->description."\n

[PHP-DEV] CVS Account Request: ezdevelop

2003-10-26 Thread Wu Wenlong
I wrote php module which is wrapper to LZO compression library. (http://www.oberhumer.com/opensource/lzo/). So, I need a CVS account and karma for pecl/lzo -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: noon

2003-10-26 Thread noon noon
I wrote php module which is wrapper to LZO compression library. (http://www.oberhumer.com/opensource/lzo/). So, I need a CVS account and karma for pecl/lzo -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread Andi Gutmans
The overload extension is obsolete in PHP 5. How the PEAR guys are planning on fixing their code I'm not sure. I suggest you check on the pear mailing list. Andi At 04:15 PM 10/26/2003 -0500, [EMAIL PROTECTED] wrote: I fixed the problem by editing the Autoloader.php. Is there a better way to d

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-26 Thread Marcus Börger
Hello Robert, George, yes, the simplexml/foreach was borked before and can be considered fixed now. marcus Monday, October 27, 2003, 2:03:24 AM, you wrote: > Works fine from CVS. This was most likely fixed with the iterator stuff from > Marcus. > Rob > From: George Schlossnagle >> The followi