RE: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread David Zülke
Interesting point of view. I'd consider the majority of people on generals@ to be less "hardcore" and "pro" and more "beginner" like, since they're usually coming there to ask questions. Hardcore PHP users needn't subscribe to generals@ since they don&#

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread David Vance
As a decreasingly "hardcore" php user, any and/or all items on Rasmus' wishlist would be welcome. However, to comment on two items The strpos/in_array argument swap is one of my greatest joys in PHP. It keeps it lively. So I did a quick grep of the manual for "needle/haystack" type functions,

RE: [PHP-DEV] 5.0.5 RC2

2005-08-24 Thread David Zülke
Yeah, http://www.securitytracker.com/alerts/2005/Aug/1014744.html - David > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Bergmann > Sent: Wednesday, August 24, 2005 10:40 AM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] 5.0.

RE: [PHP-DEV] 5.0.5 RC2

2005-08-24 Thread David Zülke
Uh-huh, mister know-it-all... the only problem is that 5.1 isn't out yet. So why don't you just put a sock in it and help pushing 5.1 instead? - David > -Original Message- > From: Jani Taskinen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 24, 2005 12:27 PM >

RE: [PHP-DEV] Property Overloading RFC

2005-08-25 Thread David Zülke
ld be something that adds _real_ complexity to the language. And it introduces a new keyword, too. - David > -Original Message- > From: Lukas Smith [mailto:[EMAIL PROTECTED] > Sent: Friday, August 26, 2005 12:03 AM > To: Derick Rethans > Cc: PHP Developers Mailing Lis

RE: [PHP-DEV] namespaces (Re: [PHP-DEV] 5.1.0RC2)

2005-09-14 Thread David Zülke
> What is current status of a patch? It will be included? I really hope so (for PHP6, that is). Andi said he'd have a look at the patch some time ago. I'd love to know what he and the others "in charge" think about this matter. - David -- PHP Internals - PHP Runtime Deve

RE: [PHP-DEV] Reference handling change and PHP 4.4.0

2005-09-15 Thread David Zülke
it will confuse newbies or because he doesn't like it just because a voice in his head tells him so, I'll _so_ be going ballistic in a way you can't even imagine. - David > -Original Message- > From: Leigh Makewell [mailto:[EMAIL PROTECTED] > Sent: Thursday, Sep

RE: [PHP-DEV] Reference handling change and PHP 4.4.0

2005-09-15 Thread David Zülke
about protecting dumb beginners from making even dumber mistakes, but also about giving those that are serious about using PHP on the enterprise level the tools to do so, properly. The two open source projects I'm involved with, Propel and Mojavi/Agavi, are desperately begging for namespaces s

[PHP-DEV] Session id

2005-09-16 Thread David Vance
Hello, first I'm inquiring about this: http://bugs.php.net/bug.php?id=23681 Currently (in 5.0.3 at least), if someone makes a request with invalid session id characters, Warnings are output: PHP Warning: session_start(): The session id contains illegal characters, valid characters are a-z, A-Z,

[PHP-DEV] Missing symbol upon loading module

2005-09-21 Thread David Olsson
xml.cpp TextXmlDocument.cpp tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp WbXmlDocument.cpp XmlAttribute.cpp XmlDocument.cpp XmlElement.cpp XmlHandle.cpp XmlNode.cpp XmlText.cpp, $ext_shared) fi VERY grateful for any tips on how to proceed. Best regards David Olsson -- PHP Internals -

[PHP-DEV] Re: Missing symbol upon loading module

2005-09-21 Thread David Olsson
Nevermind. The config.m4 was messed up so that the module never linked against libstd++ which, of course, caused som missing symbols. Best regards David Olsson David Olsson wrote: I have a PHP extension written in C++ which I use for parsing and building WbXml documents. I have tested

[PHP-DEV] Extension silently fails

2005-09-22 Thread David Olsson
! David Olsson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] zval "passthrough"?

2005-10-04 Thread David Olsson
guess it is a really simple task once you known how do actually do it... :-) Thankful for all help! David Olsson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: zval "passthrough"?

