Re: [PHP-DEV] final keyword

2008-02-12 Thread Sebastian Bergmann
Sebastian Schneider schrieb: public static final $bar = "foobar's world"; We have the const keyword for that. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internal

[PHP-DEV] Re: cvs: php-src(PHP_5_2) /ext/dom xpath.c

2008-01-29 Thread Sebastian Bergmann
Antony Dovgal schrieb: On 29.01.2008 18:55, Sebastian Bergmann wrote: sebastian Tue Jan 29 15:55:30 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/dom xpath.c Log: MFH: Add Reflection API metadata for DOMXPath. This broke ext/dom/tests

Re: [PHP-DEV] U

2008-01-05 Thread Sebastian Bergmann
or int) and 'resource'. If we were to go that route, I would want to have 'object', too. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Deve

Re: [PHP-DEV] type hinting

2008-01-05 Thread Sebastian Bergmann
Magnus Määttä wrote: >> +1 on scalar-type-hinting (not to be confused with type-casting) > I'm also +1 for optional scalar-type hinting FWIW. Same here. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277

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

2007-12-20 Thread Sebastian Bergmann
quot;discussion" with a CVS commit. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2007-12-17 Thread Sebastian Bergmann
o actually make it into the code base. The > ad-hoc way of committing new features just doesn't work. Amen to that. A long time ago we wanted to use text files in an RFC directory in CVS to discuss new language features. Maybe we should resurrect this idea? -- Sebastian Bergmann

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

2007-12-17 Thread Sebastian Bergmann
Derick Rethans wrote: > What is the plan? Assuming there is a plan. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

Re: [PHP-DEV] Type hinting

2007-12-11 Thread Sebastian Bergmann
Sam Barrow schrieb: > A few weeks ago I wrote a message on this list Please do not start a new discussion by replying to a posting that belongs to a previous thread. This, too, has been written on the list. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG

Re: [PHP-DEV] Garbage collector patch

2007-12-06 Thread Sebastian Bergmann
Antony Dovgal schrieb: > To be honest, I can't see any crashes using standard PHP test suite. Does the standard PHP test suite contain PHP code with reference cycles? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 9

Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace

2007-12-05 Thread Sebastian Bergmann
looks up mysqli_query() as query() in the MySQLi extension's namespace for PHP 6.0, drop that BC layer in PHP 6.1 Not saying that I would want this (I don't think I do), just mentioning the option. -- Sebastian Bergmann http://sebastian-bergma

Re: [PHP-DEV] Reference cycle collector patch

2007-11-25 Thread Sebastian Bergmann
Johannes Schlüter schrieb: > Are there any results of these benchmarks, yet? Why not just commit the new garbage collector to PHP_5_3 now and disable it by default? This would make testing/benchmarking it so much easier for everyone interested. -- Sebastian Bergm

Re: [PHP-DEV] $_SERVER['REQUEST_TIME']

2007-11-20 Thread Sebastian Bergmann
Sam Barrow schrieb: > [...] Seriously, how hard can it be to start a new thread by not replying to a message of an existing thread? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 --

Re: [PHP-DEV] Multiple class inheritance

2007-11-19 Thread Sebastian Bergmann
Sam Barrow schrieb: > What is the general opinion on multiple class inheritance. It is a concept that only works correctly in CLOS? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 --

Re: [PHP-DEV] Class Posing

2007-10-03 Thread Sebastian Bergmann
Sebastian Bergmann schrieb: >> would it be possible to overload final classes? > Of course. We are not changing the class declaration (compile-time) but > intercept the object creation (run-time). I may have been unclear here: a class may pose for a class that contains final methods

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
{Class|Object}($object) does not care how $object has been created. __autoload() will be trigger just as before by the new operators inside the new-handler function (where they are, of course, not overloaded). -- Sebastian Bergmann http://sebastian-bergmann.de/ Gnu

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
David Zülke schrieb: > would it be possible to overload final classes? Of course. We are not changing the class declaration (compile-time) but intercept the object creation (run-time). -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 2

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
mentioned ensures that "new Foo" can only produce objects that are in an is_a relationship with Foo. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtim

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
for example) and then you cannot use mock objects without class posing. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
Stanislav Malyshev schrieb: > As far as I know, Java has unit tests but doesn't allow replacing > classes. How does it work in Java? Stubs / Mock Objects !== Unit Tests. Class Posing allows for better stubs / mock objects which in turn are tools to write better unit tests. --

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
w Bar" and have it create an object of my stub implementation of Bar instead. I hope this makes my motivation for the feature more clear. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D6

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
Richard Quadling schrieb: > You're code looks like a factory. Is that your intention? Maybe > __factory would be a more obvious name? The application of this mechanism is not limited to implementing factories and singletons. -- Sebastian Bergmann http:

Re: [PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
rformance implications with that. Johannes? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Class Posing

2007-10-02 Thread Sebastian Bergmann
o the core. Opinions? Needless to say that I would love to see this in PHP 5.3 ;-) -- [1] http://en.wikipedia.org/wiki/Objective_C#Posing -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP

[PHP-DEV] T_IMPORT vs. T_USE

2007-09-30 Thread Sebastian Bergmann
de as "import" is now a reserved word. We should, IMHO, drop T_IMPORT and change the namespace implementation to use T_USE. Thoughts? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85

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

2007-09-29 Thread Sebastian Bergmann
David Coallier schrieb: > Thanks for all that work Ilia, and congrats to you Johannes Hear, hear! -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Developm

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

2007-09-24 Thread Sebastian Bergmann
Yiduo (David) Wang schrieb: > Implementing and maintaining the reference cycle garbage collector > (GSoC '07) for the Zend engine. Did somebody take care of this yet? If not, please do ;-) -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key:

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-11 Thread Sebastian Bergmann
optimization patch 0 > 16) Introduce new php.ini files parser/scanner + CGI/FastCGI? "htaccess" > style ini file support 0 > 17) Merge __callStatic patch from PHP 6 1 > 18) Introduce concept of "strict classes" that do not permit dynamic > property creati

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Sebastian Bergmann
cros are committed - they make sense in any case. Cheers, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubs

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Sebastian Bergmann
Andi Gutmans schrieb: > This is based on our experience with making changes in the memory > manager (significantly smaller changes than this one) and how long it > takes to stabilize them. Then we should make sure that the garbage collector goes into HEAD ASAP, should we not? --

Re: [PHP-DEV] What should be in 5.3?

2007-08-27 Thread Sebastian Bergmann
s, and some other pending changes as PHP 6 and make PHP 7 the "Unicode Release". :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 signature.asc Description: OpenPGP digital signature

Re: [PHP-DEV] What should be in 5.3?

2007-08-27 Thread Sebastian Bergmann
Lukas Kahwe Smith schrieb: > [...] - New Garbage Collector (GSoC) - Late Static Binding -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mail

[PHP-DEV] [PATCH] Add optional parameter $provide_object to debug_backtrace()

2007-08-20 Thread Sebastian Bergmann
ot;|b", &provide_object) == FAILURE) { + return; } - zend_fetch_debug_backtrace(return_value, 1, 1 TSRMLS_CC); + zend_fetch_debug_backtrace(return_value, 1, provide_object TSRMLS_CC); } /* }}} */ -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuP

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

2007-08-16 Thread Sebastian Bergmann
That's all :) -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2007-08-15 Thread Sebastian Bergmann
Stanislav Malyshev schrieb: > I wonder why everybody here talks about one and only one language - > Java. Java just happens to be the programming language that I associate the most with the programming language feature in question. -- Sebastian Bergmann

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

2007-08-15 Thread Sebastian Bergmann
Stanislav Malyshev schrieb: > Could you give definition of what is a package, so we could see if it > resembles more of a package or less? http://java.sun.com/docs/books/jls/second_edition/html/packages.doc.html -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] Unicode-safe extensions

2007-08-03 Thread Sebastian Bergmann
Jordan Wambaugh schrieb: > Is there a document published anywhere that describes how to make > extensions unicode safe for php6? http://cvs.php.net/viewvc.cgi/php-src/README.UNICODE?view=markup http://cvs.php.net/viewvc.cgi/php-src/README.UNICODE-UPGRADES?view=markup -- Sebastian Be

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

