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

2007-11-30 Thread Hannes Magnusson
On Nov 30, 2007 10:43 AM, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Philip, for the future please do not accept any copyright other than The PHP Group or The PHP documentation Grroup. Thanks. Otherwise comanies are going to own PHP piece by piece. It was never accepted. The docs, with

Re: [PHP-DEV] type hinting

2008-01-05 Thread Hannes Magnusson
On Jan 5, 2008 1:52 AM, Jani Taskinen [EMAIL PROTECTED] kirjoitti: Anyway, who dropped the word OPTIONAL from the subject? I think that was quite essential part of this whole debate? As I'm +1 for OPTIONAL scalar-type hinting. +1 on scalar-type-hinting (not to be confused with type-casting)

Re: [PHP-DEV] Source type.c says settype($var, double) is deprecated

2008-01-06 Thread Hannes Magnusson
On Jan 6, 2008 9:23 PM, Markus Fischer [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Hannes Magnusson wrote: | No, the comment is correct. | | for historical [read: BC] reasons double is returned in case of a | float, and not simply float | | See http

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

2008-01-08 Thread Hannes Magnusson
Confirmed. (Philip is on vacation for the next 3weeks so we need someone else to grant him account+karma for phpdoc-tr/) -Hannes On Jan 8, 2008 5:58 PM, Sezer Yalcin [EMAIL PROTECTED] wrote: I talked to Hannes Magnusson and already submitted several patches to documentation. I am a PHP

Re: [PHP-DEV] [RFC] Square brackets shortcut

2008-01-10 Thread Hannes Magnusson
So you reject scalar type hinting because it isn't type casting and can therefor confuses newbies - but scattering seemingly random brackets around your code (to safe 5 key strokes) is obvious to users? Noone would confuse this with named arguments? Why can't I do function foo([] $array) {} ?

Re: [PHP-DEV] [RFC] Square brackets shortcut

2008-01-10 Thread Hannes Magnusson
Did you know that you don't have to reply multiple times to the same post? And even though Stas replies to every single post, you don't have to do it too. Please read Andis checklist again; http://news.php.net/php.internals/34494 - same rules apply to all threads. -Hannes On Jan 10, 2008 3:37

Re: [PHP-DEV] Re: Array syntax []

2008-01-11 Thread Hannes Magnusson
-1 -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-01-13 Thread Hannes Magnusson
On Jan 13, 2008 6:53 PM, Herman Radtke [EMAIL PROTECTED] wrote: Maintaining the documentation. I emailed the phpdoc mailing list and Hannes Magnusson suggested I request and account. Confirmed. (Philip is still on vacation.. :) -Hannes -- PHP Internals - PHP Runtime Development Mailing

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

2008-01-14 Thread Hannes Magnusson
Hi Bui On Jan 14, 2008 10:38 AM, Bui Dinh Ngoc [EMAIL PROTECTED] wrote: Translating the documentation Please have a quick look at our Information for Translators chapter in the dochowto; http://doc.php.net/php/dochowto -Hannes -- PHP Internals - PHP Runtime Development Mailing List To

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

2008-01-17 Thread Hannes Magnusson
On Jan 16, 2008 11:35 PM, Alan Wagstaff [EMAIL PROTECTED] wrote: I would like to assist the Doc team in improving the PHP documentation, particularly in some of the lesser used and newer extensions. It would be better if you could post to phpdoc@ your plans and preferably some patches before

Re: [PHP-DEV] nowdocs again

2008-01-21 Thread Hannes Magnusson
On Jan 18, 2008 10:07 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi all! I remember the topic of 'nowdocs' (if you don't remember what it is, read on) was already discussed, but nothing really happened about it. For those who just recently woke up from cryogenic sleep :), nowdocs are

Re: [PHP-DEV] ifsetor like expression in php6

2008-01-26 Thread Hannes Magnusson
On Jan 26, 2008 5:30 PM, Sebastian [EMAIL PROTECTED] wrote: hi, i just found the new ifsetor like construction in php6. (FYI: It has already been merged to 5.3) -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a final decision

2008-02-05 Thread Hannes Magnusson
On Feb 5, 2008 9:23 PM, Pierre Joye [EMAIL PROTECTED] wrote: +1: remove them (as it is now in HEAD) -1: Restore them and always return FALSE (not 0) 0: I don't care, do what you wish, I never use them anyway -1 (restore them) :) -Hannes -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a final decision

2008-02-06 Thread Hannes Magnusson
On Feb 6, 2008 2:13 AM, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Feb 5, 2008 3:26 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Feb 5, 2008 3:23 PM, Pierre Joye [EMAIL PROTECTED] wrote: Hi, It seems that there is voices in favor of keeping the GPC related

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt her

2008-02-12 Thread Hannes Magnusson
I would really really really really appreciate if the [DOC] tag was used more. While only random new features (or whatever requiring docs) are tagged with [DOC] it is totally useless as the doc team still has to browse through every single commit to figure out if there is something in it to

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt

2008-02-12 Thread Hannes Magnusson
On Feb 12, 2008 7:35 PM, Pierre Joye [EMAIL PROTECTED] wrote: On Feb 12, 2008 7:31 PM, Jani Taskinen [EMAIL PROTECTED] wrote: I myself have forgot to use the damn dog tag many times. (Which is it again, @DOC@ or [DOC] ? :) And if I forget, I'd like to be reminded. Same here, I always

Re: [PHP-DEV] E_DEPRECATED for 5.3

2008-02-16 Thread Hannes Magnusson
On Feb 16, 2008 2:14 AM, Lars Strojny [EMAIL PROTECTED] wrote: For the docs team: I've added links in the E_DEPRECATED messages to http://php.net/{migrate}#deprecated func. The {migrate}-part can later be easily replaced once the appendix to the migration guide which explains how to deal with

[PHP-DEV] Re: [PHP-DOC] cvs: php-src(PHP_5_3) /ext/standard basic_functions.c basic_functions.h

2008-02-24 Thread Hannes Magnusson
On Sun, Feb 3, 2008 at 3:45 PM, Marcus Boerger [EMAIL PROTECTED] wrote: helly Sun Feb 3 14:45:00 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard basic_functions.c basic_functions.h Log: - MFH Rename it again [DOC] - MFH Add

Re: [PHP-DEV] PHP 4 Bug Summary Report

2008-02-25 Thread Hannes Magnusson
On Mon, Feb 25, 2008 at 10:00 AM, internals@lists.php.net wrote: PHP 4 Bug Database summary - http://bugs.php.net Should these still be sent out? -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP.Net Site

2008-02-25 Thread Hannes Magnusson
On Mon, Feb 25, 2008 at 10:15 AM, Lokrain [EMAIL PROTECTED] wrote: Hello there, I am not sure here is the right place to mention this, but I still think it will be cool, if there is some spell checking before posting news on php.net. There are mistakes like the word 'Addded' - perhaps

Re: [PHP-DEV] Forgot the password of my CVS account

2008-03-01 Thread Hannes Magnusson
On Sat, Mar 1, 2008 at 3:04 AM, Wudi Liu [EMAIL PROTECTED] wrote: I forgot the password of my CVS account since I haven't used the account https://master.php.net/forgot.php -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] 5.2.5 and static calls

2008-03-01 Thread Hannes Magnusson
On Sat, Mar 1, 2008 at 8:45 PM, till [EMAIL PROTECTED] wrote: Btw, is there anything one can do to get more involved and spot those issues? http://news.php.net/php.pear.qa/4812 -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Undocumented 5.3 features

2008-03-04 Thread Hannes Magnusson
On Tue, Mar 4, 2008 at 8:22 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: I agree with the intent - documentation is *very* important. Even though, people use undocumented features too (probably cursing the lazy developers on the way ;) Indeed. And in few years noone has a clue wtf all

Re: [PHP-DEV] [RFC] Replace the flex-based scanner with an re2c [1] based lexer

2008-03-04 Thread Hannes Magnusson
On Tue, Mar 4, 2008 at 8:38 PM, Andi Gutmans [EMAIL PROTECTED] wrote: OK just kidding and I agree it would be nice to have it better documented in the mainstream docs. As it applies mostly to the Asian users though (Chinese/Japanese) who usually seek localized docs it's probably not as

Re: [PHP-DEV] [RFC] Replace the flex-based scanner with an re2c [1] based lexer

2008-03-04 Thread Hannes Magnusson
On Tue, Mar 4, 2008 at 8:38 PM, Andi Gutmans [EMAIL PROTECTED] wrote: Why do you say it's not documented? http://www.aconus.com/~oyaji/www/apache_linux_php.htm http://tinyurl.com/2o8pq2 According to the latter link, our windows binaries don't enable zend-multibyte, is this true? -Hannes

[PHP-DEV] [GSOC] Ideas?

2008-03-09 Thread Hannes Magnusson
Hi all We should probably discuss some ideas for Google Summer of Code this year. I see people have already added few to the wiki page[1] which is great and all but wikis aren't for discussions.. The plan as I see it: Discuss ideas. Draft them up on the wiki. Move them to php.net/ideas when

Re: [PHP-DEV] Patch for opcode caches

2008-03-14 Thread Hannes Magnusson
On Fri, Mar 14, 2008 at 9:46 AM, Dmitry Stogov [EMAIL PROTECTED] wrote: Removing early-binding at all might be a subject for PHP6, however in PHP_5_3 we even keep ze1_compatibility_mode. http://news.php.net/php.internals/36085 -Hannes -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Problem with Namespaces

2008-03-21 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 5:36 PM, Sebastian Deutsch [EMAIL PROTECTED] wrote: Hello, I'm currently fooling around with the new namespaces feature. Is there any (semi) official documentation when to use use or import. use Foo; Warning: The use statement with non-compound name 'Foo' has no

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-21 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 6:01 PM, Tex Texin [EMAIL PROTECTED] wrote: I admit to being unclear on why DateFormatter conflicts with Date. I'll have to read the manuals later. Seems rather limiting if all names beginning with Date are now verboten. That said: A) Derick, Shifu, Can you (or

Re: [PHP-DEV] short_open_tag

2008-03-21 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 8:11 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: And if you look at the discussion, there were opinions - including Zeev's - that there's nothing wrong with shorts tags in general, only in some rare use cases.

Re: [PHP-DEV] short_open_tag

2008-03-21 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 10:19 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.262r2=1.263 guess who made that commit... I wish I remembered what the rationale for that was, but of course I don't. Anyway, in 7 years there might be a

Re: [PHP-DEV] [RFC] Namespace syntax decision

2008-03-22 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 10:36 PM, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Internals, we all were asked to stop discussing syntax of namespaces as we were told that we would decide after the namespace functionality was fully implemented. Now I think that the functionallity is pretty

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-23 Thread Hannes Magnusson
Hi Tex On Sun, Mar 23, 2008 at 10:03 AM, Tex Texin [EMAIL PROTECTED] wrote: Pierre, Marcus, et al. 1) The project started a year or so ago. So for a whole year none of you (not even the Zend employees that should know better) thought that there maight be a coding standard that you should

Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC

2008-03-23 Thread Hannes Magnusson
On Sat, Mar 22, 2008 at 9:17 PM, Lars Strojny [EMAIL PROTECTED] wrote: $str = LABEL $var LABEL; -1 no please -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PECL-DEV] About that PECL versioning thing

