Re: [PHP-DEV] Re: [RFC] discussions, about a 5.3 EOL

2012-03-05 Thread Johannes Schlüter
On Mon, 2012-03-05 at 10:27 -0500, Matthew Weier O'Phinney wrote: On 2012-03-02, Pierre Joye pierre@gmail.com wrote: It should have been done before 5.4.0 was out, but better late than never. I put together four options here: https://wiki.php.net/rfc/php53eol I'm in favor of

[PHP-DEV] 5.3.11 planning

2012-03-06 Thread Johannes Schlüter
Hi, just a quick note on 5.3.11 planning: We will migrate to git in roughly one week. I'll give it a few days to verify migration works fine afterwards and then start the 5.3.11 process. Best is to get outstanding fixes in early. ;-) Please ping me if there are outstanding fixes you desperately

Re: [PHP-DEV] 5.3.11 planning

2012-03-06 Thread Johannes Schlüter
On Tue, 2012-03-06 at 11:19 +, Derick Rethans wrote: I'd like to get my simple ZEND_DONT_UNLOAD_MODULES patch in: Yeah, it's proven and useful. Please also add the part from README.ZEND_MM. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] [PATCH] readline extension rl_bind_key addition and other enhancements

2012-03-14 Thread Johannes Schlüter
Hi, A few comments on the patch: A) for licensing reasons we should try to keep as few readline only things as possible in there (gpl vs. php license) B) thread safty isn't an issue for readline but you still should do the init and deinit in rinit/rshutdown not minit/mshutdown, probably also

Re: [PHP-DEV] PHP5.4 'nannying'

2012-03-18 Thread Johannes Schlüter
On Sun, 2012-03-18 at 15:53 +, Lester Caine wrote: So I need to work out why with PHP5.4 we have such an overload of warning messages ... so I CAN fix them ... which is why I'm asking here for advise on migration information to a clean code base in PHP5.4 ... See

Re: [PHP-DEV] [PATCH] readline extension bug fixes and enhancements

2012-03-20 Thread Johannes Schlüter
Hi, On Tue, 2012-03-20 at 21:06 +0200, Osama Abu Elsorour wrote: All, I was recently involved in a project that relied heavily on readline to provide console text input capabilities. However I soon noticed that the current readline extension has a serious bug and is lacking some important

Re: [PHP-DEV] ECDSA support in the openssl extension

2012-03-21 Thread Johannes Schlüter
On Wed, 2012-03-21 at 18:44 +0500, Alexey Shein wrote: Btw is 5.3 branch in development state or only maintenance? If new feature could be added to the 5.3 branch. I preferred upgrade from 5.3.10 to 5.3.11 instead of 5.3.10 - 5.4. Can't say for sure, it's better ask maintainers, I've

Re: [PHP-DEV] Validate complex types

2012-03-24 Thread Johannes Schlüter
On Sat, 2012-03-24 at 11:57 +0100, François Gannaz wrote: No, it's currently not meant for public use - it's an internal function that is not available to outside modules (thus declared 'static'). It may make sense to refactor this code and make it more accessible to functions that want

Re: [PHP-DEV] 5.4.0 rc6 and release

2012-03-26 Thread Johannes Schlüter
On Mon, 2012-03-26 at 12:00 -0700, Clint Byrum wrote: Our hands are tied, as the security team still does not feel comfortable shipping a PHP without Suhosin. Perhaps more can be done to convince the world that this is a safe thing to do now, but for now, we're taking the extremely

Re: [PHP-DEV] Merge from 5.3 and/or 5.4. What's the current policy?

2012-03-30 Thread Johannes Schlüter
On Fri, 2012-03-30 at 17:22 +0900, Yasuo Ohgaki wrote: Hi, Bug fix can be merged upwards. However, Are we free to merge feature changes? Adding new module constant is new feature. I certainly would like to have it on 5.4 and it's probably OK for 5.4, but how about 5.3? So I'm asking

Re: [PHP-DEV] Change all XFAIL tests to FAIL

2012-03-31 Thread Johannes Schlüter
On Fri, 2012-03-30 at 10:16 -0700, Christopher Jones wrote: The XFAIL mechanism reflects the reality of open source that not all bugs are fixed. I wonder what that has to do with open source ... besides maybe TeX there's no non-trivial bug free software. johannes -- PHP Internals - PHP

Re: [PHP-DEV] Change all XFAIL tests to FAIL

2012-03-31 Thread Johannes Schlüter
On Sat, 2012-03-31 at 13:27 +0500, Alexey Shein wrote: Ok, we have a weekly reminder to bug maintainers (that maybe not working). Those are working. At least for me :-) There was some trouble with mails for individual changes, but recently I got an you have been assigned mail, too. That's a

Re: [PHP-DEV] Change all XFAIL tests to FAIL

