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

2008-07-24 Thread Michael Wallner
David Zülke wrote: So... who's gonna commit it? :) I'll commit in the next few hours if nobody objects. Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Michael Wallner
mike wrote: ... Would you mind using your full name or something else? Thanks :) Not that I'd have a (tm) on mike, but anyway... Cheers, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [Fwd: [PATCH] Backport of HEADs output API]

2008-09-18 Thread Michael Wallner
From: Michael Wallner [EMAIL PROTECTED] Newsgroups: php.internals Hi, as some people including RM have asked me to backport HEAD's output API (main/output.c) I prepared a patch wich does that--what else... There's one for current PHP-5.3 source and a tiny one for PECL. Regards, Mike -- PHP

[PHP-DEV] Adding pecl/http to core

2008-09-22 Thread Michael Wallner
Hi, I wonder what the general opinion is on adding pecl/http to the main PHP distribution? Many people have poked me in the past, so I guessed it's time to ask me and you that question once for all. Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Re: Adding pecl/http to core

2008-09-26 Thread Michael Wallner
Jani Taskinen wrote: So pecl/http is actually ext/curl with OO API? Not really. libcurl is not HTTP only, pecl/http utilizes libcurl for it's HTTP request functionality. pecl/http also provides much improved HTTP response and zlib functionality besides an swizz-army-knife for URLs. Why not

Re: [PHP-DEV] [Fwd: [PATCH] Backport of HEADs output API]

2008-09-26 Thread Michael Wallner
Lukas Kahwe Smith wrote: well the question is does it fix some real world bugs? this late in the game i would not want to include these changes if they just add features .. Huh? :) The question to me is, why did you ask me to do it, when you're not sure what it's about? Not to be anally at

[PHP-DEV] Re: Adding pecl/http to core

2008-09-30 Thread Michael Wallner
Ralph Schindler wrote: Mike, I have a few questions about the API and target use cases. What is the best medium to ask these questions and document them? This thread certainly is not the best place im sure of. I'm moving this to php.pecl.dev then. That should be the right place.

Re: [PHP-DEV] Adding pecl/http to core

2008-10-28 Thread Michael Wallner
Johannes Schlüter wrote: I think it's fine to have settings for limitations on pconnects, but stuff like http.request.methods.allowed or http.only_exceptions should http.request.methods.allowed is handled at RINIT. http.only_exceptions is PHP_INI_ALL, though introducing it at all might have

Re: [PHP-DEV] Adding pecl/http to core

2008-10-28 Thread Michael Wallner
Lars Strojny wrote: I've not seen plenty of Class::singleton() myself, getInstance is an accepted standard in all languages, including the PHP code I wrote, and I've had experience with. That's my point, yes. pecl_http uses ::singleton() instead of getInstance(). Well, sure--that depends.

Re: [PHP-DEV] quick polls for 5.3 (sorry missed a couple votes, but they did not affect the results)

2008-11-17 Thread Michael Wallner
Lukas Kahwe Smith wrote: 7) should Output buffering rewrite MFH? this one comes with some baggage, we need enough people to actually have a look at how things are in HEAD and make it clear that they will be available for bug fixing and BC issues resolving. the risk here is obviously that any

[PHP-DEV] Re: cvs: php-src /main output.c /tests/output bug46900.phpt bug46903.phpt ob_014.phpt ob_015.phpt ob_start_basic_002.phpt ob_start_basic_004.phpt

2009-02-15 Thread Michael Wallner
Robin Fernandes wrote: robinf Sun Dec 28 19:50:58 2008 UTC Added files: /php-src/tests/output bug46903.phpt bug46900.phpt Modified files: /php-src/tests/output ob_start_basic_004.phpt ob_start_basic_002.phpt

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) / NEWS /ext/standard php_string.h string.c /ext/standard/tests/strings bug47546.phpt

2009-06-12 Thread Michael Wallner
Matt Wilmas wrote: Hi Dmitry, Antony, Fixed, thanks. Matt Wilmas wrote: mattwil Wed Apr 1 17:05:37 2009 UTC Removed files: (Branch: PHP_5_3) /php-src/ext/standard/tests/strings bug47546.phpt Modified files: /php-src NEWS /php-src/ext/standard

[PHP-DEV] Re: function call chaining

2010-01-19 Thread Michael Wallner
On 01/19/2010 01:27 AM, Stanislav Malyshev wrote: Hi! I wrote a small patch that enables this kind of syntax in PHP: foo()(); I'd rather see two other things that are missing, support for dynamic object and array de-referencing like (new class)-method() and get_array()[index]. I honestly

