Re: [PHP-DEV] Re: PHP6 Feature Testing & Debugging

2007-04-26 Thread David Coallier
On 4/27/07, Michael Wallner <[EMAIL PROTECTED]> wrote: David Coallier wrote: > So here I go, what are the features and tests that YOU would like to > see reported ? I am currently building a list of things that we have > to test and I am wondering which are the parts you co

Re: [PHP-DEV] [patch] Dynamic access of static members/methods, and constants

2007-04-27 Thread David Coallier
ings, numbers, arrays, objects, booleans etc. etc. > > -- > Wbr, > Antony Dovgal > There are actually 3 tests Tijnema -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Softw

Re: [PHP-DEV] define and objects!

2007-04-29 Thread David Coallier
"new car" smell? Check outnew cars at Yahoo! Autos. You could just do class Main { public static function P() { echo 'woo'; } } class Yeah { public function S() { Main::P(); } } -- David Coallier, Founder & Software Architect, Agora Produ

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

2007-05-03 Thread David Coallier
t; You don't need a CVS account for submitting one patch, send it to this > list and someone will submit the patch. > > Tijnema > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Sof

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-05 Thread David Coallier
e css might be a bit off as I just wanted to do it quick, but you see the idea :) David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-05 Thread David Coallier
for the most. Sometimes working on one or the other very specific php version only. And often even without documentation. > -- > Stanislav Malyshev, Zend Products Engineer > [EMAIL PROTECTED] http://www.zend.com/ Best regards, Marcus -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-06 Thread David Coallier
On 5/6/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 5/6/07, David Coallier <[EMAIL PROTECTED]> wrote: > On 5/5/07, Jan Reininghaus <[EMAIL PROTECTED]> wrote: > > I am currently working on my second draw for the page, but I have a > > question. For my first d

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-06 Thread David Coallier
On 5/6/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 5/6/07, M.Sokolewicz <[EMAIL PROTECTED]> wrote: > Tijnema ! wrote: > > On 5/6/07, David Coallier <[EMAIL PROTECTED]> wrote: > >> On 5/6/07, Tijnema ! <[EMAIL PROTECTED]> wrote: > >> &g

[PHP-DEV] [PATCH] Passthrough MD5/SHA1 calculation of uploaded files

2007-05-07 Thread David Santinoli
ield, as in the MAX_FILE_SIZE case.) The result is found in the special variables $_FILES[userfile]["md5"] and $_FILES[userfile]["sha1"]. These variables are only defined upon request of the corresponding digest. The patch was produced against the php6 CVS version of rfc1867.c (1.190).

Re: [PHP-DEV] Re: Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread David Coallier
www.php.net/unsub.php Ok, enough.. we are we talking about a bug or personal differents here ? Please take it to private if you feel like debating what is what and who is who. Unknown person, maybe it was curt, so what ? Life goes on... Anyone has an answer/tests to that bug* so we can stop thi

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-07 Thread David Coallier
nt Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-07 Thread David Coallier
another channel (the third party script) by using channel-discover and download/easy update the third-party scripts using pear upgrade SOMEOTHERCHANNEL.com's package name. -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 --

Re: [PHP-DEV] [PATCH] Passthrough MD5/SHA1 calculation of uploaded files

2007-05-08 Thread David Santinoli
urity feature". Not in the least. Instead, my intent was to make hash computation easier and faster for those (rather common) cases in which signatures are used for duplicate file detection etc.. Cheers, David -- David Santinoli Tieffe Sistemi S.r.l. viale Piceno 2

Re: [PHP-DEV] [PATCH] Passthrough MD5/SHA1 calculation of uploaded files

