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
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
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
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
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
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
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
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
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
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
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
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
--
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
--
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
{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
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
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
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
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.
--
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
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:
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
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
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
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
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:
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
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
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?
--
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
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
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
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
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
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/
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
*.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
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
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
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
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
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
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
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
$object) {
if (!$object instanceof Object) {
throw new InvalidArgumentException;
}
}
}
}
Thanks,
Sebastian
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD
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
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! :-(
-
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
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
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
;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
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
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
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
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
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 -
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
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
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.
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
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
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
[ ] (+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
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
--
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/
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 -
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
--
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
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
-
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:
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
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
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
601 - 700 of 1233 matches
Mail list logo