Re: [PHP-DEV] RFC: ZE2 and abstract

2002-11-19 Thread Andi Gutmans
Hi, I'm a bit behind my Email but I'll give you a quick answer. I think we can do abstract method's but I wouldn't want to do it the way you did because it adds an additional check in the method calling. It should create a function which will bailout. This might be a bit complicated to do so I'll

Re: [PHP-DEV] 4.2.3 mbstring patch?

2002-11-19 Thread Yasuo Ohgaki
Additional note, since it seems it's misleading. Yasuo Ohgaki wrote: This is one of the reason why we should *enable* mbstring by default i.e. discover sloppy patches to it. The bug was introduced between 4.2.2 and 4.2.3. -- Yasuo Ohgaki -- PHP Development Mailing List

Re: [PHP-DEV] leak()

2002-11-19 Thread Juerg Zgraggen
thanx, regards, jürg "Derick Rethans" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, 19 Nov 2002, Juerg Zgraggen wrote: > > > hi derick > > thanx for answering... > > > > do i understand it right? this function is used for generating a memory le

Re: [PHP-DEV] leak()

2002-11-19 Thread Derick Rethans
On Tue, 19 Nov 2002, Juerg Zgraggen wrote: > hi derick > thanx for answering... > > do i understand it right? this function is used for generating a memory leak > which you want to test? Yes it is. > and whats about this function emalloc() ... i did not find it on php.net. i > suppose it is used

Re: [PHP-DEV] leak()

2002-11-19 Thread Juerg Zgraggen
hi derick thanx for answering... do i understand it right? this function is used for generating a memory leak which you want to test? and whats about this function emalloc() ... i did not find it on php.net. i suppose it is used to alloc memory? regards, jürg zgraggen "Derick Rethans" <[EMAIL P

Re: [PHP-DEV] leak()

2002-11-19 Thread Derick Rethans
On Tue, 19 Nov 2002, Juerg Zgraggen wrote: > hi > > does anybody know how the function leak() works? > can anybody explain? It leaks memory, by only running an emalloc without a free: /* {{{ proto void leak(int num_bytes=3) Cause an intentional memory leak, for testing/debugging purposes */

[PHP-DEV] leak()

2002-11-19 Thread Juerg Zgraggen
hi does anybody know how the function leak() works? can anybody explain? thanx, regards, jürg zgraggen -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] apache_hooks

2002-11-19 Thread Rasmus Lerdorf
Apache_hooks is an Apache 1.3 SAPI module which lets you execute PHP code at every stage of the Apache request handling cycle instead of just the content handling hook that the normal apache sapi module uses. It was a super experimental thing I put together ages ago that George and Lukas have now

Re: [PHP-DEV] apache_hooks

2002-11-19 Thread Jani Taskinen
On Tue, 19 Nov 2002, Stanislav Malyshev wrote: >What is apache_hooks SAPI module? It looks like it produces errors in >my build... And no docs there. What's that? I think those errors should be fixed now. The config.m4 was just borked. --Jani -- PHP Development Mailing List

[PHP-DEV] RFC: ZE2 and abstract

2002-11-19 Thread Marcus Börger
The link below contain a patch that allows abstract functions in ZE2. http://marcus-boerger.de/php/ext/ze2 abstract [static] function '(' parameters ')' ';' it would be possible to make the ';' optional. When an abstract method is called a fatal error is generated and execution stops. Another wa

Re: [PHP-DEV] Re: is_*

2002-11-19 Thread Derick Rethans
On Thu, 14 Nov 2002 [EMAIL PROTECTED] wrote: > What about making FALIASES so it can be found in is_*? Really easier for > newbies. We generally don't want to clutter our function namespaces with aliases UNLESS there is a very good reason for. Derick -- --

Re: [PHP-DEV] Re: is_*

2002-11-19 Thread nicos
What about making FALIASES so it can be found in is_*? Really easier for newbies. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. - Original Message - From: "Hartmut Holzgraefe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

[PHP-DEV] apache_hooks

2002-11-19 Thread Stanislav Malyshev
What is apache_hooks SAPI module? It looks like it produces errors in my build... And no docs there. What's that? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Development Mailing List To unsubscri

Re: [PHP-DEV] Memory persistence with apache question