2012-03-31 Thread Johannes Schlüter
On Sat, 2012-03-31 at 13:21 +0500, Alexey Shein wrote: By constantly publishing newsletter with failed / xfail bugs you're telling them That's our current problems. Maybe you could help us with them. This way we could convert that discussing energy into some good patches. While many people

Re: [PHP-DEV] Addition of calendar to intl

2012-04-02 Thread Johannes Schlüter
On Mon, 2012-04-02 at 10:35 +0200, Gustavo Lopes wrote: Hi I have exposed ICU's Calendar API to PHP via the intl extension. It allows date calculations with Gregorian, Chinese, Coptic, Ethiopic, Hebrew, Indian, Islamic (civil/religious), Japanese, Persian, Taiwan and Thai Buddhist

Re: [PHP-DEV] resume after exception

2012-04-02 Thread Johannes Schlüter
On Mon, 2012-04-02 at 08:44 -0400, Rasmus Schultz wrote: I was just reading about the new async/await keywords in C# 5.0, and while this has no particular relevance to PHP as such, it got me thinking about this idea... What if you could resume execution after an exception was thrown? So

Re: [PHP-DEV] resume after exception

2012-04-02 Thread Johannes Schlüter
On Tue, 2012-04-03 at 00:49 +0500, Alexey Shein wrote: 3 апреля 2012 г. 0:40 пользователь Johannes Schlüter johan...@schlueters.de написал: On Mon, 2012-04-02 at 08:44 -0400, Rasmus Schultz wrote: I was just reading about the new async/await keywords in C# 5.0, and while this has

[PHP-DEV] Threading issues with internal classes

2012-04-05 Thread Johannes Schlüter
Dmitry, while looking at #55334 I discovered two issues regarding the handling of properties and constants in threaded environments which might cause race conditions. The reproduce code for both issues is as simple as ?php new Exception; ? and then hit it on a 8+ core box in threaded mode.

Re: [PHP-DEV] PHP class files without ?php at the top

2012-04-07 Thread Johannes Schlüter
On Apr 7, 2012, at 15:26, Tom Boutell t...@punkave.com wrote: * If the CLI sees a .phpc file extension, the parser starts out in PHP mode (no opening ?php is required). It is still possible to shift into HTML mode after that with ?. * If a require/include statement sees a .phpc file

Re: [PHP-DEV] how do you create a private property as an array in a class

2012-04-07 Thread Johannes Schlüter
Hi, On Sat, 2012-04-07 at 11:23 -0700, Matthew Hernandez wrote: This is my first extension I'm working on. I'm trying to make a class available to the user space with 1 private property that is an array. The first question is: Why? - Why add the overhead of creating such an array if it is

Re: [PHP-DEV] Allow non-variable arguments to empty()

2012-04-12 Thread Johannes Schlüter
On Wed, 2012-04-11 at 00:53 +0200, Nikita Popov wrote: Currently the empty() language construct only works on variables. You can write if (empty($array)) but not empty if (empty(getSomeArray()). I've mentioned this thought off-list already but let's discuss it officially: A fear I have is

[PHP-DEV] PHP 5.3.11RC2 Released for Testing

2012-04-13 Thread Johannes Schlüter
along with 5.4 on April 26. Johannes Schlüter -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Variable-length args by reference

2012-04-17 Thread Johannes Schlüter
On Wed, 2012-04-18 at 00:02 +0200, Stefan Neufeind wrote: How would you think about extending func_get_args() and func_get_arg() to allow for: $args = func_get_args(FUNC_GET_ARGS_BY_REFERENCE); $arg0 = func_get_arg (0, FUNC_GET_ARGS_BY_REFERENCE); (default would be

[PHP-DEV] HEADS UP: Force pushed to revert to d55afe4df63945a6e3abe9892ba7836f83c74265

2012-04-18 Thread Johannes Schlüter
within the last few minutes please make sure that you do not have the revision 885e57517ad6057b497b2c90482ddb2d58ac1a2b and don't push that revision to the repository. johannes Changes reapplied: commit 0618e33b5dbac73efc0893884051b5c24e7ab409 Merge: d6394e6 da6465a Author: Johannes Schlüter johan

Re: [PHP-DEV] HEADS UP: Force pushed to revert to d55afe4df63945a6e3abe9892ba7836f83c74265

2012-04-18 Thread Johannes Schlüter
On Wed, 2012-04-18 at 12:35 +0200, Johannes Schlüter wrote: Hi, the master branch was accidentally merged into the 5.4 branch. I reverted that by force pushing the old revision d55afe4df63945a6e3abe9892ba7836f83c74265 into PHP-5.4 and then cherry-picking all revisions since then. Please

Re: [PHP-DEV] voting without vcs accounts

2012-04-18 Thread Johannes Schlüter
On Wed, 2012-04-18 at 10:23 +0200, Gustavo Lopes wrote: I think the issue is not who, in general terms, can vote, but how a determination that someone is covered by those terms is made. What is a known OSS project? For instance, which of these would qualify:

Re: [PHP-DEV] Re: Complete case-sensitivity in PHP

2012-04-20 Thread Johannes Schlüter
On Fri, 2012-04-20 at 09:21 -0400, Tom Boutell wrote: Yup - a one time transition would be preferable to that. Then the question is: Why? What's the benefit from a break? Is there a need to have imagecreatefrompng() next to a ImageCreateFromPNG()? Or is the reason to be a tiny bit faster? Or is

Re: [PHP-DEV] Complete case-sensitivity in PHP

2012-04-20 Thread Johannes Schlüter
On Sat, 2012-04-21 at 01:16 +0200, Stefan Neufeind wrote: I think we might possibly add a special kind of deprecation where the non-matching case would still work but (if you activate those deprecation-warnings) would trigger warnings so you can clean up your code. yay - two lookups instead

Re: [PHP-DEV] Extension versions

2012-04-23 Thread Johannes Schlüter
On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: As you see it goes from no version at all to proper versions, passing by svn revisions, dates, or a mix of all. In Composer [1] we try to parse all that using ReflectionExtension, to allow people to require some specific version of an

Re: [PHP-DEV] Extension versions

2012-04-23 Thread Johannes Schlüter
On Mon, 2012-04-23 at 18:39 +0200, jpauli wrote: In fact, Zend API provides extensions a char* to give a hint about the extension version, but I guess no-one has been serious and really used that field as it would have to be. Every(*) PECL extension does. (*) The exception proves the rule.

Re: [PHP-DEV] Expose mysqlnd API through all MySQL extensions

2012-04-24 Thread Johannes Schlüter
, comments ? Feel free to open a ticket in the bug tracker and assign it to us (mysql user). johannes -- Johannes Schlüter, MySQL Engineering Connectors and Client Connectivity ORACLE Deutschland B.V. Co. KG, Riesstr. 25, D-80992 München -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Expose mysqlnd API through all MySQL extensions

2012-04-24 Thread Johannes Schlüter
On Tue, 2012-04-24 at 14:27 +0200, jpauli wrote: Aha, I like when an internals guy teach me internals stuff :) So, OK for 5.3 , what about supporting that for =5.4 ? Maybe. ;-) The other reason is that one idea for mysqlnd was that it doesn't expose anything to the userland while