2007-05-08 Thread David Santinoli
the Session extension does. But this double strategy would complicate the code in rfc1867.c and yield very marginal gain. If there's enough interest in this, I will rework the patch according to Sara's hint. Cheers, David -- David Santinoli Tieffe Sistemi S.r.l.

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-08 Thread David Coallier
On 5/8/07, Richard Quadling <[EMAIL PROTECTED]> wrote: On 06/05/07, Tijnema ! <[EMAIL PROTECTED]> wrote: > On 5/6/07, David Coallier <[EMAIL PROTECTED]> wrote: > > On 5/5/07, Jan Reininghaus <[EMAIL PROTECTED]> wrote: > > > I am currently working on

Re: [PHP-DEV] [RFC] Starting 5.3

2007-05-10 Thread David Coallier
har --enable-pecl-geoip ... -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php David -- PHP Internals - PHP Runtime Development Mailing List To

[PHP-DEV] pecl.php.net down???

2007-05-27 Thread David Hall
pecl seems to be down. I would love you if you fixed it. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Merge GD tests update to 5.2

2007-05-28 Thread David Coallier
tests change in 5.2. It makes my life easier to maintain both libraries and keep them 100% compatible, is there any objection? --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php I'm all for it, good work -- David Coalli

Re: [PHP-DEV] When is PHP 6 release scheduled?

2007-05-28 Thread David Coallier
o find around when PHP6's development started and add the same amount of time since some of the most present contributors have less time and some others do have some, let's say taht with testing, there's about half to be done (according to lcov - even if it says 60%) -- David Coal

Re: [PHP-DEV] bitwise operations and Unicode strings

2007-05-29 Thread David Coallier
doesn't seem very useful to me either). I think this is a bad choice.. might not be useful to you, but might be to some other people Opinions? -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coal

Re: [PHP-DEV] bug tracker merging

2007-05-30 Thread David Coallier
x27;. For maintenance fixes only.' > This pear bugtracker has some features that might be somehow useful, but > I'm not familiar with those, so I leave that to Gregory for now. > (patch-tracker and roadmaps) > > --Jani > > p.s. Yes, I'm going to Norway next w

Re: [PHP-DEV] FW: php fastcgi

2007-06-13 Thread David Coallier
-- I am with set_error_code +1 Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Software Architect, Agora Production (http://

Re: [PHP-DEV] Feature(let) idea

2007-06-19 Thread David Zülke
Yeah, not to mention things like temp dirs, sendmail/smtp settings etc... David Am 19.06.2007 um 08:51 schrieb Stefan Priebsch: Andi, Andi Gutmans schrieb: I got a feature idea from Apache. Apache will automatically translate mod_rewrite.so in LoadModule to mod_rewrite.dll on Windows

Re: [PHP-DEV] SimpleXML emptiness

2007-07-03 Thread David Coallier
(!node->children->content || !node->children->content[0] || !xmlStrcmp(node->children->content, "0" ) { + exists = 0; + } } } } -- PHP Internal

Re: [PHP-DEV] toString() and Object #ID

2007-07-04 Thread David Zülke
. I should have stated more clear what I think object_get_id could actually be. Not quite. It creates a hash of an object, so two objects with the same data yield the same hashes: var_dump(spl_object_hash(new stdClass()), spl_object_hash(new stdClass ())); - David -- PHP Internals - P

Re: [PHP-DEV] php curl extension

2007-07-04 Thread David Coallier
ume you can see on http://virus.org.ua/resume/ >>> ^^ ^^ >> >> >> -- >> Wbr, Antony Dovgal >> > -- > _ >. . Best Regards, Andrey A. Belashkov, > / v \UNIX syst

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-05 Thread David Coallier
you. e-novative GmbH - HR: Amtsgericht München HRB 139407 Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch http://www.e-novative.de -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Softwar

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-05 Thread David Coallier
On 7/5/07, Stefan Priebsch <[EMAIL PROTECTED]> wrote: David Coallier schrieb: > I would probably be in favor of throwing a notice or a warning when > someone modifies a built-in function (or even throw an exception) and > that way as soon as you do such thing you would know right