2007-08-02 Thread Sebastian Bergmann
and instead want people to force to use the > slow Reflection API which is meant for introspection. I agree. The Reflection API is the "right tool for the job" when you are meta-programming (developing tools such as PHPUnit, for instance) but not when you are programming. -- Seb

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

2007-07-27 Thread Sebastian Bergmann
nd type: > > phpt . Yeah, letting make take care of this sounds like the right thing to do. It should also solve Ulf's problem of not running the tests for the various MySQL extensions at the same time somehow. -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] Question on namespaces

2007-07-25 Thread Sebastian Bergmann
Marcus Boerger wrote: > Can we change the keyword from 'namespace' to 'package'? I second that (e)motion. The current implementation of namespaces in PHP is so close to Java's packages that naming it packages makes (more) sense to me. -- Sebastian Bergmann

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

2007-07-25 Thread Sebastian Bergmann
Nuno Lopes wrote: > Any comments? It's on the TODO for the run-tests.php rewrite. I think I/we should start a wiki for this somewhere. Lukas? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B

Re: [PHP-DEV] __call_static() Magic Method

2007-07-13 Thread Sebastian Bergmann
Jani Taskinen schrieb: > As long as you MFH, I don't mind. Yeah, I would love to have this in PHP_5_2, too. :) -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP

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

2007-07-12 Thread Sebastian Bergmann
d. These changes should be done in any case and it minimizes your patch and makes it more readable. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-07 Thread Sebastian Bergmann
quot;namespace" construct [2]. -- [1] http://java.sun.com/docs/books/jls/third_edition/html/packages.html [2] http://www.jaggersoft.com/csharp_standard/8.12.htm -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-07 Thread Sebastian Bergmann
IMHO, added to the Reflection API, yes. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-07 Thread Sebastian Bergmann
Stefan Priebsch schrieb: > I am working on gluing together all files of a project into one large > source file on deployment Why not "expand" namespaces during these step? The resulting file would then have either only one namespace or no namespace at all. -- Se

Re: [PHP-DEV] RIP PHP 4?

2007-07-06 Thread Sebastian Bergmann
Derick Rethans schrieb: > Your votes please (only -1 and +1 are allowed)! +1 -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List

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

2007-07-02 Thread Sebastian Bergmann
s incremented for each object that is created and associate that number with the object. Wouldn't that solve the problem (if there is one)? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D6

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

2007-07-01 Thread Sebastian Bergmann
Pavel Shevaev schrieb: > What I actually need, not the object hash but simply its unique id. The problem is that there is no such unique id in the current engine. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0

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

2007-07-01 Thread Sebastian Bergmann
core... SPL is "in the core" AFAIAC. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Benchmark Suite

2007-06-05 Thread Sebastian Bergmann
the ideas that I had for the rewrite). - Do the rewrite. Opinions? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 6 Preview

2007-05-19 Thread Sebastian Bergmann
Stut wrote: > This thread has nothing to do with me, (except with regards to my > interest in PHP6) but in my experience when a task is assigned to a > group not an individual there is no accountability and no incentive to > either get it done or pass it to someone who can. IMHO it's better to > le

Re: [PHP-DEV] PHP 6 Preview

2007-05-19 Thread Sebastian Bergmann
Wez Furlong wrote: > I'm going to say it one last time: there are other maintainers. > I'm temporarily too busy, but we have other maintainers. > Please assign bugs to the other maintainers. Maybe per-extension aliases (such as [EMAIL PROTECTED]) could help here? This way it would be possible to

[PHP-DEV] Re: cvs: php-src(PHP_5_2) / NEWS /main php_ini.c

2007-05-11 Thread Sebastian Bergmann
k that this commit is responsible for http://bugs.php.net/bug.php?id=41361. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi

Re: [PHP-DEV] Tree sort in C

2007-05-09 Thread Sebastian Bergmann
he former) would be usefull, IMHO. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] SAPIs in PECL [was: Re: cvs: php-src /sapi/milter php_milter.c]

2007-03-28 Thread Sebastian Bergmann
Antony Dovgal wrote: > we should have dropped this SAPI years ago Can we not move SAPIs to PECL? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Developm

Re: [PHP-DEV] GSoC, Mutation Testing, Ineligible