Re: [PHP-DEV] Re: how to instantiate new object

2012-05-02 Thread Johannes Schlüter
On Wed, 2012-05-02 at 13:27 +0800, Laruence wrote: On Wed, May 2, 2012 at 1:16 PM, Yader Hernandez yader.hernan...@gmail.com wrote: On Tue, May 1, 2012 at 8:46 PM, Yader Hernandez yader.hernan...@gmail.comwrote: Hello, I was wondering how to create a new object from a function call?

[PHP-DEV] PHP 5.3.14RC1 and PHP 5.4.4RC1 Released for Testing

2012-05-17 Thread Johannes Schlüter
Hi, The first release candidates for 5.3.14 and PHP 5.4.4 were released for testing and can be downloaded here: PHP 5.3.13RC1: http://downloads.php.net/johannes/php-5.3.14RC1.tar.bz2 http://downloads.php.net/johannes/php-5.3.14RC1.tar.gz PHP 5.4.4RC1:

Re: [PHP-DEV] Old bug 40459: Stat and Dir stream wrapper methods do not call constructor

2012-05-18 Thread Johannes Schlüter
Hi, On Fri, 2012-05-18 at 12:42 +0200, Jorrit Schippers - nCode wrote: So my question is: can anyone familiar with the Stream Wrapper code take a look at this issue? My C is not of sufficient level to fix this myself. My idea would be to abstract creating a stream wrapper instance and

Re: [PHP-DEV] [VOTE] Vote change for empty() RFC