2002-11-19 Thread Mike Leddy
Unfortunately I can't ask my clients to upgrade to a CVS version - v1.3.2 isn't available yet :-( But more generally wouldn't it be nice if PHP could GUARANTEE that memory resources are recovered on script termination ? Lot's of scripts are written without proper consideration for memory - an

Re: [PHP-DEV] leak() & crash()

2002-11-19 Thread Marcus Börger
As far as i can tell from the source there is ZEND_TEST_EXCEPTIONS to guard crash() but leak() isa allways there. Without debug leak() doesn't report anything but it produces a leak. marcus At 07:36 19.11.2002, Derick Rethans wrote: On Tue, 19 Nov 2002, Marcus Börger wrote: > Shouldn't leak() a

[PHP-DEV] Have fun! 3 Days for free! or for one month! every day 24 hours!

2002-11-19 Thread hotstuff
Show this line! http://www.tgpfriendly2.com/members/switzerland/pussyline/ it\'s an switzerline Have fun! Days for free! http://www.tgpfriendly2.com/members/switzerland/pussyline/ -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ZE2 and classes

2002-11-19 Thread Marcus Börger
I am thinking about about documentation assistance for user functions and for the documentation team. marcus At 10:41 19.11.2002, Wez Furlong wrote: php.net/get_defined_functions and php.net/get_class_methods not good enough for you? ;-) What's the long term aim? --Wez. On Tue, 19 Nov 2002, M

RE: [PHP-DEV] Just a little question (sidenote)

2002-11-19 Thread Derick Rethans
On Tue, 19 Nov 2002, John Coggeshall wrote: > On a sidenote, is it possible in Zend to implmement something such as: > > $string = "Foobar"; > $string = &$string[1]; > > I actually thought that would work, however upon testing it throws an > error... Just curious. No, this would not be possible

RE: [PHP-DEV] Just a little question (sidenote)

2002-11-19 Thread John Coggeshall
On a sidenote, is it possible in Zend to implmement something such as: $string = "Foobar"; $string = &$string[1]; I actually thought that would work, however upon testing it throws an error... Just curious. John -- PHP Development Mailing List To unsubscribe, visit: htt

RE: [PHP-DEV] 4.2.3 mbstring patch?

2002-11-19 Thread Ford, Mike [LSS]
> -Original Message- > From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] > Sent: 19 November 2002 10:19 > > Andrei Zmievski wrote: > > On Thu, 14 Nov 2002, lowbwtom wrote: > > > >>Will there be a patch to fix the mbstring bug in 4.2.3? Any > idea when? > >>(specifically to fix the missing 4

RE: [PHP-DEV] Just a little question

2002-11-19 Thread Ford, Mike [LSS]
> -Original Message- > From: Hacook [mailto:[EMAIL PROTECTED]] > Sent: 19 November 2002 09:48 > > I have a chain charachter that look like this : > *text*text*text*text*textetc > I would like to cut off the FIRST star but not the others > My chain is REALLY long. > I made that script :

Re: [PHP-DEV] 4.2.3 mbstring patch?

2002-11-19 Thread Yasuo Ohgaki
Andrei Zmievski wrote: On Thu, 14 Nov 2002, lowbwtom wrote: Will there be a patch to fix the mbstring bug in 4.2.3? Any idea when? (specifically to fix the missing 4 characters in array posts) Some of us have been totally screwed by this bug - since our isp's have updated to 4.2.3 and left ever

Re: [PHP-DEV] Just a little question

2002-11-19 Thread Andrey Hristov
$ar = array_diff(explode('*',$str), array()); Regards Andrey - Original Message - From: "Hacook" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 11:47 AM Subject: [PHP-DEV] Just a little question > Hi all, > I have a chain charachter that look like this :

[PHP-DEV] Just a little question

2002-11-19 Thread Hacook
Hi all, I have a chain charachter that look like this : *text*text*text*text*textetc I would like to cut off the FIRST star but not the others My chain is REALLY long. I made that script : $maxi=strlen($resultats)-2; $nb = 0; while ($nb<=$maxi) { $results2 = $results2.$results[1+$nb]; $nb = $n

Re: [PHP-DEV] Mailparse extension

2002-11-19 Thread Wez Furlong
Hi Mike, I'm ironing out a few nasty bugs; I'm aiming to have it stable either in time for 4.3 or very shortly afterwards. (It's not bundled with the core any longer - it's now in PECL) --Wez. On Tue, 19 Nov 2002, Mike Hall wrote: > Is this going to be production stable in 4.3.0? > > Cheers, >

[PHP-DEV] Mailparse extension

2002-11-19 Thread Mike Hall
Is this going to be production stable in 4.3.0? Cheers, Mike -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ZE2 and classes

2002-11-19 Thread Wez Furlong
php.net/get_defined_functions and php.net/get_class_methods not good enough for you? ;-) What's the long term aim? --Wez. On Tue, 19 Nov 2002, Marcus [iso-8859-1] Börger wrote: > I have experimented with the code below. > > The main thing is to introduce a function that can return a list of > a

[PHP-DEV] CVS Account Request: hfdown

2002-11-19 Thread Chen HE Ming
We want to setup a forum to exchange softwares -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] php4/win32/install.txt

2002-11-19 Thread Derick Rethans
On Tue, 19 Nov 2002, Philip Olson wrote: > Hello all- > > Here's a small patch that mentions apache2 for windows users. > Related bugs on this issue can be seen here: > > * http://bugs.php.net/bug.php?id=16744 > * http://bugs.php.net/bug.php?id=18129 > > Bug #18129 virtually became a supp