Re: [PHP-DEV] RIP PHP 4?

2007-07-06 Thread David Coallier
llowed)! regards, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] RIP PHP 4?

2007-07-06 Thread David Coallier
g on. Yup, that's exactly what I said in my e-mail. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-06 Thread David Coallier
ld we have our braces ? :) namespace A::B { class BooYa { const C = 'Foo'; } } --- Then.. import A::B::BooYa; echo BooYa::C; That way we can put more than one namespace within a file or such... just point me if I am replying to an existing question or re-asking :)

Re: [PHP-DEV] RIP PHP 4?

2007-07-08 Thread David Coallier
On 7/8/07, Tomas Kuliavas <[EMAIL PROTECTED]> wrote: Well, then I guess we have no choice but to declare official PHP 4 end-of-life to be on 8:08:08 pm too :) Now we only need to choose a suitable timezone :) >> >> Well, for us using the 24 hr clock I'd say 8:08:08 am (ante me

Re: [PHP-DEV] RIP PHP 4?

2007-07-11 Thread David Coallier
ance/quality up to where things where with php 4 at the time. Fun :)) After 4 years php5 is now as fast as php4 :O regards, Lukas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Softw

[PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-11 Thread David Wang
Hello, everyone. My name is David Wang and I am one of the students participating in Google Summer of Code this year. As you may remember, my project is to implement a garbage collector for circular references in PHP. As the midterm for Summer of Code is coming up, my mentor, Derick Rethans

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-11 Thread David Coallier
-- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Da

Re: [PHP-DEV] RIP PHP 4?

2007-07-11 Thread David Coallier
if you need to make simple func scripts, go ahead, you even have more functions than ever.. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread David Coallier
On 7/12/07, Tijnema <[EMAIL PROTECTED]> wrote: On 7/12/07, David Coallier <[EMAIL PROTECTED]> wrote: > On 7/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > > On 7/11/07, Jeff Griffiths <[EMAIL PROTECTED]> wrote: > > > chris# wrote: > > > > On T

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread David Coallier
ow off a vote and see what the voice of the community ends up in (A tie? :O) -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] Converting accesses to refcount and is_ref to macros

2007-07-13 Thread David Wang
e-mail message. It is available at: http://web.pdx.edu/~way/macropatch.diff.txt Yiduo (David) Wang -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-14 Thread David Wang
! If that happens, a server administrator would just get a new machine, or upgrade the memory on the existing one, or restrict the maximum number of concurrent requests. Therefore, I imagine gc would just delay the date of that memory upgrade, or allow more concurrent clients to be served on one mac

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-15 Thread david . coallier
We'll think little bit more. Anyway thank you for feedback > and idea. > >> > >> >> namespace UTF8; > >> > >> overloaded class Exception { > >> } > >> > >> overloaded function strlen() { > >> } > >>

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-16 Thread David Zülke
As usual, consider Hans' opinion identical to mine ;) Nice job, can't wait for it being out in the wild. David Am 15.07.2007 um 02:37 schrieb Hans Lellelid: As someone that has long clamoured for namespaces in PHP, I have to say that this proposal by Dmitry is exactly what I &am

Re: [PHP-DEV] PHP ICU project announcement

2007-07-16 Thread David Zülke
s new extension will save many kitten's lives. Keep it up! David Am 13.07.2007 um 21:35 schrieb Stanislav Malyshev: Hi all! We have started a project to make it easier to support international markets using PHP. A number of internationalization functions from IBM ICU will be made av

Re: [PHP-DEV] POSIX regex

2007-07-16 Thread David Coallier
On 7/16/07, Jani Taskinen <[EMAIL PROTECTED]> wrote: Thank you Lucas and Antony. Could not agree more.. On Mon, 2007-07-16 at 19:19 +0400, Antony Dovgal wrote: > Thank you Lukas for expressing exactly my thoughts on this. > > On 16.07.2007 18:24, Lukas Kahwe Smith wrote: > > Andi Gutmans wrote:

Re: [PHP-DEV] PHP ICU project announcement

2007-07-16 Thread David Zülke
Interesting question here: what about overloaded methods, especially overloaded ctors in Calendar etc? David Am 16.07.2007 um 17:44 schrieb Stanislav Malyshev: the same) in all languages, js, c# or php. His question being: will it be the same with this project? Maybe not exactly the

[PHP-DEV] Type-hinted return values in PHP5?

2007-07-17 Thread David Duong
ng), handles types. [1] http://oss.backendmedia.com/PhP60 ps - please let me know if posts like these should be posted elsewhere Thanks, David N. Q. Duong -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-18 Thread David Duong
Since there isn't any comments on this, should I have posted this elsewhere? or is it just that no one is interested? David Duong wrote: Hello everyone, I'm emailing to this list to suggest that "support for type-hinted return values"[1] be in added in PHP 5.

Re: [PHP-DEV] libc and random functions

2007-07-19 Thread David Coallier
and, etc. I'm just making sure i'm not breaking any extensions, and then I'll send it on the list :) Should be in about an hour or so. -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] libc and random functions

2007-07-19 Thread David Coallier
p://dev.agoraproduction.com/php/php6/pecl-mt-changes.diff Please note that the mt-changes patches are not only changing ext/standard/* but also the ext/* relying on them. (soap, mcrypt) but also a small change in main/reentrancy.c both in 5_2 and HEAD. Thanks, -- David Coallier, Founder &

Re: [PHP-DEV] libc and random functions

2007-07-19 Thread David Coallier
On 7/19/07, David Coallier <[EMAIL PROTECTED]> wrote: On 7/19/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 19.07.2007 17:41, Keryx Web wrote: > > Ilia Alshanetsky wrote: > >> Do you have a patch? > > > > Also @Antony Dovgal in the "let block

Re: [PHP-DEV] libc and random functions

2007-07-19 Thread David Coallier
(or change it) in a point release, it is a full breakage (BC and binary). --Pierre I agree, this was mainly for HEAD, but just wanted to give an opportunity to people to test it. HEAD it is :) -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com

Re: [PHP-DEV] POSIX regex

2007-07-19 Thread David Coallier
.. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsub

Re: [PHP-DEV] POSIX regex

2007-07-19 Thread David Coallier
e know and I'll stop trying to rise a voice for the community :P And no, I do not have a patch ;-) Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- David Coallier, Founder & Software Architect, Agora Pr

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-23 Thread David Coallier
e to read through all the patch to see if it does) Should be ok for a first draft and this is not some sort of attack, I am really trying to compile a list of features absent and present to see what *types* of namespaces we have and how to correctly inform people on how to use them. -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread David Zülke
sure, that must be the main point about namespaces - I can use "::" instead of "_" as a delimiter! Yay! Come on, you can't be serious. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-23 Thread David Zülke
ng to explain why they need namespaces and have seen that their opinion doesn't matter for so long that they're simply glad that there is now _any_ namespace implementation at all, no matter how good or not it may be. David -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-23 Thread David Coallier
On 7/23/07, David Zülke <[EMAIL PROTECTED]> wrote: Am 23.07.2007 um 16:44 schrieb Dmitry Stogov: > It is not the first namespace proposal. > I made three different concept and saw two other concepts in the > past . > This one seems as most awaitble by most PHP users. This

Re: [PHP-DEV] "No Feedback" in bug tracker