2008-03-23 Thread Hannes Magnusson
On Sun, Mar 23, 2008 at 3:51 AM, Steph Fox [EMAIL PROTECTED] wrote: does anyone have any objection to the proposal at http://wiki.php.net/rfc/peclversioning? The first step in fixing the core-pecl relationship? \o/ Looks good. But what about extensions that are symlinked to core? Will they

[PHP-DEV] Re: [PECL-DEV] About that PECL versioning thing

2008-03-23 Thread Hannes Magnusson
On Sun, Mar 23, 2008 at 2:34 PM, Steph Fox [EMAIL PROTECTED] wrote: Hi, The first step in fixing the core-pecl relationship? \o/ That's the basic idea, yes. But what about extensions that are symlinked to core? Will they need to update their version info during core release

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-23 Thread Hannes Magnusson
On Sun, Mar 23, 2008 at 2:37 PM, Steph Fox [EMAIL PROTECTED] wrote: Hey Hannes, Few people want this extension to be moved to core, which means: every decision about this extension is deciding anything about PHP. Those 'few people' were actually in the majority when it was put to the

Re: [PHP-DEV] Re: PHP's Zend multibyte support

2008-03-23 Thread Hannes Magnusson
2008/3/23 Marcus Boerger [EMAIL PROTECTED]: Hello Rui, many thanks!!! Sunday, March 23, 2008, 12:40:59 PM, you wrote: Hello Marcus, I try to prepare some short test scripts for zend-multibyte stuff. It is like, ?php declare(encoding='Shift_JIS'); $s = 表; //

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-23 Thread Hannes Magnusson
On Sun, Mar 23, 2008 at 8:30 PM, Tex Texin [EMAIL PROTECTED] wrote: The first thing we did was look at the coding standard. OK. Well done then. I guess I was just very unlucky picking locale/locale_methods.c to view then. Stas explained the reason we chose the naming we did. Which is great.