2005-10-06 Thread David Olsson
the map with new instead of emalloc but should that make any difference (except for larger risks for memory leaks)? Thanks in advance! David Olsson Sara Golemon wrote: I'm writing a PHP extension in C++ which need to provide a function which will take as a parameter a zval *. This z

RE: [PHP-DEV] Type Hints with Null

2005-10-07 Thread David Zülke
Lovely. - David > -Original Message- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 10:30 PM > To: PHP Developers Mailing List > Subject: [PHP-DEV] Type Hints with Null > > Hello, > > attached is a patch (by Markus) that a

Re: [PHP-DEV] Unicode Implementation

2005-10-07 Thread David Robley
rency is called PHP. Do they perhaps have a currency > symbol? > > -Rasmus http://www.fileformat.info/info/unicode/char/20b1/index.htm An uppercase P with two horizontal bars through the top :-) Cheers -- David Robley Shotgun wedding: a case of wife or death. -- PHP Internals -

[PHP-DEV] Re: zval "passthrough"?

2005-10-10 Thread David Olsson
contain zval pointers pointing to invalid memory I understand but I don't get why it gets emptied. Any ideas? Best regards David Olsson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: foreach with null

2005-10-24 Thread David Zülke
t of the time I'm more > comfortable with making sure I provide a real array in all cases and > don't rely on magic. Good point. Smells like a -1 to me. - David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] what happened to that new isset() like language

2005-10-29 Thread David Zülke
You are joking, aren't you? - David > -Original Message- > From: Sebastian [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 30, 2005 12:43 AM > To: Greg Beaver > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] what happened to that new isset() like lang

RE: [PHP-DEV] PHP 5.1.0R5 Released

2005-11-16 Thread David Zülke
> Ilia Alshanetsky > 5.1 Release Master Only a master of evil, Darth. [lightsabers clash] SCNR ;) - David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: Lack of read permission on main script leads to E_WARNING

2005-11-16 Thread David Zülke
I don't have an answer to your main question, but I guess you could just as well use http://www.php.net/manual/en/function.set-error-handler.php couldn't you? - David > -Original Message- > From: Ryan Dingman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 16

RE: [PHP-DEV] Re: Lack of read permission on main script leads to E_WARNING

2005-11-16 Thread David Zülke
Eek. Just ignore me. Please. Didn't read the message properly :) -- David Zülke [EMAIL PROTECTED] Tel: +49 (0)89 21 58 27 53 Fax: +49 (0)89 21 58 27 55 bitXtender GbR Scherbaumstr. 19 81737 München > -Original Message- > From: David Zülke [mailto:[EMAIL PROTECTED] > S

Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-25 Thread David Kingma
row a nice (strict?) notice when people use basic class names as 'Date', 'Db', 'File' etc. This silently makes the namespace reserved for feature core classes that might have that name. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Read-only

2005-11-26 Thread David Zülke
No, please don't. I couldn't reply to your incredibly arrogant messages anymore. After all, someone has to tell you that your "L'Etat, c'est moi" attitude sucks. This is an open-source project, remember? - David Am 26.11.2005 um 14:42 schrieb Jani Taskinen:

Re: [PHP-DEV] Read-only

2005-11-26 Thread David Zülke
Ever heard of Louis XIV.? - David Am 26.11.2005 um 16:39 schrieb Jani Taskinen: Pardon, but I'm not french. And open-source does not mean it's democracy. I for one only count the votes of people who actually do something. If you think that's arrogant, so be it.

Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-26 Thread David Zülke
This is funny... I was just about to write a mail and propose ":::". So... +1 from me ;) - David Am 26.11.2005 um 21:10 schrieb Jessie Hernandez: All, What would you say if I managed to solve this problem, but that the solution entailed changing the namespace separator to

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread David Zülke
::: is best. :> and <: look like my favorite smilies. No way I could ever use them in code ;) - David Am 26.11.2005 um 22:39 schrieb Jessie Hernandez: Hi Mat, Matt Friedman wrote: Hi, I've been following your conversations all day and think I might have a nice idea for th

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread David Zülke
-> is crap because it is used for accessing object methods and properties. Come on, guys. It is not that difficult. Think before you write. - David Am 26.11.2005 um 23:16 schrieb Matthew C. Kavanagh: On Sun, 2005-11-27 at 00:06 +0200, Stanislav Malyshev wrote: I wonder what "

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread David Zülke
The proposal is just stupid. It cannot get any more confusing and inconsistent. Am 26.11.2005 um 23:29 schrieb Matthew C. Kavanagh: Don't let the identifiers collide, then. On Sat, 2005-11-26 at 23:23 +0100, David Zülke wrote: -> is crap because it is used for accessing object met

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread David Zülke
If we rule out :::, it should be <- instead. Foo:>bar:>Baz::getTest()->foo(); vs Foo<-bar<-Baz::getTest()->foo(); The latter looks better to me. I'd still prefer Foo:::bar:::Baz::getTest()->foo(); though. - David Am 27.11.2005 um 01:28 schrieb Eric Coleman:

Re: [PHP-DEV] namespace separator poll, update

2005-11-28 Thread David Zülke
Why would you have to do that. You only have to look at the last :: / ::: sequence. It's not that hard. - David Am 28.11.2005 um 07:27 schrieb Andrei Zmievski: Gah! I have to squint and count the colons in something like System:::Socket:::Pair::open(). Yikes. My vote is for \. -A

Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-28 Thread David Zülke
:: would work? +1 then - David Am 28.11.2005 um 09:27 schrieb Dmitry Stogov: Marcus, You saw my patch that works with "::" and doesn't break any scripts. Dmitry. -Original Message- From: Marcus Boerger [mailto:[EMAIL PROTECTED] Sent: Saturday, November 26, 2005

Re: [PHP-DEV] Namespaces: Technical proposal

2005-11-28 Thread David Zülke
Cool. If that won't work, I'd rather have ::: over \, please ;) - David Am 28.11.2005 um 22:52 schrieb Oliver Grätz: Hi folks! I had some PM discussions about the (presumably premature) death of ":" as the namespace symbol. Most people liked this, some liked ":

Re: [PHP-DEV] $this->this and avoiding circular references

2005-12-07 Thread David Zülke
I don't think PHP-general would be of much help here. After all, his question was whether this behavior is intentional or not, and if it can be relied upon in the future. To me, it's an engine thing. And I'm interested in what the devs can say about this, too. - David A

[PHP-DEV] Bugs in zend.c and zend_compile.c in ZTS mode

2005-12-08 Thread David Oren
list is shared with the startup thread. Again, in this case it _feels_ wrong, but this may also be what was intended. I hope I've managed to make sense, and I'd appreciate any feedback on this. Thanks, David Oren ___ Join

Re: [PHP-DEV] $this->this and avoiding circular references

2005-12-09 Thread David Zülke
the partners in the circle doesn't store the other partner directly, but just a unique identifier usind which you can retrieve it? (that's the way you have to do it in JavaScript if you don't want IE to crash due to memleaks when referencing from DOM elements to JS objects a

Re: [PHP-DEV] Bugs in zend.c and zend_compile.c in ZTS mode

2005-12-11 Thread David Oren
Hi Andi, Thanks for your reply. I will do my best to send a short reproducing script, but I can't guarantee that I'll be able to produce one. David --- On Thu 12/08, Andi Gutmans wrote: From: Andi Gutmans To: [EMAIL PROTECTED], internals@lists.php.net Date: Thu, 08 Dec

Re: [PHP-DEV] PHP 5.3 RM / PHP 5.2.5RC1

2007-09-29 Thread David Coallier
ase, get your pending fixes in. The goal is get 5.2.5 out early/ > mid November. > Thanks for all that work Ilia, and congrats to you Johannes > > Ilia Alshanetsky > 5.2 Release Master > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: h

Re: [PHP-DEV] Class Posing

2007-10-02 Thread David Zülke
would it be possible to overload final classes? - David Am 02.10.2007 um 11:32 schrieb Sebastian Bergmann: From [1]: Objective-C permits a class to wholly replace another class within a program. The replacing class is said to "pose as" the target class. All messages s

Re: [PHP-DEV] PHP taint support: first results