2007-07-23 Thread David Zülke
+1 David Am 23.07.2007 um 17:43 schrieb Tim Starling: A suggestion: allow anyone to reopen bugs marked "no feedback". Also allow anyone to switch a bug from "feedback" to "open". The PHP bug tracker could go a long way towards liberalisation. Community in

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread David Coallier
-- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Bérard-Nault Sent: Monday, July 23, 2007 10:03 AM To: Derick Rethans Cc: David Zülke; PHP Internals Subject: Re: [PHP-DEV] Question about Namespace patch Despite all the comments made on this list by countless people, it's

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread David Zülke
That's exactly how import w/ aliasing is supposed to be used, you got that perfectly right. David Am 23.07.2007 um 20:40 schrieb Markus Fischer: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andrew, Andrew Minerd wrote: Well, first of all, not exactly. I think you meant: not i

Re: [PHP-DEV] multi-threaded run-tests.php

2007-07-24 Thread David Wang
Please. This would be a big help to me, since I'm running these tests many, many times a day as I develop the reference cycle collector. On 7/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, July 24, 2007 5:24 pm, Nuno Lopes wrote: > Recently we have moved http://gcov.php.net to a new

Re: [PHP-DEV] Re: multi-threaded run-tests.php

2007-07-25 Thread David Coallier
egards, Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php5 as universal binary (Mac OS X)

2007-07-27 Thread David Wang
Isn't an universal binary just two binaries packaged together? One has to be compiled for Intel and the other for PowerPC. How exactly is this currently being done in a single run on Christian's machine? Is there a special build tool that runs the compilation twice or a special compiler that genera

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-27 Thread David Duong
It would give you similar benefits to input type hinting, but instead of "Functions are now able to force parameters to be objects...", it would also read "Calling functions are now able to expect return types to be objects...". If a function was defined to return object Z, but instead returned

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-30 Thread David Duong
Stanislav Malyshev wrote: It would give you similar benefits to input type hinting, but instead of "Functions are now able to force parameters to be objects...", it would also read "Calling functions are now able to expect return types to be objects...". If a function was defined to return obje

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-30 Thread David Duong
Stanislav Malyshev wrote: I think the only serious advantage I could see would be to allow context-assistance IDEs more data, so they could provide method-completion. PHPDoc does that with @return tag. True but there will be times when the documentation is wrong[1] or when the function retur

Re: [PHP-DEV] toString() and Object #ID

2007-07-31 Thread David Wang
that compares the spl_object_hash of the two operands, you should have your old behavior back. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Namespaces patch backport

2007-07-31 Thread David Duong
"internals-newb" answer. AFAIK namespaces was a feature originally planned for PHP 5. I believe the most important long term advantage is simply that projects using PHP 5 do not have to wait approx. 10 years (pure guestimation) until PHP 6 is widely supported to be able to begin to use namespac

Re: [PHP-DEV] Ext/OpenSSL patch

2007-08-01 Thread David Coallier
nd DH > > keys. For example you can create DH key and then access its internal values > > using the following code: > > ... > > I would like to see this committed. I really could use this for some XML > Sec functionality. > > Rob > > -- > PHP Internals - PHP Ru

Re: [PHP-DEV] Fix inconsistencies in OO calls

2007-08-02 Thread David Zülke
ACK. David Am 02.08.2007 um 11:36 schrieb Sebastian Bergmann: Derick Rethans schrieb: I think that'd be a bad idea. I don't see a problem with this patch at all, and why should people use reflection here? As you're always so much for BC, I find it strange that you&#

Re: [PHP-DEV] Renaming namespaces to packages

2007-08-10 Thread David Coallier
#x27;t hinder the integration of this feature into PHP. > > "package" is also shorter than "namespace". Just commit the stuff, it's > pointless to argue about it. Majority rules. > > --Jani > > -- > PHP Internals - PHP Runtime Development Ma

Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]