Re: [PHP-DEV] short_open_tag

2008-03-26 Thread Hannes Magnusson
On Wed, Mar 26, 2008 at 8:55 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! I don't think I've ever said I don't like short tags. It's not the issue here. The issue is that allowing to change it during runtime adds more WTF to PHP. WTF factors are bad. OK, there were people

Re: [PHP-DEV] short_open_tag

2008-03-26 Thread Hannes Magnusson
On Wed, Mar 26, 2008 at 9:25 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: I will repeat it as many times as necessary: 1. This situation can happen only if you have written very buggy template code - there exists no such code right now and one has to be rather sloppy to create such

Re: [PHP-DEV] short_open_tag

2008-03-26 Thread Hannes Magnusson
On Wed, Mar 26, 2008 at 9:39 PM, Hannes Magnusson [EMAIL PROTECTED] wrote: On Wed, Mar 26, 2008 at 9:25 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: I will repeat it as many times as necessary: 1. This situation can happen only if you have written very buggy template code

Re: [PHP-DEV] Re: Backporting to 5_3

2008-03-28 Thread Hannes Magnusson
On Fri, Mar 28, 2008 at 2:58 PM, Cristian Rodriguez [EMAIL PROTECTED] wrote: 2008/3/28, Hannes Magnusson [EMAIL PROTECTED]: I agree. Any functionality removal, no matter how wtf it might be, shouldn't be merged. If we could however throw E_DEPRECATED there, that would be great

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] BC break with php 5.2.6