[PHP-DEV] [PATCH] fix zend_llist_remove_tail

2007-01-27 Thread Michael Wallner
The attached patch fixes zend_llist_remove_tail() which didn't reset zend_llist-head properly. The diff was generated against 5_2. Regards, -- Michael Index: Zend/zend_llist.c === RCS file: /repository/ZendEngine2/zend_llist.c,v

[PHP-DEV] Re: [PATCH] fix zend_llist_remove_tail

2007-02-02 Thread Michael Wallner
*If* anybody's wondering... I don't have karma. Michael Wallner wrote: The attached patch fixes zend_llist_remove_tail() which didn't reset zend_llist-head properly. The diff was generated against 5_2. Regards

[PHP-DEV] [PATCH] persistence for zend_stack

2007-02-08 Thread Michael Wallner
Patch is against CVS HEAD. Regards, -- Michael Index: Zend/zend_stack.c === RCS file: /repository/ZendEngine2/zend_stack.c,v retrieving revision 1.19 diff -u -p -d -r1.19 zend_stack.c --- Zend/zend_stack.c 1 Jan 2007 09:29:21

[PHP-DEV] Re: todo items

2007-02-08 Thread Michael Wallner
Lukas Kahwe Smith wrote: 1. on-the-fly static properties (mike) I didn't request these, I just posted something that looked like a patch. Yet, I wouldn't mind removing another unreasonable fatalism. 2. 'strict class' to disable dynamic member variable addition (marcus) IIRC that

[PHP-DEV] Re: RC announcements at php.net

2007-02-15 Thread Michael Wallner
Antony Dovgal wrote: Now that the conference ads are gone, I think we should add release candidates announcements to the first page of php.net. Any objections? I hope none. I actually think this is a pretty good idea, and thanks to Hannes for the cleanup. -- Michael -- PHP Internals -

[PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage

2007-02-19 Thread Michael Wallner
Hi, I'd like to suggest a change to how the read_property object handler operates. Wouldn't it be reasonable for the engine to use get_property_ptr_ptr() whenever it wants to modify a property and get rid of using read_property() for write access? That would make rather simple ops like

Re: [PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage

2007-02-19 Thread Michael Wallner
Peter Hodge wrote: Hello, Does that fix the problem where: $object-theArray[] = (...); is invalid when 'theArray' is implemented using __get()? No. It's about internal classes and information stored in C structures. Regards, -- Michael -- PHP Internals - PHP Runtime Development

[PHP-DEV] Re: Z_BVAL (lvalue casts)

2007-02-20 Thread Michael Wallner
Oliver Block wrote: Hello internals, I don't know if you are aware of that. I just tried to compile some pecl code. I get an error message using this with gcc 4.x if it is used like Z_BVAL(myval) = ...; That should be ZVAL_BOOL(z, ...); So, what's been some pecl code? -- Michael --

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Michael Wallner wrote: Hans Lellelid wrote: Is this DateTime comparison behavior actually intended to be different from everything else? If there's some reason that DateTime object properties cannot be compared to each other, wouldn't it be more appropriate for them to always return FALSE

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Michael Wallner wrote: + if (!o2-time-sse_uptodate) { + timelib_update_ts(o1-time, o1-time-tz_info); + } Oh my, typo warning. -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Hans Lellelid wrote: Is this DateTime comparison behavior actually intended to be different from everything else? If there's some reason that DateTime object properties cannot be compared to each other, wouldn't it be more appropriate for them to always return FALSE ? In my POV this is

Re: [PHP-DEV] Re: PHP version and Zend API Number

2007-03-21 Thread Michael Wallner
Michael B Allen wrote: The get_zend_version function returns a string like 'Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies\n'. It would be nice to be able to get the ZEND_MODULE_API_NO (e.g. 20060613) the standard module was compiled under. basic_function_module.zend_api might

Re: [PHP-DEV] PHP6 todo list

2007-04-15 Thread Michael Wallner
Stanislav Malyshev wrote: Fine, let's step back for a bit. What I want to be able to do is have objects/arrays as internal properties and constants. Can we make that possible? Last time I looked it required having persistent zvals. I think to better understand what would be required a use

Re: [PHP-DEV] PHP6 todo list

2007-04-16 Thread Michael Wallner
Stanislav Malyshev wrote: Initializing a static class resp. default instance variable with f.e. an array is an obvious use case. Err, I'm afraid I don't understand neither your abbreviations nor what the actual use case is. Can you describe real use case - i.e. module X has functionality A

[PHP-DEV] Re: PHP6 Feature Testing Debugging

2007-04-26 Thread Michael Wallner
David Coallier wrote: So here I go, what are the features and tests that YOU would like to see reported ? I am currently building a list of things that we have to test and I am wondering which are the parts you consider the most important and the most bogus/untested perhaps. There's

Re: [PHP-DEV] http arrays

2007-04-27 Thread Michael Wallner
Jochem Maas wrote: $args = array('foo' = array('bar' = array(1,2,3), 'quz' = array(1,2,3))); echo '/foo.php?'.http_build_query($args); foo.php --- 8 --- var_dump($_GET['foo']); the var_dump() output used to be a neat nested array, but since 5.1.3 [although I remember it as

Re: [PHP-DEV] http arrays

2007-04-27 Thread Michael Wallner
Jochem Maas wrote: I'll take your word on it (although I can't be sure exactly what it is that you expected), which means the change has been reverted, or the input parsing stuff has been changed to recognize escaped square brackets as if they were not escaped - I know for sure that

Re: [PHP-DEV] Setting HTTP results code vs. HTTP type

2007-05-01 Thread Michael Wallner
Uwe Schindler wrote: What we need is: 2) a function to simply set the status code without changing anything other. There's a (external) function: http://php.net/manual/en/function.http-send-status.php ...and for the unlucky: header(Dummy:, true, $status_code); But if your patch makes sense,

[PHP-DEV] Re: cvs: php-src(PHP_4_4) / NEWS /ext/mcrypt mcrypt.c /ext/mcrypt/tests bug41252.phpt

2007-05-01 Thread Michael Wallner
Derick Rethans wrote: derickTue May 1 16:07:37 2007 UTC http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.77.4.7.4.2r2=1.77.4.7.4.3diff_format=u Index: php-src/ext/mcrypt/mcrypt.c diff -u php-src/ext/mcrypt/mcrypt.c:1.77.4.7.4.2

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-03 Thread Michael Wallner
Richard Quadling wrote: How about something along these lines ... (Not pretty as I'm crap at the design - sorry). http://rquadling.php1h.com/snap.html Eeek! ;) -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Userspace stream wrappers and Unicode.

2007-05-15 Thread Michael Wallner
Richard Quadling wrote: Not being obtuse or antagonistic, just not understanding the implications of unicode, but why will unicode kill off userspace stream wrappers? It's not about unicode. It's just been argued that each userspace stream wrapper will be marked as remote stream. Regards, --

[PHP-DEV] Re: #41401 [Opn-Bgs]: Order of Operations error on divide by negative

2007-05-16 Thread Michael Wallner
[EMAIL PROTECTED] wrote: ID: 41401 Updated by: [EMAIL PROTECTED] Reported By: drlippman at yahoo dot com -Status: Open +Status: Bogus Bug Type: Math related Operating System: Windows, Linux PHP Version: 4.4.7 New Comment:

Re: [PHP-DEV] PHP 6 Preview

2007-05-16 Thread Michael Wallner
Stanislav Malyshev wrote: There's also some work to be done on supporting more of the icu functionality. It's in progress now. Where? Will it be eat it or die when you're done? There've been no replies from core developers to my postings on php-i18n about providing ResourceBundle API except a

[PHP-DEV] Re: #41401 [Opn-Bgs]: Order of Operations error on divide by negative

2007-05-16 Thread Michael Wallner
Michael Wallner wrote: Should all these three examples give the same result? ^ n't $ php -r 'var_dump(-1/2*5, 1/-2*5, 1/2*-5);' float(-2.5) float(-0.1) float(-2.5) Sorry, -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] PHP 6 Preview

2007-05-16 Thread Michael Wallner
l0t3k wrote: Michael Wallner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Where? Will it be eat it or die when you're done? There've been no replies from core developers to my postings on php-i18n about providing ResourceBundle API except a single notice from Andrei. i

Re: [PHP-DEV] Re: Help with the snaps site

2007-05-26 Thread Michael Wallner
John Mertic wrote: Hi Chris, I can see where you are coming from. I put together another version of this that entirely uses the PHP CSS templates: http://files.edin.dk/php/installer/snaps-html/index-phptemplate.html I like it, but how about using BZip2 Tarball and Zip Package etc instead

Re: [PHP-DEV] [patch] Callbacks bug/change request

2007-06-01 Thread Michael Wallner
Stanislav Malyshev wrote: the feature actually exists because we need array($obj, 'parent::func') Why/when do you need that? You'd probably do something along those lines if it were possible: ((ParentClass) $child)-virtualMethod(); If you prefer, s/You/One/ Regards, -- Michael --

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

2007-09-11 Thread Michael Wallner
Ilia Alshanetsky wrote: 1) Backport the namespaces patch for PHP 6 +1 2) Symlink the intl extension from PECL, but leave it disabled by default as is the case with all extensions dependent on external libs 0 (didn't see anything relevant of it yet) 3) Apply the Late Static Binding Patch +1

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

2007-09-11 Thread Michael Wallner
Steph Fox wrote: 18) Introduce concept of strict classes that do not permit dynamic property creation -1, this whole idea just sounds so weird for PHP. Sure, but how PHPish is this fatal error? [EMAIL PROTECTED]:~/build/php-5.2-debug$ cli -r 'class c{} c::$x=1;' Fatal error: Access to