2007-08-14 Thread David Coallier
--File: csNamespace.cs (The namespace code extended example))-- namespace NameOne { namespace HierarchicalNamespace { namespace SomeOtherName { public class SayHi { public string sayHi() { System.Console.WriteLine('H

Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]

2007-08-14 Thread David Coallier
On 8/14/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > > OO. And anyway, are we struggling to find excuses here? Can we in no way > > ever at least try to be consistent in anything we do? That JS argument is an > > How "consistent" had acquired a meaning of "doing it my way"? There's > nothing

Re: [PHP-DEV] reserved word alert

2007-08-16 Thread David Coallier
future php releases. > > > regards, > > Lukas > > > > > Best regards, > Marcus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- David Coallier, Founder & Software Architect,

Re: [PHP-DEV] Renaming namespaces to packages

2007-08-17 Thread David Coallier
> > http://schlueters.de/~johannes/php/zend_package_tests.tar.bz2 > > > > johannes > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Renaming namespaces to packages

2007-08-17 Thread David Coallier
nd > >>> the tarball with the changed tests at > >>> http://schlueters.de/~johannes/php/zend_package_tests.tar.bz2 > >>> > >>> johannes > >>> > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing Li

[PHP-DEV] Namespace question

2007-08-17 Thread David Coallier
ars ago. Thanks for your replies. -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Namespace question

2007-08-17 Thread David Coallier
> -- > Stanislav Malyshev, Zend Software Architect > [EMAIL PROTECTED] http://www.zend.com/ > (408)253-8829 MSN: [EMAIL PROTECTED] > > Awesome thanks, -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP.net endorsed installer method

2007-08-17 Thread David Coallier
erstand it better, > but the frog dies in the > process." > > -Mark Twain > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-DEV] Namespace question

2007-08-17 Thread David Coallier
, will return an error. // Change to that: import What as A; $obj = new A::Tester; // This will echo yeah...No as it should. So my question is: Anyone thinking in doing const for namespaces thus calling something like What::NAME; // echo 'booo' ? > On 8/17/07, David Coallier <

Re: [PHP-DEV] [PATCH] New parameter for in_array() & array_search()

2007-08-18 Thread David Zülke
a IMO. Especially in case of in_array(). David Am 15.08.2007 um 16:59 schrieb Hannes Magnusson: Hi all Attached* is a patch introducing a new parameter to in_array() and array_search() which will set the internal pointer to the first location of $needle in the $haystack (granted that $needle e

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-08-20 Thread David Coallier
On 7/6/07, Stefan Priebsch <[EMAIL PROTECTED]> wrote: > IMHO backporting a lot of features to PHP4 is a major reasons for the > slow PHP5 adoption. Basically, it seems that everybody who is not using > OOP feels that PHP4 is fine for them. > > I'd say committing to backporting stuff from PHP6 to PH

Re: [PHP-DEV] [PATCH] allowing multiple namespaces per file plus namespaces with brackets

2007-08-20 Thread david . coallier
to the end of the file. > > The attached patch is against php6, but as you can see, a blind monkey > could port it to PHP_5_3 when the time comes. All of the introduced > changes are now tested, including the error message for nested namespace > declarations, and the error message

Re: [PHP-DEV] [PATCH] allowing multiple namespaces per file plusnamespaces with brackets

2007-08-21 Thread David Zülke
I think there should be just one way to designate a namespace, not two different ones with different behaviors. David Am 21.08.2007 um 21:09 schrieb Gregory Beaver: Stanislav Malyshev wrote: What happens if you mix them? That's not the fun yet. This is: If by fun you mean &

Re: [PHP-DEV] [PATCH] allowing multiple namespaces per file plusnamespaces with brackets

2007-08-21 Thread David Zülke
mbiguities like this; the curly braces syntax would be enough. David Am 21.08.2007 um 22:05 schrieb Gregory Beaver: David Zülke wrote: I think there should be just one way to designate a namespace, not two different ones with different behaviors. Hi David, First, the behaviors are not

Re: [PHP-DEV] Constants in namesapces

2007-08-22 Thread David Zülke
yes. keep it consistent. if that means sacrificing features, so be it. David Am 22.08.2007 um 15:20 schrieb Antony Dovgal: On 22.08.2007 17:03, Dmitry Stogov wrote: You can have "const" outside namespaces but they are not real compile-time constants. They are set during execut

Re: [PHP-DEV] Namespace question

2007-08-22 Thread David Coallier
On 8/22/07, Dmitry Stogov <[EMAIL PROTECTED]> wrote: > We are working on this feature and additional patch will be posted for > review on this week. > > Thanks. Dmitry. > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTE

Re: [PHP-DEV] Namespaces and __autoload()

2007-08-28 Thread David Zülke
Why don't we add an optional second argument to __autoload() that receives the fully qualified namespace name of the class that should be autoloaded? That doesn't break BC and it prevents conflicts. David Am 27.08.2007 um 19:49 schrieb Stanislav Malyshev: In this case PHP f

Re: [PHP-DEV] buildconf and the generated configure script for PHP6 is faulty.

2007-09-03 Thread David Coallier
>>echo "$as_me:$LINENO: result: cross compile" >&5 > >> echo "${ECHO_T}cross compile" >&6 > >> > >> > >> > >> > >> The faulty configure script can be obtained

[PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-04 Thread David Wang
Hi, This is another shot at a patch to manage refcount and is_ref of zvals with macros. The macros are implemented with inline functions that are forcibly inlined (so they will behave the same as macros). This will make it possible to put multiple statements in each macro later on for garbage coll

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-04 Thread David Wang
> Shouldn't that be > > +#define always_inline inline > > ? Yes, sorry, I just fixed that a moment ago (and the file the link is pointing to should be correct). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-04 Thread David Wang
> About the patch, the zval_*_p() functions don't really need to exist.. > they can be macros as well. As I said, if those were macros, it would be very difficult to squeeze more than one statement into them. Consider the usage in Zend/zend_execute.c: if (!Z_DELREF_P(z)) {

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-04 Thread David Wang
On 9/4/07, Nuno Lopes <[EMAIL PROTECTED]> wrote: > It can also have some use if we > decide to investigate the usage of an off-the-shelf (conservative) > garbage collector such as Boehm's (maybe in next year's SoC). > As an aside, I was also thinking about this throughout the course of the project

Re: Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-04 Thread David Wang
> currently you only have one statement in each of those functions.. > anyway it's not critical to have static inline functions. I will need to have them (multiple statements) for the cycle collection code, and I don't think there are many situations involving changing the way reference counting i

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-04 Thread David Wang
to macroize. I removed that for this patch, but that's a very good point. If there are no objections, that or another prefix or suffix can be put back into the patch. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] buildconf and the generated configure script for PHP6 is faulty [the fix].

2007-09-05 Thread David Coallier
PHP effort, you would be helping to advance things considerably > faster by not wasting the valuable time of the reader who has to wade > through this type of crap. > > Now, if you have anything further to add, please refrain from > cluttering the list and do so privately. > >

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-05 Thread David Wang
ack into the patch. I've posted another version of the patch with the __gc suffix at http://zoo.cs.yale.edu/~yw226/macros2.diff.txt The GC patch is also ready. As soon as the macros patch has been finalized and committed, I will send that out to the mailing list. David -- PHP Internals - PH

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-06 Thread David Wang
http://zoo.cs.yale.edu/~yw226/macros.diff.txt David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-07 Thread David Wang
of the patch, for everyone's consideration: With ZEND_GC: http://zoo.cs.yale.edu/~yw226/macros.diff.txt Without: http://zoo.cs.yale.edu/~yw226/macros2.diff.txt David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] own php function

2007-09-07 Thread David Coallier
d probably direct you towards [EMAIL PROTECTED] The reason I am mentioning to make your own extension is to save you the hassle of migrating from a version to another. If you make your extension you can easily package it, and when you recompile/re-install php, you just pecl install MyOwnExte

<    2   3   4   5   6   7   8   9   10   11   >