[PHP-DEV] Exception class feature request

2004-01-05 Thread Greg Beaver
Hi, I think my first attempt may have bounced, so I'm resending this. I wonder if it would be a difficult thing to add in a third optional parameter to the constructor for Exception, which would accept an array of error-specific information. I find that many errors I use have information embed

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Andi Gutmans
Marcus, Please revert this patch! You can close the bug as bogus. There is no reason this should work and we're not going to check strings at run-time to see if they look like a static function. If there's a problem with foo::$bar() not working and having worked before then that's a different m

[PHP-DEV] Call for Papers: PHP and Web Standards Conference UK 2004

2004-01-05 Thread Davey
Hi folks, I would like to announce the public Call for Papers for the PHP and Web Standards Conference UK 2004. The PHP and Web Standards (PaWS) Conference will cover using PHP, Web Standards and the Semantic Web separately and in conjunction with each other. We would like to stress that whe

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Alan Richmond
> class foo{function bar(){print "bar\n";} } $a="bar"; foo::$a(); > > does not work since earlier php5 releases, already well known afair (and > really annoyed ;) ). If parameterized method names don't work anymore, will call_user_func_array() be able to return a reference? IIRC, it didn't with

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Marcus Boerger
Hello Andrei, Tuesday, January 6, 2004, 1:06:05 AM, you wrote: > On Tue, 06 Jan 2004, Marcus Boerger wrote: >> > Is 'class::method' syntax supported by call_user_function() as well >> > then? >> >> No but for that you have call_user_method() or the preferred way of using >> the array notation. W

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Andrei Zmievski
On Tue, 06 Jan 2004, Marcus Boerger wrote: > > Is 'class::method' syntax supported by call_user_function() as well > > then? > > No but for that you have call_user_method() or the preferred way of using > the array notation. When i made the patch that allowed static calls from > within sqlite i di

Re: [PHP-DEV] IN ANTICIPATION OF A MUTUAL BUSINESS RELATIONSHIP

2004-01-05 Thread choinet
Someone please remove this clown from the mailing list, the actual email address is [EMAIL PROTECTED] (thanks if already done). --- PETER MBA & ASSOCIATES <[EMAIL PROTECTED]> wrote: > I am PETER MBA, an attorney at law, personal > attorney to this > engineering contractor, a National of your count

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Adam Maccabee Trachtenberg
On Tue, 6 Jan 2004, Pierre-Alain Joye wrote: > class foo{function bar(){print "bar\n";} } $a="bar"; foo::$a(); > > does not work since earlier php5 releases, already well known afair (and > really annoyed ;) ). Yes. I forgot to put that in my bug report. That was how I originally tried to invoke

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Marcus Boerger
Hello Andrei, Tuesday, January 6, 2004, 12:34:45 AM, you wrote: > On Tue, 06 Jan 2004, Marcus Boerger wrote: >> > On Tue, 06 Jan 2004, Marcus Boerger wrote: >> >> I see "\$obj->blah" much different becasue it would require evaluating the >> >> string and access the current symbol table to get $ob

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Pierre-Alain Joye
On Tue, 6 Jan 2004 00:32:56 +0100 Marcus Boerger <[EMAIL PROTECTED]> wrote: > I only changed the what can be done with single variables. And there i > added the ability to call static methods like you can do from sqlite's > sql. Please show me an example that does work in 4 but not in 5 if i > mis

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Andrei Zmievski
On Tue, 06 Jan 2004, Marcus Boerger wrote: > > On Tue, 06 Jan 2004, Marcus Boerger wrote: > >> I see "\$obj->blah" much different becasue it would require evaluating the > >> string and access the current symbol table to get $obj. Further more we'd > >> need to patch $this and so on. On the other h

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Marcus Boerger
Hello Andrei, Tuesday, January 6, 2004, 12:26:38 AM, you wrote: > On Tue, 06 Jan 2004, Marcus Boerger wrote: >> I see "\$obj->blah" much different becasue it would require evaluating the >> string and access the current symbol table to get $obj. Further more we'd >> need to patch $this and so on.

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Andrei Zmievski
On Tue, 06 Jan 2004, Marcus Boerger wrote: > I see "\$obj->blah" much different becasue it would require evaluating the > string and access the current symbol table to get $obj. Further more we'd > need to patch $this and so on. On the other hand $class::$method() should > access the static propert

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Marcus Boerger
Hello Andrei, Tuesday, January 6, 2004, 12:07:35 AM, you wrote: > On Mon, 05 Jan 2004, Marcus Boerger wrote: >> hellyMon Jan 5 17:45:12 2004 EDT >> >> Modified files: >> /ZendEngine2 zend_execute.c >> /ZendEngine2/tests bug26802.phpt >> Log:

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt

2004-01-05 Thread Andrei Zmievski
On Mon, 05 Jan 2004, Marcus Boerger wrote: > helly Mon Jan 5 17:45:12 2004 EDT > > Modified files: > /ZendEngine2 zend_execute.c > /ZendEngine2/testsbug26802.phpt > Log: > Fixed bug #26802 I think a better approach is to follow the $class::$meth

[PHP-DEV] IN ANTICIPATION OF A MUTUAL BUSINESS RELATIONSHIP

2004-01-05 Thread PETER MBA & ASSOCIATES
I am PETER MBA, an attorney at law, personal attorney to this engineering contractor, a National of your country, who used to be a contractor with a Mining Company here in South Africa. Herein shall be referred to as my client. On the 21st of April 2001, my client, his wife and their only daughte

[PHP-DEV] ignore this.. testing

2004-01-05 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
testing -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #26769 [Opn->WFx]: 64 bit pointer

2004-01-05 Thread Sara Golemon
Two things I didn't mention in that bug close: (1) This is already "fixed" in PHP5 which uses "struct php_process_handle" to store the child PID and other values. It is malloced into a pointer and will not throw this type of error. (2) Saying "whoever did that was wrong" is unprofessional, parti

Re: [PHP-DEV] Conditional class definition in PHP 4.3.x

2004-01-05 Thread Andi Gutmans
This is strange. I remember it used to work. We'll look into it. Andi At 03:37 PM 1/5/2004 +0100, Marcus Boerger wrote: Hello internals, version 5 does neither support nested classes nor conditional classes. Not supporting the former is a bit of a loss but the latter leads to ugly software desig

[PHP-DEV] PHP 5 RC1

2004-01-05 Thread Andi Gutmans
Hi Guys, Now most people seem to be back and over their new year's hangovers I'd like to jump start RC1. As discussed, we should start the process of cleaning up for RC1. I think we should try and target for the end of January. I suggest each extension maintainer go through his bugs and check to

[PHP-DEV] Re: Conditional class definition in PHP 4.3.x

2004-01-05 Thread Marcus Boerger
Hello Christian, Monday, January 5, 2004, 3:58:22 PM, you wrote: > Marcus Boerger wrote: >> Further more i think we cannot fix it becasue the script mixes compile >> time and run time. It tries something like selfmodifying code. > I agree that it should be disabled. If someone really, really wan

[PHP-DEV] Re: Conditional class definition in PHP 4.3.x

2004-01-05 Thread Christian Schneider
Marcus Boerger wrote: Further more i think we cannot fix it becasue the script mixes compile time and run time. It tries something like selfmodifying code. I agree that it should be disabled. If someone really, really wants to do it they can still include/eval conditionally. - Chris -- PHP Inter

[PHP-DEV] Conditional class definition in PHP 4.3.x

2004-01-05 Thread Marcus Boerger
Hello internals, version 5 does neither support nested classes nor conditional classes. Not supporting the former is a bit of a loss but the latter leads to ugly software design so no worry here. Anyway i tried the test script with 4.3.5-dev and there conditional classes are present but not worki

[PHP-DEV] CVS Account Request: rogamer

2004-01-05 Thread Ioan Radu
Translanting documentation -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] RE: domxml and validation

2004-01-05 Thread Jens Ansorg
I try to use domxml to work with xhtml documents. I load a file domxml_open_file($filePath) and then use xpath to get content from certain elements out of this document. It works fina as long as there are no special chars in the xhtml file, html entities like   ü etc. searching the web I came acr

[PHP-DEV] CVS Account Request: netis

2004-01-05 Thread hessian
help localizer php document for chinese -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: irchtml

2004-01-05 Thread Kenneth Schwartz
Had a CVS account in the past, username irc-html. I assume it was deleted because of inactivity (was in the hospital for a good part of the year). Would like to continue contributing to php-doc and maintain php.net (bugs/events/doc notes/etc). Thank you. -- PHP Internals - PHP Runtime Develo

[PHP-DEV] php4 run-tests.php always inserting HTTP headers

2004-01-05 Thread Daniel Convissor
Greetings: I'm using run-tests.php under PHP 4.3.4 to test out stuff for PEAR::DB. Unfortunately, all the tests fail due to the HTTP headers getting inserted at the top of each file. run-tests.php and the tests directory are pulled from PHP 4 source a few minutes ago. Here's the commands I us