Re: [PHP-DEV] PHP_5_3 Branched

2007-09-28 Thread Michael Wallner
Ilia Alshanetsky wrote: I am a biased party here, so take this with a grain of salt ;-) First of all, I definitely think we need 2 release masters, for 5.X tree given that there will be two active branches, at least for the next few months, there is simply too much work for one person to do.

[PHP-DEV] Re: cvs: php-src(PHP_5_2) / run-tests.php /ext/bz2/tests 005.phpt /ext/standard/tests/general_functions phpcredits.phpt phpinfo.phpt /ext/standard/tests/strings sha1.phpt /ext/zlib/tests

2007-09-28 Thread Michael Wallner
Nuno Lopes wrote: nlopess Fri Sep 14 15:28:04 2007 UTC Log: changes to run-tests.php: - change %s to %a - make %s = [^\r\n]+ - fix tests accordingly I think this is a very bad change. While tests of bundled extensions can be updated accordingly, pecl extension

[PHP-DEV] Re: using zend_parse_parameters to get an object of an externally defined class

2007-09-28 Thread Michael Wallner
alon wrote: A newbie question: How can I use zend_parse_parameters to accept object of an external class as parametr. I want for example to build a method that accepts 'DateTime' objects. But how do I initiate the zend_class_entry to specify an object of the DateTime class? The class

Re: [PHP-DEV] how declare protected array property at internal class properly

2007-10-04 Thread Michael Wallner
Denis Gabaidulin wrote: How can i do subj ? at constructor: zval *prop; /* init */ prop = zend_read_property(Z_OBJCE_P(getThis()), getThis(), prop, strlen(prop,), 1 TSRMLS_CC); array_init(prop); zval *prop; MAKE_STD_ZVAL(prop); array_init(prop);

[PHP-DEV] Re: Bug 61272

2012-11-26 Thread Michael Wallner
added to it. I contacted Michael Wallner (mike) directly because he marked the bug 'not a bug'. No response. I'm sorry that the new output control layer causes you such headaches. IIRC, 6 years back, when I implemented the new output control functionality, I kindly asked the list, whether

[PHP-DEV] Re: Bug 61272

2012-11-27 Thread Michael Wallner
On 26 November 2012 15:46, Casper Langemeijer langemei...@php.net wrote: Hmm.. I suppose It's up to me to make a strong (if possible watertight) plea for the old way. I will try: 1. I don't think my patch impacts the efficiency of php_output_clean(). It adds a single if with a binary

Re: [PHP-DEV] Bug 61272

2012-11-29 Thread Michael Wallner
On 29 November 2012 08:00, Yasuo Ohgaki yohg...@ohgaki.net wrote: I recently looked into new output code in PHP 5.4. It's MUCH nicer than older code. Good job! Appreciated! However, new code encapsulate output globals. (I mean internally) It would be nice for my extension if output globals

Re: [PHP-DEV] [PHP-RFC] Property Accessors 1.2 for Final Review before Vote

2013-01-03 Thread Michael Wallner
On 3 January 2013 17:41, Clint Priest cpri...@zerocue.com wrote: I like the idea of an init function, but that would have to wait for a further release I think, or delay this whole project a year. We have constructors, shouldn't those be sufficient for that task? -- Regards, Mike -- PHP

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Michael Wallner
On 7 February 2013 09:37, Christoph Rosse cro...@2bepublished.at wrote: Am 2013-02-07 08:45, schrieb Alexey Zakhlestin: On 07.02.2013, at 9:40, Keyur Govande keyurgova...@gmail.com wrote: Hello, I've created a new RFC to improve support for setting a CLI process' title on Linux. It is

Re: [PHP-DEV] operator-0.3 extension update