2007-10-02 Thread David Wang
should conserve space, though. The biggest problem with increasing the size of the zval struct seems to be (incredibly) L1 cache misses, as verified with cachegrind. Even increasing the size of the current zval struct by one byte has a measurable impact (my goal was to keep Zend/bench.php fro

[PHP-DEV] Reference cycle collector patch

2007-10-08 Thread David Wang
edge and make the compiler refuse to inline. This has the effect of making the whole Zend engine disproportionately slower. Anyway, please try these out and tell me how it goes! David P.S. This patch has the GC enabled by default. -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Reference cycle collector patch

2007-10-08 Thread David Wang
ls the garbage collection routine manually: gc_collect_cycles(). You would call that function after $t->doNothing(); and you would get the expected result. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] T_IMPORT vs. T_USE

2007-10-18 Thread David Zülke
supporting old code. That certainly sounds nasty. Why not just use "use" then, it's reserved already anyway. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: import/use last call

2007-10-23 Thread David Zülke
yeah. let's just go for "use". David Am 23.10.2007 um 11:08 schrieb Giedrius D: Hi, sorry if I missed something but is there any reason to not use keyword "use"? IMHO allowing keywords in class, method, function, etc. names brings more confusion then val

[PHP-DEV] [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

2007-11-01 Thread David Zülke
s" name, maybe someone has a better suggestion. I'd be happy to supply a full patch, but I wanted to hear if anyone has thoughts on this first. Cheers, David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

2007-11-01 Thread David Zülke
This is probably better: if (options & STREAM_ONLY_GET_HEADERS || (php_stream_context_get_option(context, "http", "ignore_errors", &tmpzval) == SUCCESS && Z_BVAL_PP(tmpzval))) { - David Am 02.11.2007 um 00:06 schrieb David Zülke: Hi folks, I'

Re: [PHP-DEV] [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

2007-11-02 Thread David Coallier
dered successful, since they are. > http://bugs.php.net/bug.php?id=36947 > > http://marc.info/?l=php-internals&m=111384113712112&w=2 > > J > > > -Original Message- > > From: David Zülke [mailto:[EMAIL PROTECTED] > > Sent: 01 Nov

Re: [PHP-DEV] T_IMPORT -> T_USE; [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_language_parser.y zend_language_scanner.l

2007-11-06 Thread David Coallier
evelopment 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

[PHP-DEV] Question about Core inclusion

2007-11-09 Thread David Coallier
Hey there all, over the past few days I was thinkering over something that I consider could be a good addition to the core or actually to the php distribution. PhpSecInfo, the project by Ed Finkler. I was thinking in making that an extension that we could distribute with the distribution so the sam

Re: [PHP-DEV] Question about Core inclusion

2007-11-11 Thread David Coallier
alyshev, Zend Software Architect > [EMAIL PROTECTED] http://www.zend.com/ > (408)253-8829 MSN: [EMAIL PROTECTED] > -- 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] [PATCH] Optional scalar type hinting

2007-11-16 Thread David Coallier
dated version somewhere because I agree > that having this functionality is a good thing. > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- David Coallier, Founder & Software Architect, Agora Production (h

Re: [PHP-DEV] [PATCH] Optional scalar type hinting

2007-11-18 Thread David Coallier
java-ish to be something considered in php6 ? ;-) > > -- > 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] [PATCH] Optional scalar type hinting

2007-11-18 Thread David Coallier
On Nov 18, 2007 7:24 PM, Hannes Magnusson <[EMAIL PROTECTED]> wrote: > On Nov 19, 2007 12:13 AM, David Coallier <[EMAIL PROTECTED]> wrote: > > I was thinking at something along the lines of objects also for instance: > > > > $i = new Integer(33);

Re: [PHP-DEV] Tainted Mode Decision

2007-11-19 Thread David Zülke
ntemporary words: do things 100% properly, but if that is not possible, take a step back and spare the world some half arsed attempt. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Tainted Mode Decision

2007-11-19 Thread David Zülke
re going to use it because "it just works", but no, that shouldn't bother us, at least they have been warned). But some implicit guessing magic that, once again, means people are gonna switch their brains off - please not. - David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Tainted Mode Decision

2007-11-19 Thread David Zülke
nd the answer is "no" ;) That's my point! Because one of the drawbacks is that it won't cut down the number of dumb ignorants who don't care about that stuff. Why would they, "teh PHP is making things hax0r proof now" after all. David -- PHP Internals - PHP

Re: [PHP-DEV] [PATCH] late binding for parent (and other options) - Was Re: [PHP-DEV] late static binding php6

2007-11-26 Thread David Zülke
) returns the name of "static"). So: class A { public static function test() { echo get_called_class() . get_static_class(); } } class B extends A { public static function test() { parent::test(); } } outputs: AAAB - David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] late binding for parent (and other options) - Was Re: [PHP-DEV] late static binding php6