2012-05-21 Thread Johannes Schlüter
On Mon, 2012-05-21 at 23:48 +0200, Rafael Dohms wrote: So we are counting half people now, good i hear Tyrion the Imp going around internals, good. I tried to stay away from voting but well, simple math: Assume 5 votes. Then 3 is less then 2/3 of all votes and 4 is at least 2/3 (more

Re: [PHP-DEV] APC benchmark

2012-05-23 Thread Johannes Schlüter
On Tue, 2012-05-22 at 11:18 -0400, Mohammad Saleh wrote: I was looking for a standard benchmark script that I could run with and without apc caching to see the general gains. Is there something that is used by the internals team for such tests? If not, are there any recommendations? What

Re: [PHP-DEV] PHP and two phase commit transactions

2012-05-30 Thread Johannes Schlüter
On Tue, 2012-05-29 at 21:27 +0100, Christian Ferrari wrote: Dear all, I'm the author of LIXA project (http://lixa.sourceforge.net/) and I would discuss a little about two phase commit transactions for PHP applications. Besides all technical discussions etc one legal comment, on the project

[PHP-DEV] PHP 5.3.14RC2 Released

2012-06-01 Thread Johannes Schlüter
Hi! We would like to announce the second RC of the 5.3.14 version. This is mainly a bugfix release. The release includes a fix for a weakness crypts() DES implementation (CVE-2012-2143). Please test it and notify us of any problems you may encounter. The full list of the fixes is as always in

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Johannes Schlüter
On Thu, 2012-06-07 at 11:50 -0700, Adi Mutu wrote: that's nice, but i haven't understood a thing...i know something about php core and php extensions, but nothing about the Zend engine specific. The mentioned place is directly in the VM, which in general is harder to understand, but well,

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Johannes Schlüter
On Thu, 2012-06-07 at 12:53 -0700, Adi Mutu wrote: Ok Johannes, thanks for the answer. I'll try to look deeper. I basically just wanted to know what happens when you concatenate two strings? what emalloc/efree happens. This depends. As always. As said what has to be done is one allocation for

Re: [PHP-DEV] Confusion on how to exclude embedded sqlite3 during make/build

2012-06-14 Thread Johannes Schlüter
On Thu, 2012-06-14 at 18:26 +0200, Ángel González wrote: What do you have at those lines? As it mentions Undeclared identifier or., perhaps it's (wrongly) taking the slash at and/or as a */ ?? That would be very broken of a compiler... No, that's invalid C89 code and a quite standards

Re: [PHP-DEV] Subdomain Set Up

2012-06-16 Thread Johannes Schlüter
On Sat, 2012-06-16 at 14:34 +0200, Gustavo Lopes wrote: On Sat, 16 Jun 2012 14:17:04 +0200, Paul Dragoonis dragoo...@gmail.com wrote: I attempted to get (and failed) some attention on my request that I posted to php-webmaster mailing list, so I'm escalating it here:

Re: [PHP-DEV] what is the rule of merging fix to release branch?

2012-06-17 Thread Johannes Schlüter
On Sun, 2012-06-17 at 13:20 +0800, Laruence wrote: Hi: there comes some bug of a already fixed issue (PHP5.4.4) the fix(#61998) is here https://github.com/php/php-src/commit/90e23107a2acba1fd53b7e799372eb9f24194a56 but seems this fix is not merged into 5.4.4 when it was

Re: [PHP-DEV] [PATCH - PR] Disable ATTR_EMULATE_PREPARES by default for PDO_Mysql

2012-06-22 Thread Johannes Schlüter
/sql-syntax-prepared-statements.html -- Johannes Schlüter, MySQL Engineering, ORACLE Deutschland B.V. Co KG -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] json_encode() behavior for incorrectly encoded strings

2012-06-23 Thread Johannes Schlüter
On Sun, 2012-06-24 at 00:24 +0200, Nikita Popov wrote: Yes, I feel like we must discuss this a thousand times anew. There clearly is no consensus about it. Just look at the responses in this thread and in other discussions relating this issue. When people read throws a warning, but only if

Re: [PHP-DEV] Re: #61421 for 5.3/4

2012-06-27 Thread Johannes Schlüter
On Tue, 2012-06-26 at 23:44 -0700, Stas Malyshev wrote: Hi! I would like to merge the patch from #61421 to all active branches (RMs as CC). It is not a new function nor does it add new features but new constants to support more algorithms for the signature verification. Don't see

Re: [PHP-DEV] [DRAFT RFC] Adding Simplified Password Hashing API

2012-06-27 Thread Johannes Schlüter
Hi, On Tue, 2012-06-26 at 11:25 -0400, Anthony Ferrara wrote: https://wiki.php.net/rfc/password_hash Some comments on the error behavior part: E_WARNING - When CRYPT is not included in core (was disabled compile-time, or is listed in disabled_functions declaration) Disabling a

Re: [PHP-DEV] [DRAFT RFC] Adding Simplified Password Hashing API

2012-06-28 Thread Johannes Schlüter
On Wed, 2012-06-27 at 22:00 -0400, Anthony Ferrara wrote: Johannes, Some comments on the error behavior part: E_WARNING - When CRYPT is not included in core (was disabled compile-time, or is listed in disabled_functions declaration) Disabling a different function should have

Re: [PHP-DEV] RFC proposal - Syntactic sugar for cloning

2012-06-29 Thread Johannes Schlüter
On Fri, 2012-06-29 at 16:25 +0200, Amaury Bouchard wrote: Back in the real world, we are not cloning objects very often. But, like many other syntactic sugars (as the short array syntax), I think it could be handy in some circumstances. Well, arrays are used all over the place. As you said:

Re: [PHP-DEV] concatenation operator

2012-06-29 Thread Johannes Schlüter
On Fri, 2012-06-29 at 11:47 -0700, Adi Mutu wrote: Sorry for the late reply, I was away for a while.. I don't think I have dtrace because I'm on fedora.but i'll research. As said: Currently only on Solaris, MacOS and BSD. Oracle is porting DTrace to Oracle Linux. RedHat created

[PHP-DEV] Re: JSON changes in 5.3/5.4

2012-06-30 Thread Johannes Schlüter
On Sun, 2012-07-01 at 01:14 +0200, Nikita Popov wrote: If you are okay with the changes in principle, I will fix the remaining issues asap. If you think that the changes are too intrusive for release branches, I'll gladly revert them for 5.3/5.4. I didn't quite expect that there will be so

Re: [PHP-DEV] concatenation operator

2012-06-30 Thread Johannes Schlüter
On Sat, 2012-06-30 at 03:53 -0700, Adi Mutu wrote: By initialization i mean the latest point possible where I can set a breakpoint, but right before my scripts starts executing it's emalloc's or efree's. Does executing include compilation? Does it include creating a stack frame etc. for

Re: [PHP-DEV] MYSQL_OPT_RECONNECT

2012-07-09 Thread Johannes Schlüter
On Sat, 2012-07-07 at 08:20 -0700, Rasmus Lerdorf wrote: So, because of these bugs when MySQL turned off auto-reconnects in 5.0.3 everyone has been running with them off despite pdo_mysql's intent to turn them back on. Fixing these bugs now to make the code do what it was intended to do would

Re: [PHP-DEV] MYSQL_OPT_RECONNECT

2012-07-09 Thread Johannes Schlüter
On Mon, 2012-07-09 at 16:49 +0400, Alexey Zakhlestin wrote: On 09.07.2012, at 14:17, Johannes Schlüter wrote: an example like this: $pdo = new PDO(mysql:...); $select = $pdo-prepare(SELECT * FROM t WHERE id = ?); /* do something ... connection break in between

[PHP-DEV] Re: bug 18556 - tolower locales

2012-07-11 Thread Johannes Schlüter
On Tue, 2012-07-10 at 22:40 -0700, Stas Malyshev wrote: Johannes, is it ok to put this fix into 5.3 too? Even if the concerns from this thread can be cleared I don't think we should change the core language in a version like 5.3. 5.3 users who are hit by this have their work-around (I assume),

Re: [PHP-DEV] Internal iteration API

2012-07-11 Thread Johannes Schlüter
On Thu, 2012-07-12 at 00:17 +0200, Nikita Popov wrote: Hi internals! Currently PHP does not have an internal iteration API that supports both arrays and Traversable objects. Yes. in fact doing that is long overdue. Because of that it is currently not really possible to write functions

Re: [PHP-DEV] Internal iteration API

2012-07-11 Thread Johannes Schlüter
On Thu, 2012-07-12 at 01:49 +0200, Johannes Schlüter wrote: Just picking some random example: * array_map() - This can be implemented using that infrastructure. (While some might think about returning an Traversable object if a Traversable object got put in, maybe

Re: [PHP-DEV] Internal iteration API

2012-07-11 Thread Johannes Schlüter
On Wed, 2012-07-11 at 20:39 -0400, Anthony Ferrara wrote: Johannes, One thing to keep in mind when doing this is to think about consistency. I think that's a huge point not to be taken lightly. For that reason, I think that this API should not be used for any of the array_* functions.

Re: [PHP-DEV] array_shift() and reindexing

2012-07-12 Thread Johannes Schlüter
On Thu, 2012-07-12 at 13:43 +0200, Jille Timmermans wrote: Hello, array_shift() currently reindexes the array after shifting one element. The reindexing has quite some impact on it's performance. I would like to suggest an extra parameter to array_shift() which can be used to prevent

Re: [PHP-DEV] proc_open() resources and their destruction

2012-07-12 Thread Johannes Schlüter
Hi, On Thu, 2012-07-12 at 17:09 +0200, Jille Timmermans wrote: An implementation is quite simple: https://github.com/Jille/php-src/commit/31a1aa384c29487e077ccf3fd067eca188cf1201 Without looking at the functional change itself a comment: The patch in this form can not be applied to 5.4 as

Re: [PHP-DEV] segfaults with zendplatform/debugger

2006-09-05 Thread Johannes Schlüter
Please report this to Zend. Mike Bretz wrote: Hello, since yesterday I have retried to use zendplatform and it's debugger together with zend studio. (PHP Version is 5.1.6, happened with 5.1.4 too) We are getting a reproducable segmentation fault as follows: Program received signal SIGSEGV,

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/reflection php_reflection.c /ext/reflection/tests bug39067.phpt

2006-10-06 Thread Johannes Schlüter
Hi Andrei, most parts off it work in unicode mode, there are a few places which need little work, see Dmitry's FIXME: Unicode support comments to get an idea. Basically I'm in writing tests and writing a patch but currently have less time than expected... johannes Andrei Zmievski wrote:

Re: [PHP-DEV] newbie question nr 2: compile error when using php_stream_get_line

2006-11-10 Thread Johannes Schlüter
Hi, errors complaining about something related to tsrm_ls mean that you're building a thread-safe PHP and forgot some TSRMLS[_...] macros. See for example http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is-TSRMLS_CC-anyway.html for more about these macros. This should help you, but

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

2006-11-17 Thread Johannes Schlüter
Hi, that's the commonly used (and existing) Feedback status, but often this won't lead to the required feedback. johannes On Fri, 2006-11-17 at 08:38 +0100, Ron Korving wrote: Why not add another bug-status called incomplete or something, and append a standard message saying Please study the

Re: [PHP-DEV] How to release an experimental extension ?

2006-11-24 Thread Johannes Schlüter
and executing IMS transactions. Who should I discuss it with? What do I have to do? Thank you for your help. Regards, David OURY [EMAIL PROTECTED] -- Johannes Schlüter | http://schlueters.de -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

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

2006-12-08 Thread Johannes Schlüter
Hi, On Fri, 2006-12-08 at 13:17 -0500, Ilia Alshanetsky wrote: On 8-Dec-06, at 1:01 PM, Stanislav Malyshev wrote: COM: +1, easy to install from pecl. mhash: sockets: Un-maintained. A good point for 5.2, but given that there is no one to support users using this extension

RE: [PHP-DEV] Run-time taint support proposal

2006-12-15 Thread Johannes Schlüter
Hi, I guess a taint mode would give users the impression that the data is safe while it isn't safe. As an example: $data = mysql_real_escape_sring($_GET['data']); query(with $data); echo Saved $data; For the first part the data is safe and the escape removes the taint flag. Having the taint

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Johannes Schlüter
Hi Roberto, On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote: Now my problem is how to find declared functions in a context. Which hash table I have to use? Just take a look at the structure behind the executor_globals EG struct:

Re: [PHP-DEV] PHP 5.2.1RC3 Released

2007-01-20 Thread Johannes Schlüter
Hi steve, On Fri, 2007-01-19 at 17:04 -0800, steve wrote: 3. When using RC3 as a handler (thread safe version), phpinfo reports PHP 5.2.0 but under apache2handler is says 5.2.1RC3??? And it no longer has the real_path bug above. I no longer have any 5.2.0 files around, and even tried

Re: [PHP-DEV] what means is 'CC' and 'DC' in the 'TSRMLS_CC' and 'TSRMLS_DC' ?

2007-01-21 Thread Johannes Schlüter
Hi, On Mon, 2007-01-22 at 04:11 +0800, yAnbiN wrote: Hi! I know that the 'TSRMLS' is an abbreviation of 'Thread Safe Resource Manager Local Storage', but what means is 'CC' and 'DC' in the 'TSRMLS_CC' and 'TSRMLS_DC' ? This has been asked multiple times before on this list, but once

Re: [PHP-DEV] PDO Bug introduced in revision 290786 and released in 5.2.12 and 5.3.1

2010-01-26 Thread Johannes Schlüter
On Fri, 2010-01-15 at 20:54 -0500, Matt Read wrote: We are developers from the Habari Project, an open source PHP blogging application; We would like to raise concern with a recent change to the logic of PDO. We believe that PHP's revision 290786 [1] should not have been committed (see bug

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Johannes Schlüter
Евгений, thanks for the patch.I didn't fully review it but I wonder about a thing: On Tue, 2010-02-09 at 16:27 +0500, Соколов Евгений wrote: Index: tests/27_bug47199.phpt === --- tests/27_bug47199.phpt(revision 0) +++

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Johannes Schlüter
Hi, On Tue, 2010-02-09 at 20:11 +0500, Sokolov Evgeniy wrote: did you really run this test and was it successful? - doesn't looklike for me. I just run php tests/27_bug47199.phpt and check the result output. Is this correct way? The easy way to run it using the test Framework is by

[PHP-DEV] PHP 5.2.13RC2 and 5.3.2RC2 testing

2010-02-11 Thread Johannes Schlüter
The Windows binaries are available at: http://windows.php.net/qa/ These are bug-fix releases fixing many issues. Please test these RC against your code base and report any problems that you encounter. Ilia Alshanetsky Johannes Schlüter 5.2 Release Master5.3 Release Master -- PHP

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

2010-02-22 Thread Johannes Schlüter
On Mon, 2010-02-22 at 10:50 -0600, Raphael Geissert wrote: Ah, I see, great. From a quick look at the code it looks like it also uses pcntl. Is there any plan to switch to that other implementation? No work has been done in something like the threads extension, has there? Why would you

Re: [PHP-DEV] TNBT beta online at http://bugs-beta.php.net/

2010-02-22 Thread Johannes Schlüter
Hi, On Mon, 2010-02-22 at 15:58 +0200, Jani Taskinen wrote: FYI: I installed the new bug tracker to ez1.php.net for easier testing. Feel free to test it and comment to this thread. If the DNS has Great! - Patches / file attachements I like the idea of calling it patch so users won't

[PHP-DEV] PHP 5.3.2RC3 testing

2010-02-23 Thread Johannes Schlüter
make me aware of critical issues. Johannes Schlüter 5.3 Release Master -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP 5.3.2 released!

2010-03-04 Thread Johannes Schlüter
Hello! The PHP development team would like to announce the immediate availability of PHP 5.3.2. This release focuses on improving the stability of the PHP 5.3.x branch with over 70 bug fixes, some of which are security related. All users of PHP are encouraged to upgrade to this release.

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/branches/PHP_5_3/ README.NEW-OUTPUT-API Zend/zend_highlight.c Zend/zend_indent.c ext/iconv/iconv.c ext/session/session.c ext/soap/soap.c ext/standard/basic_fu

2010-03-11 Thread Johannes Schlüter
On Thu, 2010-03-11 at 10:24 +, Jani Taskinen wrote: jani Thu, 11 Mar 2010 10:24:29 + Revision: http://svn.php.net/viewvc?view=revisionrevision=296062 Log: MFH: Improved / fixed output buffering (Michael Wallner) Yes the old code had many

Re: [PHP-DEV] PHP 6

2010-03-11 Thread Johannes Schlüter
On Thu, 2010-03-11 at 18:46 +0100, Lukas Kahwe Smith wrote: +1 for moving trunk to a branch and moving 5.3 to trunk. not moving 5.3 to trunk but a 5.3 copy (branched of), 5.3 should be stable stuff (fixes) only. Guess you meant to say that, but better to be clear. johannes -- PHP Internals -

Re: [PHP-DEV] PHP 6

2010-03-11 Thread Johannes Schlüter
On Thu, 2010-03-11 at 17:44 -0500, Ilia Alshanetsky wrote: Even though the 5.2 code base is fairly mature, it is far from being bug free. Unit tests are often a good way to identify corner cases that may not be handled properly even in the stable branches, so more tests IMHO is a good thing.

Re: [PHP-DEV] PHP 6

2010-03-13 Thread Johannes Schlüter
Hi, On Sat, 2010-03-13 at 11:57 -0500, Derick Rethans wrote: So I would suggest the following things to do: - get rid of Jani's play branch - move trunk to branches/FIRST_UNICODE_IDEA - put 5.2 in security fix only mode - pht 5.3 in bug fix only mode - start adding new features (traits,

Re: [PHP-DEV] PHP 5.4 branch and trunk

2010-03-16 Thread Johannes Schlüter
On Tue, 2010-03-16 at 19:11 +0300, Alexey Zakhlestin wrote: + merge php-fpm branch? If we get a trunk which will be released in a foreseeable timeframe we don't need to merge this to 5.3 anymore, which had been an old plan. Tony, do you agree? johannes -- PHP Internals - PHP Runtime

Re: [PHP-DEV] PHP 5.4 branch and trunk

2010-03-16 Thread Johannes Schlüter
On Tue, 2010-03-16 at 22:13 +0100, Lukas Kahwe Smith wrote: On 16.03.2010, at 16:58, Derick Rethans wrote: Before we add features, they need to be discussed whether we want to have them. As version name for it I would like to use trunk-dev (and not 5.4-dev or 6.0-dev) as we're not quite

[PHP-DEV] Commits to PHP_5_3

2010-03-18 Thread Johannes Schlüter
Hi, now that a new trunk is about to be created some comments about 5.3: PHP_5_3 is a stable branch. This means mostly bug fixes. Small features (like array_seek) can be added. There won't be a strict rule about what is small, common sense and asking applies. That part will become stricter once

Re: [PHP-DEV] Commits to PHP_5_3

2010-03-18 Thread Johannes Schlüter
On Thu, 2010-03-18 at 09:19 +0100, Johannes Schlüter wrote: now that a new trunk is about to be created some comments about 5.3: PHP_5_3 is a stable branch. This means mostly bug fixes. Small features (like array_seek) can be added. There won't be a strict rule about what is small, common

Re: [PHP-DEV] PHP 6

2010-03-21 Thread Johannes Schlüter
On Thu, 2010-03-18 at 10:12 +0100, Lukas Kahwe Smith wrote: On 18.03.2010, at 06:55, Andi Gutmans wrote: -Original Message- From: Olivier Hill [mailto:olivier.h...@gmail.com] Sent: Saturday, March 13, 2010 10:15 AM To: Derick Rethans Cc: PHP Developers Mailing List Subject:

Re: [PHP-DEV] Re: Commits to PHP_5_3

2010-03-21 Thread Johannes Schlüter
Hi, On Thu, 2010-03-18 at 22:10 -0600, Raphael Geissert wrote: At the moment dba is the best place to add support for tokyo cabinets without introducing major features (or a pecl extension). without introducing major features doesn't sound like a good way for architecture decisions. This

Re: [PHP-DEV] [PATCH] Raise warning first on Maximum execution time exceeded

2010-03-22 Thread Johannes Schlüter
On Mon, 2010-03-22 at 15:51 +0100, troels knak-nielsen wrote: We log all errors that happens in our production environment, but as fatal errors can't be handled from within php, we end up with little information to go on for further debugging. I'm not very familiar with the php internals code,

Re: [PHP-DEV] [PATCH] Raise warning first on Maximum execution time exceeded

2010-03-22 Thread Johannes Schlüter
Hi, On Mon, 2010-03-22 at 16:00 +0100, Olivier B. wrote: well, maybe we should provide a better behaviour for all fatal errors, no ? A frequent one I see is the fatal error for calls like $obj-method(), when $obj is not an object. Isn't possible to allow catching of fatal errors, like

Re: [PHP-DEV] trunk is alive and open

2010-03-23 Thread Johannes Schlüter
Hi, On Tue, 2010-03-23 at 18:44 +0100, Kalle Sommer Nielsen wrote: Im assuming that we are still removing the stuff that we deprecated in 5.3 and removed in the old trunk? If thats the case then I will work on merging those removed features like safe_mode and so on out. I think that's, like

Re: [PHP-DEV] trunk is alive and open

2010-03-23 Thread Johannes Schlüter
On Tue, 2010-03-23 at 16:04 +, Derick Rethans wrote: Hello, I've just created trunk for 5.3 again. I've set the version to 5.3.99-dev as to explicitly not decide on whether there will be 5.4 or 6.0 next. As I mentioned on IRC and in previous threads: I'd prefer to call it 5.4 - we

Re: [PHP-DEV] How to trace a crash bug?

2010-03-25 Thread Johannes Schlüter
Hi, On Wed, 2010-03-24 at 23:24 -0700, Thomas Hruska wrote: PHP 5.2.13 on Windows XP SP3 w/ Apache (PHP as a module) is crashing for me. I've tried to create a simple test case to reproduce but I'm not able to. Any hints/tips or a guide on how to debug this would be highly appreciated.

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/standard/html.c ext/standard/tests/strings/bug44703.phpt ext/standard/tests/strings/get_html_translation_table_basic1.phpt ext/standard/tests/

2010-03-26 Thread Johannes Schlüter
On Fri, 2010-03-26 at 08:04 -0700, Rasmus Lerdorf wrote: On 03/26/2010 05:39 AM, Johannes Schlüter wrote: On Tue, 2010-03-23 at 18:08 +, Rasmus Lerdorf wrote: rasmus Tue, 23 Mar 2010 18:08:06 + Revision: http://svn.php.net/viewvc?view

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/standard/html.c ext/standard/tests/strings/bug44703.phpt ext/standard/tests/strings/get_html_translation_table_basic1.phpt ext/standard/tests/

2010-03-26 Thread Johannes Schlüter
On Fri, 2010-03-26 at 11:03 -0700, Stanislav Malyshev wrote: Hi! Well, they don't necessarily have to fix their application. They can just put: default_charset=iso-8859-1 in their php.ini. If they have access to the file, which many users don't have. And I Can't they just do

Re: [PHP-DEV] Proposal: shorthand object property setting syntax.

2010-03-27 Thread Johannes Schlüter
On Sat, 2010-03-27 at 19:02 +0300, Toorion wrote: Very often (for example when work with dom or UI object) setting plenty of object properties is require. At this time we has not a lot options. Standard way looks very dirty and be reason of more copy-paste-work. Reproduce code:

[PHP-DEV] Dropped php3_compat.h [Fwd: [PHP-CVS] svn: /php/php-src/trunk/ ext/enchant/enchant.c ext/fileinfo/fileinfo.c ext/intl/collator/collator_class.c ext/intl/dateformat/dateformat_class.c ext/int

2010-03-30 Thread Johannes Schlüter
Hi, I've dropped main/php3_compat.h from trunk/ the only symbol in there I found being used was `function_entry` which is equal to `zend_function_entry`. I've updated php-src accordingly and will do the same in PECL tomorrow. johannes Forwarded Message From: Johannes Schlüter

Re: [PHP-DEV] DTrace RFC

2010-04-02 Thread Johannes Schlüter
On Thu, 2010-03-25 at 14:37 +0100, Kalle Sommer Nielsen wrote: Also, what are the status of DTrace support on Windows for this patch? DTrace is only available on MacOS, FreeBSD and MacOS. Maybe it can be made working with SystemTap on Linux, they try to be compatible in their APIs. Windows has

Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2010-04-03 Thread Johannes Schlüter
On Thu, 2010-04-01 at 13:06 -0700, Stanislav Malyshev wrote: Hi! The patch is simple: see attached. Doesn't break any tests except for ns_063 which specifically tests for this particular case. Any objections to having this in 5.3? Given the feedback on the list I think it's ok. Please

Re: [PHP-DEV] Named Parameters

2010-04-04 Thread Johannes Schlüter
Hi, I'm not fully convinced we really need it, I had some moments in the past where I wished they existed, but always found good solutions. That said: On Sun, 2010-04-04 at 18:28 -0400, Gregory wrote: The question I have is if we are not copying the array semantics anymore, whether we should

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