2013-02-07 Thread Michael Wallner
great, that someone is updating this extension. will you also offer an updated version for php-5.5 later (if it does not already work)? i just wanted to give it a try, but there seems to be a problem with the uploaded package: it seems to only contain the package.xml? % tar -i -- Regards,

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Michael Wallner
On 7 February 2013 13:33, Leigh lei...@gmail.com wrote: On 7 February 2013 12:22, Alexey Zakhlestin indey...@gmail.com wrote: On 07.02.2013, at 13:54, Leigh lei...@gmail.com wrote: There is a PECL extension that already does something similar. You may want to take a look at that.

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-19 Thread Michael Wallner
On 19 February 2013 13:57, Marcello Duarte mdua...@inviqa.com wrote: Inspired by Sara, here is another RFC, I finally got around to draft: https://wiki.php.net/rfc/short-syntax-for-anonymous-function Please feedback, Duh, I don't think function(){} is long. -- Regards, Mike

Re: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5

2013-02-28 Thread Michael Wallner
[...] Sorry, but I hope you are in some funny sort of mood... Mike

Re: [PHP-DEV] PHP5.5 beta 1 is ready - Fedora RPM

2013-03-23 Thread Michael Wallner
On 23 March 2013 11:14, Remi Collet r...@fedoraproject.org wrote: Le 21/03/2013 14:10, Julien Pauli a écrit : Hi Internals, PHP 5.5.0 Beta 1 has been released for testing. A few months ago, PHP 5.5 have been approved as a Fedora 19 feature [1] Despite the delay due to Zend OPcache merge, I

Re: [PHP-DEV] Questions regarding DateTimeImmutable

2013-03-25 Thread Michael Wallner
On Mar 6, 2013 4:51 PM, Nikita Popov nikita@gmail.com wrote: I'd prefer to have nothing over having something bad. +1 Can we fix this issue, please? Nikita Mike

[PHP-DEV] DateTimeImmutable

2013-03-26 Thread Michael Wallner
Hi all! I am concerned by the introduction of DateTimeImmutable extending DateTime, and despite not being the talking guy, I'll try to outline the reasons why I and obviously a lot of other people think so. I can understand the frustration with a DateTime that should not have been modifiable in

Re: [PHP-DEV] Re: Chasing an SSL stream segfault

2013-04-02 Thread Michael Wallner
On 2 April 2013 08:50, Rasmus Lerdorf ras...@lerdorf.com wrote: Looks like these ASN1_STRING_to_UTF8 ones are normal for libcrypto. Really hard to debug openssl stuff with all these Valgrind false positives. Still trying to track down the core on Centos 6.2. Looks like a weird build issue at

Re: [PHP-DEV] Re: Chasing an SSL stream segfault

2013-04-02 Thread Michael Wallner
On 2 April 2013 11:36, Michael Wallner m...@php.net wrote: On 2 April 2013 08:50, Rasmus Lerdorf ras...@lerdorf.com wrote: Looks like these ASN1_STRING_to_UTF8 ones are normal for libcrypto. Really hard to debug openssl stuff with all these Valgrind false positives. Still trying to track

Re: [PHP-DEV] Re: Chasing an SSL stream segfault

2013-04-02 Thread Michael Wallner
On 2 April 2013 11:36, Michael Wallner m...@php.net wrote: On 2 April 2013 08:50, Rasmus Lerdorf ras...@lerdorf.com wrote: Looks like these ASN1_STRING_to_UTF8 ones are normal for libcrypto. Really hard to debug openssl stuff with all these Valgrind false positives. Still trying to track

Re: [PHP-DEV] property de-referencing

2013-04-30 Thread Michael Wallner
On 30 April 2013 01:45, Rasmus Schultz ras...@mindplay.dk wrote: The characters was an arbitrary choice, just for the sake of argument. I'm not a C programmer, so I don't have a patch - there is also no RFC, but there is general interest, I'd be happy to write one. On Mon, Apr 29, 2013 at

Re: [PHP-DEV] Maintaining Phar

2013-05-27 Thread Michael Wallner
On 25 May 2013 20:48, Ferenc Kovacs tyr...@gmail.com wrote: On Sat, May 25, 2013 at 7:40 PM, Ralph Schindler ra...@ralphschindler.comwrote: I've asked previously (http://marc.info/?l=php-** internalsm=132096254304189w=**2http://marc.info/?l=php-internalsm=132096254304189w=2), but have not

Re: [PHP-DEV] 5.NEXT Integer and String type modifications

2013-06-03 Thread Michael Wallner
On 2 June 2013 11:11, Johannes Schlüter johan...@schlueters.de wrote: On Jun 2, 2013, at 8:34, Pierre Joye pierre@gmail.com wrote: Obviously there's a pretty significant ABI break here. I propose a tweak of the Z_* macros to fix that. Basically, Z_STRLEN() will cast the result to an