2007-11-26 Thread David Zülke
tain the context (i.e. return the original callee) even with parent:: David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-29 Thread David Coallier
t; We do have peer-review after all. > > Not on CLA'd code we don't. > > - Steph > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ok this is driving me nuts: http://url.ie/730 or h

Re: [PHP-DEV] Unable to compile PHP6 with pgsql

2007-12-01 Thread David Coallier
el Eshom > Christian Oldies Fan > Cincinnati, Ohio > > I'd say start with that :) http://cvs.php.net/viewvc.cgi/php-src/README.UNICODE?revision=1.9&view=markup&pathrev=HEAD, http://cvs.php.net/viewvc.cgi/php-src/README.UNICODE-UPGRADES?revision=1.17&view=markup&

Re: [PHP-DEV] people.php.net

2007-12-03 Thread David Coallier
y > > account since 2005 when I put in the PEAR Validate_ptBR package but did not > > make more contributions since then. I'd like to get back with contributions > > and make my account worth. > > > > Regards, > > Silvano Girardi Jr. > > > > -- &g

Re: [PHP-DEV] Garbage collector patch

2007-12-04 Thread David Zülke
I could be wrong, of course, but my guess is that the ~3% speed decrease a) is not really significant to 95% of the users (I mean _really_ significant; of course, everyone is going to whine about it first) and b) is going to be eliminated over time david Am 04.12.2007 um 03:43 schrieb

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-04 Thread David Coallier
mething solid... maybe...) >From what I have experienced since the namespaces are in, my prefixing is still the way to go to make sure I can run all my nifty optimization scripts around and make a few "free" optimizations. This is a thread that will probably go deep in the sand in a

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-05 Thread David Zülke
+1. Maybe PHP 6, as Sebastian suggested. David Am 05.12.2007 um 19:22 schrieb Jochem Maas: +1 for putting namespaces on the backburner and taking the time to get it 100% right ... Stanislav Malyshev wrote: some people like a "misguided" implementation of namespaces. The

Re: [PHP-DEV] Namespace

2007-12-06 Thread David Zülke
solute must for consistency IMO. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Namespace