2008-03-31 Thread Hannes Magnusson
On Tue, Apr 1, 2008 at 12:22 AM, Pierre Joye [EMAIL PROTECTED] wrote: On Mon, Mar 31, 2008 at 11:18 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: Marcus, On Mon, 2008-03-31 at 17:14 +0200, Marcus Boerger wrote: Hello Derick, it is a BUG FIX. Not fixing it means more

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /win32/build config.w32

2008-04-02 Thread Hannes Magnusson
On Wed, Apr 2, 2008 at 6:39 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: That's great. I help what I can (I sent one example I could find while browsing Japanese lists with help of google translate) however I have [...] We know what worked in 5.2 Reading the link Andi posted this option

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

2008-04-15 Thread Hannes Magnusson
On Tue, Apr 15, 2008 at 4:49 AM, Xin Jia [EMAIL PROTECTED] wrote: contribute to the PHP documentation and translate the documentation Into which language? Have you contacted the translation team and/or submitted patches? Usually we want new contributors to send in few patches to show their

Re: [PHP-DEV] Re: Building PHP. Clean builds. Noisy redefines.

2008-04-22 Thread Hannes Magnusson
On Tue, Apr 22, 2008 at 1:53 PM, Elizabeth M Smith [EMAIL PROTECTED] wrote: Hmmm - I don't get the first set of long to short warnings - what compiler/sdk are you using? Second set of (highly annoying) warnings is due to a file in TSRM - in readdir.h - and I'd love to have fixed but there

Re: [PHP-DEV] CVS Account Request

2008-04-23 Thread Hannes Magnusson
On Wed, Apr 23, 2008 at 2:33 AM, Tatsuo Ishii [EMAIL PROTECTED] wrote: I posted requested patches about a week ago and so far I have gotten no response. Maybe this means my patches were rejected by some reasons which I don't know? It can mean several things, for instance: - Weird subject

Re: [PHP-DEV] Calling a class constructor

2008-04-30 Thread Hannes Magnusson
On Wed, Apr 30, 2008 at 6:57 PM, Sam Barrow [EMAIL PROTECTED] wrote: create_new(string $class, array $constructor_args) Does anyone else see a need for this? No. Have you considered subscribing to [EMAIL PROTECTED] Could you please first direct these questions to php-general@ and gather

Re: [PHP-DEV] Couple Windows build fixes

2008-05-07 Thread Hannes Magnusson
Could someone explain to me why he doesn't have karma? -Hannes On Wed, May 7, 2008 at 5:28 PM, Matt Wilmas [EMAIL PROTECTED] wrote: Hi, One patch for 5.3 and one for HEAD, where they're not synched with the other. 5.3's math changes the other day missed one change to the php_* function

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-07 Thread Hannes Magnusson
On Wed, May 7, 2008 at 6:42 PM, Richard Quadling [EMAIL PROTECTED] wrote: Hi. [..] The attached patch forces the use of 'rd' rather than 'rmdir'. Only plain/text attachments get through the list.. -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Removal of unicode_semantics

2008-05-08 Thread Hannes Magnusson
On Thu, May 8, 2008 at 7:33 AM, Andi Gutmans [EMAIL PROTECTED] wrote: So for now we should remove the switch. We can do this if needed. Who is we in this context? Zend? Scott is already working on the removal but I'll bet he would really appreciate help with it. -Hannes -- PHP Internals -

Re: [PHP-DEV] allow_call_time_pass_reference

2008-05-08 Thread Hannes Magnusson
On Thu, May 8, 2008 at 10:08 PM, Todd Ruth [EMAIL PROTECTED] wrote: On Thu, 2008-05-08 at 20:28 +0100, Steph Fox wrote: ... Does anyone have a good reason for keeping it switched on by default in PHP 5.3? Like, would switching it off by default break a lot of existing code, given that most

Re: [PHP-DEV] allow_call_time_pass_reference