Re: [PHP-DEV] Internal object orientation documentation available!

2013-06-11 Thread Michael Wallner
On 10 June 2013 20:33, Nikita Popov nikita@gmail.com wrote: Hi internals! We just published some rather extensive documentation on internal object orientation: http://www.phpinternalsbook.com/classes_objects.html This is part of a larger project aimed at documenting the engine and

Re: [PHP-DEV] RFC: Protocol Type Hinting

2013-06-25 Thread Michael Wallner
On 25 June 2013 18:32, Laruence larue...@php.net wrote: On Tue, Jun 25, 2013 at 11:57 PM, Anthony Ferrara ircmax...@gmail.com wrote: Hey all, https://wiki.php.net/rfc/protocol_type_hinting What do you think? Hey: Just one question, usage? why we need this? (run-time check is slow and

Re: [PHP-DEV] RE: Announcing RFC 'Anonymous Catches'

2013-06-25 Thread Michael Wallner
On 25 June 2013 20:17, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! I don't think we need to change the language because Netbeans can't figure out how catch blocks work. This change doesn't provide any functionality that wasn't available before it, and does not make the code clearer - on

Re: [PHP-DEV] Announcing RFC 'Anonymous Catches'

2013-06-25 Thread Michael Wallner
On 25 June 2013 17:07, Nikita Popov nikita@gmail.com wrote: No opinion on leaving off $e, but I'm against the generic catch{} statement. I second the concerns about empty catch{}. -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] RE: Announcing RFC 'Anonymous Catches'

2013-06-26 Thread Michael Wallner
On 25 June 2013 22:23, Johannes Schlüter johan...@schlueters.de wrote: On Tue, 2013-06-25 at 13:19 -0700, Stas Malyshev wrote: Hi! If I'm to understand this RFC correctly, it is nothing more than a random suggestion someone posed in the form of a tweet and the author is saying why not add

Re: [PHP-DEV] pgsql: Binary data support improvement

2013-06-26 Thread Michael Wallner
Sorry, missed the list... On 26 June 2013 09:54, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi Make, 2013/6/26 Michael Wallner m...@php.net I didn't look at the code yet, but how do you know about binary format conventions of all possible types returned? Users can only specify if the result

Re: [PHP-DEV] String Size Refactor Progress

2013-07-03 Thread Michael Wallner
On Jul 3, 2013 4:12 PM, Anthony Ferrara ircmax...@gmail.com wrote: If you want to help out, please let me know and let's try to coordinate so we don't step on each other's toes... I'm with you from August 1st, at the latest! Thanks! Anthony

Re: [PHP-DEV] New handler for retrieving properties when object is serialized

2013-07-29 Thread Michael Wallner
On 27 July 2013 15:58, Jakub Zelenka bu...@php.net wrote: Alternatively, could the problem perhaps be mitigated by making available some utility functions for serializing native types? We could definitely make some parts of serializer API-accessible, or even make serializer as a whole to

[PHP-DEV] The day has come

2013-07-31 Thread Michael Wallner
Hi all! Tomorrow, August 1st 2013, is the day, it is *my* day. Some of you might already know [1] that I've been hired as a full-time PHP core developer by SmugMug. I'll officially start tomorrow. I hope that I can do a great job for all of us who need and love to use PHP. I hope that you will

Re: [PHP-DEV] phar bug #65028

2013-08-02 Thread Michael Wallner
On 24 July 2013 18:46, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! As Ferenc pointed out, Ralph volunteered for it. PHAR is too vital a part of PHP, IMHO, to be without a maintainer. Well, if he's still up to it I think we should list him as a maintainer. Ralph? So are we finally

Re: [PHP-DEV] [PATCH] [RESEND] sapi/apache2*: USe the correct API at·server startup