2007-12-06 Thread David Zülke
t you get the idea. David Am 06.12.2007 um 18:13 schrieb Stanislav Malyshev: +1. If we allow multiple namespaces per file, then braces are an absolute must for consistency IMO. I do not see any relation between consistency and braces. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROT

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
. Lets say I run some code as you described, and there is a class C(), but it's not been autoloaded yet. The internal class C is used. Then, later, the autoloading of A::B::C() is somehow forced. Now, if the same code runs again, a different class is used. That sounds like nonsense.

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
head since just the autoload functions of currently imported namespaces would have to be called. I don't really think, though, that doing something like use __php__; is a tall order, is it? It would only be necessary for those that consume namespaces in their code via "use&quo

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
l when you're tired of coming up with arguments. You very well know I meant "import". Reply to the suggestion in a respectful manner, or give it a miss. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
just that. Think of other languages with namespace/package concepts. If you want to use java's date/time features, you need to do some kind of import java.util.blah stuff, too. I don't think that PHP's internal stuff needs to be magically available. We can force developers to explic

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
to consider the case of ten autoloaders. Remember, autoloader is filesystem access. Filesystem access on each class mention is a disaster. A simple if(strpos($className 'My::Namespace::') === 0) will fix that just fine. - David -- PHP Internals - PHP Runtime Development Maili

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
function __autoload($className) { if(strpos($className, 'Name::Space::') === 0) { // the real deal } } } ... spl_autoload_register(array('Name::Space::Ship', '__autoload')); No disk access. And with my suggestion to allow limiting autoloaders to certa

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
', '__autoload')); require_once('setup.php'); import Name::Space; $d = new DateTime(); // a PHP DateTime someStuffWeDoNotHaveControlOver(); $d = new DateTime(); // a Name::Space::DateTime now! See what I mean? David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] namespace improvements to be committed very soon - final review

2007-12-11 Thread David Coallier
in PHP's ability to run scripts > deterministically, or some kind of memory leak/crash. > > commit is planned for the next 24 hours or so, but of course any issues > found in review can be fixed. The patches are short, so in the worst > case, reverting is not difficult. >

Re: [PHP-DEV] namespace improvements to be committed very soon - final review

2007-12-11 Thread David Coallier
On Dec 11, 2007 6:42 PM, David Coallier <[EMAIL PROTECTED]> wrote: > On Dec 11, 2007 6:13 PM, Gregory Beaver <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've been furiously working behind the scenes with Stas and Dmitry, and > > have some enhance

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
ed to check if the class name (which is fully qualified, with the entire namespace prefix in the name) starts with "Your::Namespace" to prevent disk access. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
would only be triggered later), and the second DateTime() call does create Name::Space::DateTime because by then, it has been autoloaded and thus can be found in the current namespace. David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
as called, what am I gonna do? require() it of course, what else? My point was that if you have ten autoloaders registered, and the first nine of them cannot autoload the class, those nine disk accesses can be prevented by checking at least the namespace. - David -- PHP Internals - PHP Runt

Re: AW: [PHP-DEV] Namespace resolution

2007-12-11 Thread David Zülke
does. I would also recommend avoiding "import" in your examples sine such operator no longer exists. Ah, yes, of course, my bad. Well, the problem still exists inside a namespace, right? And didn't you say "use" is a NOP just two hours ago? David -- PHP Intern

Re: [PHP-DEV] Internals read-only (was: Re: [PHP-DEV] namespace improvements to be committed very soon - final review)

2007-12-13 Thread David Zülke
s hoping you will be able to sort your anger management issues and eventually get off your high horse. I wish you all the best, - David Am 13.12.2007 um 14:08 schrieb Jani Taskinen: On Thu, 2007-12-13 at 10:00 +0100, Derick Rethans wrote: To to get back to the point of the noise on the li

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread David Zülke
pace with unnecessary stuff. Inline functions are elegant and make code more readable and maintanable, and that should be reason enough to have them. Best regards, David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-12-20 Thread David Zülke
same for those patents you own. Those CLAs do not require that you guarantee that your contribution is not violating any 3rd- party patents. David Am 20.12.2007 um 16:08 schrieb Lukas Kahwe Smith: On 30.11.2007, at 00:09, Steph Fox wrote: Stas - we don't even know what they'

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-12-20 Thread David Zülke
Sure, Marcus, I understand that. I was just explaining to Lukas what this commonly used CLA variant mandates. David P.S: in strict legal terms, even in PHP, you just implicitly grant a perpetual, royalty-free etc license to the PHP project by committing a changeset as in many European

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-12-20 Thread David Zülke
Then read it again. It's pretty clear. David Am 20.12.2007 um 17:26 schrieb Lukas Kahwe Smith: On 20.12.2007, at 16:31, David Zülke wrote: No. This Apache CLA most of today's CLAs used by open source projects (Zend Framework, Cake etc) are derived from require you to grant an

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-12-20 Thread David Zülke
something on which Foo, Inc. holds a patent, is the originator of the patent breach. A CLA does not change that, nor protect from that. The patent holder can, with and without the CLA, still sue both you and the project you made the contribution to. David -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-12-21 Thread David Zülke
Am 20.12.2007 um 23:43 schrieb Lukas Kahwe Smith: On 20.12.2007, at 20:54, David Zülke wrote: Am 20.12.2007 um 19:25 schrieb Lukas Kahwe Smith: So maybe enlighten me what the purpose of the CLA is. The purpose is that a project/company/whoever has written confirmation that the developer

Re: [PHP-DEV] faster & public domain MD5 implementation

2007-12-21 Thread David Zülke
additional conditions of preserving copyright notices. David Am 21.12.2007 um 14:29 schrieb Martin Alterisio: No, public domain isn't recognized by copyright law as a copyright notice. An extra line should be added that says something like "no copyright is claimed", an

Re: [PHP-DEV] PATCH: Implementing closures in PHP (was: anonymous functions in PHP)

2007-12-22 Thread David Zülke
le this is a constructed example, it could easily occur with conditional includes with environments that use opcode caches. Or am I completely wrong? :p - David Am 22.12.2007 um 16:08 schrieb Christian Seiler: Hi, I was following this thread and came upon Jeff's posting on how closures c

Re: [PHP-DEV] __autoload proposal

2007-12-22 Thread David Coallier
x27;B' and $namespace = 'Space3::Space4'; > > I think it is the most flexible solution. It allows to create very useful > and effective mapping mechanisms. > > -- > Wojciech Ma³ota > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Patch ? -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18

Re: [PHP-DEV] PATCH: Implementing closures in PHP

2007-12-23 Thread David Zülke
Cool. I hope I'll have the time to give that a shot over the holidays. Great work, nice patch (from what I, with my rubbish knowledge, can tell :D) David Am 23.12.2007 um 14:40 schrieb Christian Seiler: Hi David! One question about the names you generate for the function tab

Re: [PHP-DEV] spl_autoload vs __autoload

2007-12-28 Thread david . coallier
drew > > -- > 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 Dev

Re: [PHP-DEV] spl_autoload vs __autoload

2007-12-31 Thread David Coallier
gt; 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] type hinting