2008-05-08 Thread Hannes Magnusson
On Thu, May 8, 2008 at 9:28 PM, Steph Fox [EMAIL PROTECTED] wrote: Does anyone have a good reason for keeping it switched on by default in PHP 5.3? Like, would switching it off by default break a lot of existing code, given that most users are a bit beyond PHP 3 now? I've never understood the

Re: [PHP-DEV] [HEADS UP] pecl/phar is now ext/phar

2008-05-13 Thread Hannes Magnusson
On Mon, May 12, 2008 at 11:45 PM, Gregory Beaver [EMAIL PROTECTED] wrote: * code coverage is pushing 80%, up from about 63% Are these known failures? Number of tests : 377 364 Tests skipped : 13 ( 3.4%) Tests warned:0 ( 0.0%) ( 0.0%) Tests failed:

Re: [PHP-DEV] [HEADS UP] pecl/phar is now ext/phar

2008-05-13 Thread Hannes Magnusson
On Tue, May 13, 2008 at 1:57 PM, Steph Fox [EMAIL PROTECTED] wrote: Hannes, Are these known failures? Guess the configure line? I can't reproduce this with default settings. './configure' \ '--enable-debug' \ '--with-zend-vm=GOTO' \ '--without-pear' \ '--with-zlib' \ '--with-bz2' \

Re: [PHP-DEV] [HEADS UP] pecl/phar is now ext/phar

2008-05-13 Thread Hannes Magnusson
On Tue, May 13, 2008 at 4:14 PM, Steph Fox [EMAIL PROTECTED] wrote: You should try again, karma should be there, now. Thanks Johannes :) Hannes, let me know if. Munch better, only 42 failures now. 001+ Content-type: text/html; charset=utf-8 001- Content-type: text/html Looks like all

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mcrypt mcrypt.c /ext/mcrypt/tests mcrypt_enc_self_test.phpt

2008-05-18 Thread Hannes Magnusson
On Sun, May 18, 2008 at 8:14 PM, David Soria Parra [EMAIL PROTECTED] wrote: Hannes Magnusson wrote: On Sun, May 18, 2008 at 7:15 PM, David Soria Parra [EMAIL PROTECTED] wrote: dsp Sun May 18 17:15:08 2008 UTC Modified files: /php-src/ext/mcrypt mcrypt.c /php-src/ext

Re: [PHP-DEV] magic quotes finale

2008-05-23 Thread Hannes Magnusson
On Fri, May 23, 2008 at 12:09 AM, Lars Strojny [EMAIL PROTECTED] wrote: Why should we leave get_magic_quotes_gpc()? If someone wants to be backwards compatible, just use Excuse me? The users should change their code to be forward compatible? We should ofcourse make it easier for our users and

Re: [PHP-DEV] Interface for __get, __set, __isset, __unset?

2008-05-25 Thread Hannes Magnusson
On Sun, May 25, 2008 at 8:28 PM, Michael B Allen [EMAIL PROTECTED] wrote: Is there an interface for: interface ??? { public function __get($name); public function __set($name, $value); public function __isset($name); public function __unset($name); } I have a

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

2008-05-28 Thread Hannes Magnusson
On Wed, May 28, 2008 at 1:25 PM, ZhiQiang He [EMAIL PROTECTED] wrote: translate php manual You are not going to get phpdoc as username. -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: pear proxy install patch

2008-05-31 Thread Hannes Magnusson
On Sat, May 31, 2008 at 12:59 AM, Christopher Jones [EMAIL PROTECTED] wrote: Hannes (or anyone), Can you apply these patches for pear? I've reverted to use wget by default. The newish fetch.php is used as a last resort. Thanks for the patch!, and sorry for not having fixed it sooner :)

Re: [PHP-DEV] multiple use

2008-06-01 Thread Hannes Magnusson
On Sun, Jun 1, 2008 at 6:09 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! Attached is the patch that implements multiple elements in use statement, like this: use foo::bar as baz, foo::baz as bazbaz; Any objections to it? Yes. I find the whole namespace issue complicated enough as

Re: [PHP-DEV] multiple use

2008-06-01 Thread Hannes Magnusson
On Sun, Jun 1, 2008 at 7:11 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! I find the whole namespace issue complicated enough as it is. importing multiple namespaces and aliasing various classess/functions all in one line decreases the readability imo. I must say I fail to understand

Re: [PHP-DEV] multiple use

2008-06-01 Thread Hannes Magnusson
On Sun, Jun 1, 2008 at 7:43 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! use FooBar::In::Some::NameSpace as foo, SomeOther::Cool:Massive::awesome::space as bar, And::other:namespace as foobar; vs use FooBar::In::Some::NameSpace as foo; use SomeOther::Cool:Massive::awesome::space as

Re: [PHP-DEV] GSoC: Bugtracker