2007-03-27 Thread Sebastian Bergmann
ards, > Thomas Koch Best regards, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Order of parent and child classes in EG(class_table)

2007-03-26 Thread Sebastian Bergmann
Hi, I am wondering whether a child class is always stored after its parent class in EG(class_table) because I would like to rely on this behaviour for the result of get_declared_classes(). Thanks, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG

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

2007-03-19 Thread Sebastian Bergmann
Wez Furlong wrote: > So, the question is, do we want this in PHP? Yes, please. (It might even make my userland implementation of of CLOS- style generic functions easier.) -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 9

Re: [PHP-DEV] GSoC

2007-03-15 Thread Sebastian Bergmann
ite of bench.php. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] GSoC

2007-03-15 Thread Sebastian Bergmann
A related ones). I will add it to ideas.php. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: cvs: php-src /ext/bcmath package.xml /ext/calendar package.xml /ext/com_dotnet package.xml /ext/ctype package.xml /ext/curl package.xml /ext/dbase package.xml /ext/exif package.xm

2007-03-14 Thread Sebastian Bergmann
t/zlib package.xml > Log: > Typo Are these package.xml files actually used? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Native Singleton Implementation

2007-03-11 Thread Sebastian Bergmann
ery much against putting reference implementations of design patterns into a programming language. If you want this, you have not understood the intention of design patterns (or the difference (in degrees of freedom) when compared to algorithms). -- Sebastian Bergmann

Re: [PHP-DEV] Benchmark Suite

2007-02-27 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > I uploaded a snapshot of what I have now (I added fallbacks for missing > functionality in PHP 4.4 and PHP 5.0 and the rest of the benchmarks) to > http://static.phpunit.de/benchmark.tbz2. I updated the snapshot. This is what the output looks like now:

Re: [PHP-DEV] Benchmark Suite

2007-02-27 Thread Sebastian Bergmann
*.phpt? So that we could split up in > sections like name, actual bench, clean-up, etc? The question is: is a separate system such as mine needed or could we extend run-tests.php? If we choose to extend run-tests.php, suddenly every *.phpt test would be a potential benchmark. -- Sebastia

Re: [PHP-DEV] Benchmark Suite

2007-02-27 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > Have a look at I uploaded a snapshot of what I have now (I added fallbacks for missing functionality in PHP 4.4 and PHP 5.0 and the rest of the benchmarks) to http://static.phpunit.de/benchmark.tbz2. -- Sebastian Bergmann http://sebast

Re: [PHP-DEV] Benchmark Suite

2007-02-27 Thread Sebastian Bergmann
Antony Dovgal wrote: > I like it. Please continue. Okay, great. Now: where should I put it? I think the current approach of having bench.php duplicated in each branch of the Zend Engine is sub- optimal. Maybe we could create a new top-level CVS module for this? -- Sebastian Bergm

[PHP-DEV] Benchmark Suite

2007-02-27 Thread Sebastian Bergmann
simpleudcall4.394062 117176 Note that I have not yet ported all benchmarks from bench.php. At this point I would like to know whether or not people are interested in this. No point in working on this if nobody cares, right? :-) Best, Sebastian -- Sebastian Bergmann

Re: [PHP-DEV] [GSoC07] Support for Mutation Testing in PHPUnit

2007-02-25 Thread Sebastian Bergmann
l remove the idea in question if you want. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [GSoC07] Support for Mutation Testing in PHPUnit

2007-02-25 Thread Sebastian Bergmann
Nuno Lopes wrote: > I would say you should go ahead and add the idea to our SoC page. Done, thanks. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runt

[PHP-DEV] [GSoC07] Support for Mutation Testing in PHPUnit

2007-02-25 Thread Sebastian Bergmann
ella of the PHP project. An argument in favour of this might be the fact that the implementation could use the parse_tree extension that was implemented during last year's GSoC. Best regards, Sebastian -- [1] http://www.phpunit.de/wiki/Ideas -- Sebastian Bergmann

Re: [PHP-DEV] Object[] type hint

2007-02-05 Thread Sebastian Bergmann
ould manually do the same in userspace anyways (see the example in my original mail). -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing Lis

[PHP-DEV] Object[] type hint