2013-08-02 Thread Michael Wallner
On 31 July 2013 03:39, Cristian Rodríguez crrodrig...@opensuse.org wrote: To proceed with startup at the second load only ap_query_state() must be used in newish versions of apache Hi Chrisitian! Chris Jones already mentioned a year ago, that patches on the mailing list are likely to get lost,

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-02 Thread Michael Wallner
On 3 July 2013 19:38, Ralf Lang l...@b1-systems.de wrote: Any additional action required from my side or is it just waiting for a review timeslot? I'll soon be able to merge/align it with a solution that's been running in production for years, just give me a few days. Thank you for your

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-05 Thread Michael Wallner
I have added a simple test case for Linux to verify it's basic functionality via the CLI server, and think it's ready to be merged to master to be able to test it within a wider audience. Objections, anyone? https://github.com/m6w6/php-src/compare/2Guploads Thank you Ralf! -- Regards, Mike --

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-05 Thread Michael Wallner
On 5 August 2013 14:05, Michael Wallner m...@php.net wrote: I have added a simple test case for Linux to verify it's basic functionality via the CLI server, and think it's ready to be merged to master to be able to test it within a wider audience. Objections, anyone? https://github.com/m6w6

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-05 Thread Michael Wallner
On 5 August 2013 16:19, Pierre Joye pierre@gmail.com wrote: Hi Mike, On Aug 5, 2013 3:58 PM, Michael Wallner m...@php.net wrote: On 5 August 2013 14:05, Michael Wallner m...@php.net wrote: I have added a simple test case for Linux to verify it's basic functionality via the CLI server

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-06 Thread Michael Wallner
On 5 August 2013 20:34, Michael Wallner m...@php.net wrote: On 5 August 2013 16:19, Pierre Joye pierre@gmail.com wrote: Hi Mike, On Aug 5, 2013 3:58 PM, Michael Wallner m...@php.net wrote: Johannes reminded me, that we don't have C99 stdint portable typedefs in a central PHP header file

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-08 Thread Michael Wallner
On 6 August 2013 23:00, Michael Wallner m...@php.net wrote: Alright, I rebased the 2Gupload branch against stdint: https://github.com/m6w6/php-src/compare/2Guploads https://github.com/m6w6/php-src/compare/stdint So, is everyone fine with it so far? -- Regards, Mike -- PHP Internals - PHP

Re: [PHP-DEV] Re: [RFC] Importing namespaced functions

2013-08-08 Thread Michael Wallner
On 8 August 2013 14:29, Igor Wiedler i...@wiedler.ch wrote: Hi everyone, I just wanted to bump this topic, since there's not been much feedback during the last few weeks. Comments on the patch are also welcome. RFC: https://wiki.php.net/rfc/use_function Patch:

Re: [PHP-DEV] RFC: constructor argument promotion