2008-01-07 Thread David Coallier
t, and people who wish to use it could. I remember Hannes posted a simple implementation for userland on this very same internals list, I think it was clean and simple to use. Performance wise.. hey, if one has a dying wish of using OOP concepts, he's probably willing to loose a bit of performance to maintainability and strictness-ity? and having strong typed applications. $0.02... -- 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] Square brackets shortcut

2008-01-10 Thread David Coallier
On Jan 10, 2008 2:40 PM, Andi Gutmans <[EMAIL PROTECTED]> wrote: > I think next time Sam has three consecutive responses to the same thread > then he loses access to the list for a week :) (same rule for anyone > else). Tweaking the 'Subject' won't count as a different thread :) > > Andi > > > > --

Re: [PHP-DEV] mailinglist rules

2008-01-11 Thread David Coallier
ack on IRC. Typo > fixes and either be fixed directly in CVS or mailed to me off list. > Anything controversial should discussed in this thread or on IRC .. > you know the base line rules now :) > > regards, > Lukas > > -- > PHP Internals - PHP Runtime Developm

Re: [PHP-DEV] Re: voting

2008-01-12 Thread David Coallier
eb/public_html/pepr, and > pearweb/cron/pepr.php. > And if that entrepreneur-person needs tips about the pearweb code or "mentoring", I'll be glad to help. > Thanks, > Greg > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubsc

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-21 Thread David M.
Without repeating too much of what has already been said, phpBB3 runs with its own normalizer (NF[CD]K?) and a full implementation of case folding along with all sorts of other goodies. For us, it would be best if semantics were off. Then we could trivially determine whether or not we should us

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-23 Thread David Zülke
How about allowing b"foo" in 5.3 (so people can start migrating their code early) and making unicode strings default in PHP7? :D David Am 23.01.2008 um 22:30 schrieb Andi Gutmans: Hi Rasmus, Chris, I agree with you which is why I suggested to not have a switch but to make t

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-23 Thread David Zülke
Ah. Right. I remember now. Sorry for the noise ;) David Am 23.01.2008 um 23:14 schrieb Antony Dovgal: On 24.01.2008 01:08, David Zülke wrote: How about allowing b"foo" in 5.3 (so people can start migrating their code early) and making unicode strings default in PHP7? :D Too la

Re: [PHP-DEV] Re: re-proposal of pecl/phar for inclusion in core

2008-01-28 Thread David Coallier
e that phar can be used widely by many many projects and that anyone using java and jar files have the right to be awful jealous about the phar in php. Anyways, thanks greg you have made my life much easier with the strike of commits and optimizations + features you have added to phar. I want it in core

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