2007-02-04 Thread Sebastian Bergmann
$object) { if (!$object instanceof Object) { throw new InvalidArgumentException; } } } } Thanks, Sebastian -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD

Re: [PHP-DEV] Newbie help: Segmentation fault

2007-01-15 Thread Sebastian Bergmann
Arnold Daniels wrote: > I've got no idea where the the stands for. PHPUnit reports progress with .FEIS characters, see http://www.phpunit.de/pocket_guide/3.0/en/textui.html for details. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0x

[PHP-DEV] Re: cvs: php-src /sapi/apache2filter php_functions.c /sapi/apache2handler php_functions.c

2007-01-03 Thread Sebastian Bergmann
Antony Dovgal wrote: > tony2001 Wed Jan 3 18:52:23 2007 UTC > > Modified files: > /php-src/sapi/apache2filter php_functions.c > /php-src/sapi/apache2handler php_functions.c > Log: > fix magic numbers Sorry! :-( -

Re: [PHP-DEV] Moving COM, Socket & mhash to PECL

2006-12-08 Thread Sebastian Bergmann
Ilia Alshanetsky wrote: > COM: +1 > mhash: +1 > sockets: +1 -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To un

[PHP-DEV] SimpleXML: A bug or just an annoyance?

2006-11-13 Thread Sebastian Bergmann
1 '); 3 4 $array = array(); 5 $array[$root['id']] = 'value'; 6 7 $key = (int)$root['id']; 8 $array[$key] = 'value'; 9 ?> Warning: Illegal offset type in /home/sb/test.php on line 5 -- Sebastian Bergmann http://seb

Re: [PHP-DEV] Re: cvs: ZendEngine2(PHP_5_2) / zend_language_scanner.l

2006-11-13 Thread Sebastian Bergmann
2006/unicoding-with-php-6_zend-conference-2006.pdf -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Hash Algorithm [was: Re: [PHP-DEV] Namespaces in PHP 6 - ++$take]

2006-11-10 Thread Sebastian Bergmann
;s been a long time since I studied hashes: are there no hashing algorithms that perform better with more than 8 characters? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internal

Re: [PHP-DEV] Namespaces in PHP 6 - ++$take

2006-11-10 Thread Sebastian Bergmann
e, classes inside PHPUnit as Framework\TestCase, and classes outside PHPUnit as PHPUnit\Framework\TestCase. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Feature request

2006-11-10 Thread Sebastian Bergmann
when m() returns an array that has an object with method n() at index 0. -- [1] http://en.wikipedia.org/wiki/Law_of_Demeter [2] http://www.martinfowler.com/bliki/FluentInterface.html -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B

Re: [PHP-DEV] [RFC] E_DEPRECATED

2006-10-23 Thread Sebastian Bergmann
ors and change them according to the > new model. We also put any change into the upgrading file. +1 -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Run

Re: [PHP-DEV] Impact of CFLAGS on GOTO and SWITCH executers

2006-10-16 Thread Sebastian Bergmann
Dmitry Stogov wrote: > You use -O0 and unoptimized execute() function require a lot of stack > space, because space for local variables is not reused. Thank you for this explanation, Dmitry. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB8

Re: [PHP-DEV] Re: Impact of CFLAGS on GOTO and SWITCH executers

2006-10-15 Thread Sebastian Bergmann
ve a CALL or > GOTO vm. Please read the part in the braces again and you will see that I meant PHP 5.1.6 and PHP 5_2. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals -

Re: [PHP-DEV] Impact of CFLAGS on GOTO and SWITCH executers

2006-10-15 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > What strikes me as odd are the segmentation faults when PHP is built > with -O0 (no optimizations). Some more information of the segfaults: It looks as if the ackermann test is responsible for the segfaults. I uploaded a backtrace from GDB and a logfil

[PHP-DEV] Impact of CFLAGS on GOTO and SWITCH executers

2006-10-15 Thread Sebastian Bergmann
optimizations). These results also beg the question how well supported/tested the two alternative executers, GOTO and SWITCH, are. -- [1] Yes, these means I build 80 PHP binaries. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD

Re: [PHP-DEV] PHP 5.2.0RC5 Released