2008-06-02 Thread Hannes Magnusson
On Mon, Jun 2, 2008 at 9:36 PM, sean finney [EMAIL PROTECTED] wrote: i would like to suggest that the Secondary Requirement entitled VCS (Versioning Control System, e.g. CVS and SVN) integration be given a great deal of importance. i can't tell you how many hours i've lost trying to find the

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

2008-06-11 Thread Hannes Magnusson
On Wed, Jun 11, 2008 at 22:15, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Actually, checking through my group@ archive, I don't see 2 messages from you. The only one I see from you is one from June 9 complaining that your cvs account wasn't granted. I see that someone has approved your account

[PHP-DEV] [HEADSUP] Changes in CVS account request notifications

2008-06-12 Thread Hannes Magnusson
Hi all (cross-posting to all relevant lists) Yesterday we did minor changes in the CVS account request notifications, meaning all requests no longer go to internals@ but their relevant mailinglists. As of yesterday people requesting CVS accounts can pick between PHP, PEAR, PECL and doc to send

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

2008-06-12 Thread Hannes Magnusson
On Thu, Jun 12, 2008 at 01:14, Gregory Beaver [EMAIL PROTECTED] wrote: the solution is actually a technical one (being able to filter unapproved accounts by project at master.php.net, i.e. PEAR requests only are shown), along with the patch Hannes has already committed. I don't have access to

Re: [PHP-DEV] documentation on php.net

2008-06-14 Thread Hannes Magnusson
On Sat, Jun 14, 2008 at 23:16, Nathan Nobbe [EMAIL PROTECTED] wrote: one of the classes documented on php.net, HttpRequestPool, is not entirely documented correctly. http://www.php.net/manual/en/class.httprequestpool.php Fixed, thanks for the heads up. as you can see, it is documented as

Re: [PHP-DEV] towards a 5.3 release

2008-07-02 Thread Hannes Magnusson
On Wed, Jul 2, 2008 at 22:00, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: @Philipp: Since you are the god of documentation .. How are things looking on the scratchpad [8] you started? Philip, one p, recently moved to Nicaragua (last weekend actually) and isn't really available these days :)

Re: [PHP-DEV] towards a 5.3 release

2008-07-02 Thread Hannes Magnusson
On Wed, Jul 2, 2008 at 22:00, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: Summary: Everybody review [1] and make sure all items you care about are on the list and your name only appears next to stuff you are actually able to complete in a timely manner. ..One more thing: My GSoC student, Rudy

Re: [PHP-DEV] PHP 4.4.9