2013-08-08 Thread Michael Wallner
On 8 August 2013 17:16, Leigh lei...@gmail.com wrote: On 8 August 2013 14:12, Matthieu Napoli matth...@mnapoli.fr wrote: class MyClass { public $foo; protected $bar; public function __construct($this-foo, $this-bar, $baz) { // $this-foo and $this-bar are now set This actually

Re: [PHP-DEV] I want to work against Bug 44522 - Upload limit 2G

2013-08-08 Thread Michael Wallner
On 8 August 2013 14:44, Kalle Sommer Nielsen ka...@php.net wrote: Hi Michael 2013/8/8 Michael Wallner m...@php.net: On 6 August 2013 23:00, Michael Wallner m...@php.net wrote: Alright, I rebased the 2Gupload branch against stdint: https://github.com/m6w6/php-src/compare/2Guploads https

[PHP-DEV] zend bison check

2013-08-08 Thread Michael Wallner
As I have no Zend karma, is anybody kind enough to merge the bison blacklist patch? https://github.com/php/php-src/pull/402 -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP 5.5.2 RC1 is tagged

2013-08-08 Thread Michael Wallner
On 5 August 2013 17:46, Christopher Jones christopher.jo...@oracle.com wrote: On 8/5/13 8:12 AM, Jan Ehrhardt wrote: Julien Pauli in php.internals (Fri, 2 Aug 2013 10:05:00 +0200): Please test the release carefully and report any bugs. What is the best way to report things that are so

Re: [PHP-DEV] Re: PHP 5.5.2 RC1 is tagged

2013-08-08 Thread Michael Wallner
On 8 August 2013 21:04, Michael Wallner m...@php.net wrote: On 5 August 2013 17:46, Christopher Jones christopher.jo...@oracle.com wrote: On 8/5/13 8:12 AM, Jan Ehrhardt wrote: What is the best way to report things that are so small that opening an issue would be overkill? Submit pull

Re: [PHP-DEV] zend bison check

2013-08-09 Thread Michael Wallner
keis...@gmail.com wrote: On 08/08/13 20:56, Michael Wallner wrote: As I have no Zend karma, is anybody kind enough to merge the bison blacklist patch? https://github.com/php/php-src/pull/402 Maybe it should be bison_version_exclude=none so that the error message is nicer? Thank you, I

[PHP-DEV] Re: [PHP-CVS] com php-src: Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.: main/SAPI.h main/rfc1867.c sapi/cgi/cgi_main.c

2013-08-11 Thread Michael Wallner
On Aug 11, 2013 4:42 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Hi Mike, I got test failures on session module. I guess it's related to your change. Could you take a look? For me (64-bit linux) test upload_2G.phpt also fails with this output: Test PHP 5.6.0-dev

[PHP-DEV] Re: [PHP-CVS] com php-src: Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.: main/SAPI.h main/rfc1867.c sapi/cgi/cgi_main.c

2013-08-11 Thread Michael Wallner
On a side note: all these tests pass for me on Linux/gcc and FreeBSD/clang, yet I'm still working on a Solaris/SunC build environment. On 11 August 2013 21:07, Michael Wallner m...@php.net wrote: On Aug 11, 2013 4:42 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Hi Mike, I got

Re: [PHP-DEV] [RFC] Constant Scalar Expressions

2013-08-14 Thread Michael Wallner
On 14 August 2013 11:01, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! https://wiki.php.net/rfc/const_scalar_expressions I like the idea, but absence of constant support makes this thing much less useful, as you can't do things like: public $angle = M_PI/2; I think this is one of the

Re: [PHP-DEV] Interest in a null SAPI for embedding?

2013-08-19 Thread Michael Wallner
On 19 August 2013 20:12, J David j.david.li...@gmail.com wrote: The big preliminary question for me would be, Is there a specific design reason why it isn't currently done this way? PHP already requires shlib's that depend on shlib's, so that functionality is probably universally available,

[PHP-DEV] Re: [PHP-CVS] com php-src: Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.: main/SAPI.h main/rfc1867.c sapi/cgi/cgi_main.c

2013-08-19 Thread Michael Wallner
On 19 August 2013 00:01, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Listening on http://localhost:8964 Document root is /home/smalyshev/php-src/sapi/cli/tests Press Ctrl-C to quit. Quite strange... Why is the server's output shown here? I don't know, but this is what happens with

Re: [PHP-DEV] [RFC] Importing namespaced functions

2013-08-21 Thread Michael Wallner
On 20 August 2013 23:29, Igor Wiedler i...@wiedler.ch wrote: Hi Stas, Thanks for the notes. I will address these issues, hopefully during the next few days. Nay news on that? -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] Re: [PHP-CVS] com php-src: Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.: main/SAPI.h main/rfc1867.c sapi/cgi/cgi_main.c

2013-08-27 Thread Michael Wallner
Stas, does this problem still persist for you? On 19 August 2013 22:05, Michael Wallner m...@php.net wrote: On 19 August 2013 00:01, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Listening on http://localhost:8964 Document root is /home/smalyshev/php-src/sapi/cli/tests Press Ctrl-C

[PHP-DEV] PROPOSAL: temp stream for post_data

2013-08-27 Thread Michael Wallner
Hi, I prepared a patch to replace sapi_globals' request_info post_data and raw_post_data with a temp stream and remove support for HTTP_RAW_POST_DATA. [1] PROS: * save up to 300% on post_data_len memory (on non-form POSTs) * a local siege (c=512/512, 2.4k form/2.2k json) showed no (negative)

Re: [PHP-DEV] PROPOSAL: temp stream for post_data

2013-08-28 Thread Michael Wallner
Hi Gustavo, thank you for your review! On 27 August 2013 23:17, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: On 27-08-2013 14:08, Michael Wallner wrote: Hi, I prepared a patch to replace sapi_globals' request_info post_data and raw_post_data with a temp stream and remove support

[PHP-DEV] RM decision on BUG #55801 / FR #36424

2011-10-04 Thread Michael Wallner
Hi, could the release manager(s) please take a decision on mentioned bug/feature request? Thanks a lot, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RM decision on BUG #55801 / FR #36424

2011-10-07 Thread Michael Wallner
Hi Stas, On Thu, 06 Oct 2011 17:26:49 +0200, Stas Malyshev wrote: Could you give a quick summary of what the decision point is just so I won't miss anything scanning through the discussion and these bugs? In r299770 [1] I introduced a global var_hash to serialize() so that recursive calls to

Re: [PHP-DEV] RM decision on BUG #55801 / FR #36424

2011-10-18 Thread Michael Wallner
On Sat, 15 Oct 2011 17:06:19 -0700, Stas Malyshev wrote: Hi! So, what is the status of this? I think we better revert it for 5.4 and look for solution that does not mess up existing code. Hi there! Yes, I received your mails, sorry for being quiet! I cooked up a patch which uses clean

  1   2   3   4   5   6   7   >