2006-10-05 Thread Sebastian Bergmann
Ilia Alshanetsky wrote: > I would like to ask that all developers refrain from making commits to > the 5.2.0 branch to avoid introducing regressions or bugs into the > final release. I hope build fixes are okay. -- Sebastian Bergmann http://www.sebastian-bergmann.

[PHP-DEV] Re: cvs: php-src(PHP_5_2) /ext/mbstring config.m4

2006-10-02 Thread Sebastian Bergmann
Antony Dovgal wrote: > Please don't forget to merge this patch into HEAD. Is the mbstring extension not supposed to be removed from HEAD anyway? -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C

Re: [PHP-DEV] Filter Vote

2006-09-29 Thread Sebastian Bergmann
asmus and Derick did all the initial work on the extension I think it should be them, and not Pierre. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Developmen

Re: [PHP-DEV] [VOTE] (was: Parameter checking in 5.2)

2006-09-25 Thread Sebastian Bergmann
eatures is confusing. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [VOTE] (was: Parameter checking in 5.2)

2006-09-21 Thread Sebastian Bergmann
[ ] (+1) please remove that redundant strictness again [X] (-1) leave as it is, we need strict OO implementation [ ] ( 0) what the hell are you talking about? -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B

Re: [PHP-DEV] Documentation needed to write PHP5 extensions

2006-09-04 Thread Sebastian Bergmann
Diego do Nascimento Feitosa wrote: > I would like to know, where can I find documentation of Zend API > to create fully object oriented extensions to PHP5? The only reference for this is Sara Golemon's book on the topic: http://slashdot.org/article.pl?sid=06/07/31/1416207 --

[PHP-DEV] Etiquette

2006-08-29 Thread Sebastian Bergmann
aste from my IRC logfile. I wish everyone involved in the development of PHP would be able to discuss technical issues in a professional manner without getting offensive and personal. Please do not turn this thread into yet another flamewar, Sebastian -- [1] http://gentoo.org/proj/en/devrel/

[PHP-DEV] Re: cvs: php-src(PHP_5_2) /ext/standard string.c

2006-08-29 Thread Sebastian Bergmann
Derick Rethans wrote: > Take this crap off list please. Especially off a list that is intended to be *read only*. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals -

Re: [PHP-DEV] RfC: rethink OO inheritance strictness

2006-08-03 Thread Sebastian Bergmann
Pierre wrote: > What are you advocating then? Do you have an opinion? ;-) No, at the moment I do not have an opinion on this. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 --

Re: [PHP-DEV] RfC: rethink OO inheritance strictness

2006-08-03 Thread Sebastian Bergmann
t I am advocating this, but class Foo implements PHP_StrictMode {} could imply the same semantics as strict class Foo {} -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internal

[PHP-DEV] E_STRICT -> E_STRICT + E_DEPRECATED [was: Re: [PHP-DEV] RfC: rethink OO inheritance strictness]

2006-08-03 Thread Sebastian Bergmann
IMHO. Not that I am advocating this, but one solution could be splitting E_STRICT into E_STRICT and E_DEPRECATED for the respective meanings. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -

Re: [PHP-DEV] PHP_5_2 segfaults

2006-08-01 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > [EMAIL PROTECTED] php-5.2 % ./cvsclean && ./buildconf && ./configure && > make -j3 && gdb ./sapi/cli/php A fresh CVS checkout solved this issue. -- Sebastian Bergmann http:

Re: [PHP-DEV] Adding pecl/zip to 5.2

2006-07-31 Thread Sebastian Bergmann
Antony Dovgal wrote: > -0. > > I would rather move more extensions from core to PECL, than from PECL > to core. I second that emotion. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C5

[PHP-DEV] PHP_5_2 segfaults

2006-07-31 Thread Sebastian Bergmann
0xbff703a0) at /usr/local/src/php/php-5.2/main/main.c:1759 #17 0x0828375a in main (argc=0x1, argv=0xbff704d4) at /usr/local/src/php/php-5.2/sapi/cli/php_cli.c:1097 -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Configure summary

2006-07-04 Thread Sebastian Bergmann
Michael Wallner wrote: > That's interesting. What happens on `make install`? Does it have > separate install commands per SAPI? I will ask Luca, the maintainer of this patch. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A

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