2008-07-07 Thread Hannes Magnusson
On Mon, Jul 7, 2008 at 09:09, Derick Rethans [EMAIL PROTECTED] wrote: Hello! As it's about a month until the end of PHP 4, it's time to make the last release. There have been a few important fixes, which need to be part of a release. Out of curiosity, which ones and why aren't they in the

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Hannes Magnusson
On Wed, Jul 16, 2008 at 08:50, Alexey Zakhlestin [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2008 at 8:08 PM, Stefan Priebsch [EMAIL PROTECTED] wrote: Hi list, I was playing around with namespaces and stumbled across this: #!/home/steve/php5.3-200807070430/sapi/cli/php ?php namespace Foo;

Re: [PHP-DEV] E_USER_DEPRECATED

2008-07-21 Thread Hannes Magnusson
On Mon, Jul 21, 2008 at 10:14, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: On 18.07.2008, at 23:29, Lars Strojny wrote: Hello, I've create a patch to introduce E_USER_DEPRECATED for user level deprecation warnings. I think the purpose is fairly obvious and it corresponds with the rest of

Re: [PHP-DEV] Patch for HTTP successful status codes

2008-07-23 Thread Hannes Magnusson
On Tue, Jul 22, 2008 at 23:22, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! codes as successful. This has posed some problems for us in writing RESTful applications effectively, as we're trying to take advantage of the full spectrum of successful codes. I think there should be no big

Re: [PHP-DEV] CVS to SVN Migration

2008-07-25 Thread Hannes Magnusson
On Fri, Jul 25, 2008 at 04:06, Gwynne Raskind [EMAIL PROTECTED] wrote: At this point it's clear that moving from CVS to SVN for PHP has become a more or less official project. Has the phpdoc revision/translation problem been looked into/fixed? -Hannes -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Patch for HTTP successful status codes

2008-07-25 Thread Hannes Magnusson
On Wed, Jul 23, 2008 at 19:40, Noah Fontes [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Zülke wrote: Yeah. We discussed that quite a while back when I sent over the ignore_errors options patch-like thing in November:

Re: [PHP-DEV] [GSoC] Report (PhD student)

2008-07-25 Thread Hannes Magnusson
On Fri, Jul 25, 2008 at 21:07, Nappee Rudy [EMAIL PROTECTED] wrote: * To write new output formats: CHM, Manpages, PDF * To write themes: PEAR HTML theme, PHP-GTK HTML theme * To design DBHTML implementation in PhD Its worth mentioning that the CHM and Unix man page outputs are in the latest

Re: [PHP-DEV] Patch for HTTP successful status codes

2008-07-26 Thread Hannes Magnusson
On Sat, Jul 26, 2008 at 22:37, David Zülke [EMAIL PROTECTED] wrote: Am 25.07.2008 um 12:53 schrieb Hannes Magnusson: I think changing all 3xx status codes to be success is a slightly more bc break then you think. A simple example: I do a file_get_contents() request. Store it in a local

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/ming config.m4 ming.c

2008-07-28 Thread Hannes Magnusson
On Mon, Jul 28, 2008 at 14:31, Pierre Joye [EMAIL PROTECTED] wrote: hi, On Mon, Jul 28, 2008 at 2:26 PM, Antony Dovgal [EMAIL PROTECTED] wrote: On 28.07.2008 14:55, Pierre Joye wrote: 0.4rc1. Eitherway, if 0.4 is not coming out during alpha1 and no support for 0.3 is available I fear we

[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] [Fwd: #45687 [Opn-Bgs]: Why is PCNTL marked experimental]

2008-08-02 Thread Hannes Magnusson
On Sat, Aug 2, 2008 at 19:19, Pierre Joye [EMAIL PROTECTED] wrote: hi, On Sat, Aug 2, 2008 at 7:03 PM, Maciek Sokolewicz [EMAIL PROTECTED] wrote: Right, so, if this _is_ still considered experimental, then we should fix it in the documentation; and if it's not, we should fix the configure

Re: [PHP-DEV] [PATCH] Alias stream_context_get_default() as stream_context_set_default()

2008-08-04 Thread Hannes Magnusson
On Mon, Aug 4, 2008 at 01:29, Davey Shafik [EMAIL PROTECTED] wrote: Hey, it has come to my attention that stream_context_get_default() is /grossly/ misnamed, considering that it can be used (and is the only way) to SET default options. It works more like ini_set() in that you pass in the

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-04 Thread Hannes Magnusson
On Mon, Aug 4, 2008 at 08:55, Dmitry Stogov [EMAIL PROTECTED] wrote: I don't like multiple namespaces per file too. As I remember they were introduced by Greg's request related to ext/phar. May be he already changed his mind. I don't think anyone but him likes multiple namespaces per file. I

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-04 Thread Hannes Magnusson
On Mon, Aug 4, 2008 at 10:32, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: On 04.08.2008, at 10:28, Stefan Priebsch wrote: Hannes Magnusson schrieb: I don't think anyone but him likes multiple namespaces per file. I do remember a PhD thesis sized mail from him explaining why multiple

Re: [PHP-DEV] [PATCH] Alias stream_context_get_default() as stream_context_set_default()

2008-08-04 Thread Hannes Magnusson
On Mon, Aug 4, 2008 at 13:02, Johannes Schlüter [EMAIL PROTECTED] wrote: On Mon, 2008-08-04 at 09:49 +0200, Hannes Magnusson wrote: On Mon, Aug 4, 2008 at 01:29, Davey Shafik [EMAIL PROTECTED] wrote: Hey, it has come to my attention that stream_context_get_default() is /grossly/ misnamed

Re: [PHP-DEV] Re: __invoke concerns

2008-08-05 Thread Hannes Magnusson
On Mon, Aug 4, 2008 at 20:43, Etienne Kneuss [EMAIL PROTECTED] wrote: Hello, On Mon, Aug 4, 2008 at 7:59 PM, Hannes Magnusson [EMAIL PROTECTED] wrote: On Mon, Aug 4, 2008 at 18:45, Etienne Kneuss [EMAIL PROTECTED] wrote: Hello, On Mon, Aug 4, 2008 at 4:18 PM, Dmitry Stogov [EMAIL PROTECTED

Re: [PHP-DEV] PHP 5.3.0alpha1

2008-08-05 Thread Hannes Magnusson
On Fri, Aug 1, 2008 at 09:31, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: Hello! Johannes has packed PHP 5.3.0alpha1 yesterday evening, which you can find here: http://downloads.php.net/johannes/ So.. Apparently we will not get Windows builds of alpha1 as some of the new extensions didn't

Re: [PHP-DEV] [PATCH] Alias stream_context_get_default() as stream_context_set_default()

2008-08-06 Thread Hannes Magnusson
On Wed, Aug 6, 2008 at 06:24, Davey Shafik [EMAIL PROTECTED] wrote: OK, here's an attempt at a patch[1], I discussed it briefly with Johannes and he felt some discussion was needed with regards to the return value. I personally seem some benefit to returning the new context; Johannes wasn't

Re: [PHP-DEV] [PATCH] Alias stream_context_get_default() as stream_context_set_default()

2008-08-06 Thread Hannes Magnusson
On Wed, Aug 6, 2008 at 15:11, Davey Shafik [EMAIL PROTECTED] wrote: On Aug 6, 2008, at 03:47 AM, Hannes Magnusson wrote: On Wed, Aug 6, 2008 at 06:24, Davey Shafik [EMAIL PROTECTED] wrote: OK, here's an attempt at a patch[1], I discussed it briefly with Johannes and he felt some discussion

Re: [PHP-DEV] clearstatcache change

2008-08-06 Thread Hannes Magnusson
On Wed, Aug 6, 2008 at 21:00, Arnaud Le Blanc [EMAIL PROTECTED] wrote: On Wednesday 06 August 2008 19:56:58 Arnaud Le Blanc wrote: Hi, On Wednesday 06 August 2008 18:18:49 Jani Taskinen wrote: Rasmus Lerdorf wrote: I think we either need to make clearstatcache() not affect the realpath

Re: [PHP-DEV] include bug in 5.3

2008-08-07 Thread Hannes Magnusson
On Thu, Aug 7, 2008 at 03:18, Christian Stocker [EMAIL PROTECTED] wrote: According to http://bugs.php.net/bug.php?id=45044 I'm not the only one with that problem and it really introduces a lot of issues. You are not the onlyone. I'm pretty sure I mailed about this to internals@ few weeks ago

Re: [PHP-DEV] mysql_set_charset

2008-08-07 Thread Hannes Magnusson
On Thu, Aug 7, 2008 at 16:17, Ulf Wendel [EMAIL PROTECTED] wrote: He explained to me that using SET NAMES is what is not recommended when using libmysql because: - there is no verification if the client knows the charset - the internal mysql-charset field will not be set properly Is this

Re: [PHP-DEV] include bug in 5.3

2008-08-07 Thread Hannes Magnusson
On Thu, Aug 7, 2008 at 20:20, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Christian Stocker wrote: Hi Since quite some time (weeks), I have this very strange and annoying include bug in 5.3-dev and now I think is the time to report it :) The reproducable script is here:

Re: [PHP-DEV] include bug in 5.3

2008-08-08 Thread Hannes Magnusson
On Thu, Aug 7, 2008 at 22:37, Arnaud Le Blanc [EMAIL PROTECTED] wrote: virtual_file_ex() assumes that realpath() returns NULL when the file does not exists. But BSD's realpath() will not return NULL if all components *but the last* exist. So realpath(/foo/bar) will return /foo/bar even if bar

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.h zend_API.c zend_execute_API.c zend_vm_def.h zend_vm_execute.h php-src/main main.c php.h

2008-08-08 Thread Hannes Magnusson
On Fri, Aug 8, 2008 at 21:54, Etienne Kneuss [EMAIL PROTECTED] wrote: Forgot to mention it: there is something weird in mysqli_driver.c, I don't know what the author's original intention was, but it looks wrong. c.f. FIXME I think I already filed a bug report about that some months ago, I

Re: [PHP-DEV] include bug in 5.3

2008-08-09 Thread Hannes Magnusson
On Fri, Aug 8, 2008 at 17:52, Dmitry Stogov [EMAIL PROTECTED] wrote: Hi, The attached patch is going to fix the problem. It implements its own realpath() function, so we won't depend on system anymore. It also improve realpath cache usage by caching intermediate results. I tested it on

Re: [PHP-DEV] include bug in 5.3

2008-08-09 Thread Hannes Magnusson
On Sat, Aug 9, 2008 at 12:31, Dmitry Stogov [EMAIL PROTECTED] wrote: Where is it documented? http://php.net/realpath http://www.ipnom.com/FreeBSD-Man-Pages/realpath.3.html -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Inconsistencies in 5.3

2008-08-11 Thread hannes . magnusson
On 11/08/2008, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! Ideally someone would summarize the discussion (or maybe two people, one from each camp) and then we can have a vote. Make it an RFC or OK, here it goes again: When we adopt some syntax, especially syntax matching some other

Re: [PHP-DEV] include bug in 5.3

2008-08-12 Thread Hannes Magnusson
On Mon, Aug 11, 2008 at 23:41, Greg Beaver [EMAIL PROTECTED] wrote: Dmitry Stogov wrote: This behavior is already implemented in improved patch that I sent on Saturday. Thanks. Dmitry. [snip] What I mean is: fopen(this_is_not_a_dir_but_a_file/../../../../../../../../etc/passwd, r);

  1   2   3   4   5   6   7   8   >