Re: [PHP-DEV] [RFC] Add json_encode indent parameter

2022-07-04 Thread Peter Cowburn
On Mon, 4 Jul 2022 at 11:11, Jakub Zelenka wrote: > On Mon, Jul 4, 2022 at 8:38 AM Timon de Groot > wrote: > > > Hi internals, > > > > If the rest also thinks the RFC is good to go, I suggest we start a vote > > coming week. > > As this is my first RFC, I'm not so sure how this typically gets

Re: [PHP-DEV] Revisiting Userland Operator Overloads

2021-08-09 Thread Peter Cowburn
On Mon, 9 Aug 2021 at 18:48, Jordan LeDoux wrote: > > You claim that this would be documented on php.net and this would be > sufficient. Yet the DateTime class has had operator overloads for > comparison operators since 5.2 and there is still *zero* mention on > php.net > (that I am aware of or

Re: [PHP-DEV] [VOTE] Add PDO function: mysqlGetWarningCount

2021-07-26 Thread Peter Cowburn
> > On Jul 6, 2021, at 08:34, Daniel Beardsley wrote: Voting will be open till 2020-07-21 > This date has passed, yet the vote is still ongoing. Daniel, could you please close the vote and do the usual follow up tasks? If Daniel is unavailable, what is the process for *someone else* doing

Re: [PHP-DEV] Vote!

2021-07-06 Thread Peter Cowburn
Hi Daniel, Please create a new email thread, with the tag [VOTE] in the subject along with the name of your RFC: "[VOTE] Add PDO function: mysqlGetWarningCount" Threads with ambiguous titles like this one (subject is just "Vote!") are likely to be overlooked / ignored. It would also have been

Re: [PHP-DEV] Re: edit.php.net is down

2020-08-02 Thread Peter Cowburn
On Thu, 30 Jul 2020 at 13:30, Сергей Пантелеев wrote: > Thanks, Peter! > > PR was merged. > > Now, should we use https://edit-new.php.net/ or edit php.net zone like > that ( > https://github.com/saundefined/systems/commit/955c6145933b59a67237c5257766aa1ff5ee225c > )? > Neither, not until the

Re: [PHP-DEV] [RFC] [Discussion] Shorter Attribute Syntax Change

2020-07-28 Thread Peter Cowburn
(Top posting because... sue me.) I hereby propose to use @[] syntax for attributes. No need to vote; it's clearly the best, nay only, real option. Make it so. P.S. Sorry for suggesting @@ earlier, I've no idea what I was thinking. Creating new syntax is HARD! P.P.S. <3 On Tue, 28 Jul 2020 at

Re: [PHP-DEV] Re: [VOTE] Attributes v2 RFC Vote is open

2020-04-21 Thread Peter Cowburn
On Mon, 20 Apr 2020 at 22:36, Marco Pivetta wrote: > Hey Andrea, > > On Mon, Apr 20, 2020, 23:25 Andrea Faulds wrote: > > > Hi, > > > > Benjamin Eberlei wrote: > > > Hello, > > > > > > I have opened the vote on the Attributes v2 RFC. The voting will be > open > > > until two weeks from now, May

Re: [PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-15 Thread Peter Cowburn
On Wed, 15 Jan 2020 at 09:33, Nicolas Grekas wrote: > Le mer. 15 janv. 2020 à 08:36, Pierre Joye a écrit > : > > > Good afternoon, > > > > What a bold rejection, a bit surprising. > > > > For one, there is a consensus on key community having a vote right since > we > > introduced rfc. We have

Re: [PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-14 Thread Peter Cowburn
On Tue, 14 Jan 2020 at 12:27, Nicolas Grekas wrote: > Le mar. 14 janv. 2020 à 13:20, PHP Group a écrit : > > > VCS Account Rejected: nicolasgrekas rejected by salathe /o\ > > > > So, what's the process to get a vote now? > Do I need sponsor? Something else? > Hi, While the notion of community

Re: [PHP-DEV] Re: Changelog / upgrading notes for promoted warnings

2019-12-20 Thread Peter Cowburn
On Fri, 20 Dec 2019 at 09:31, Rowan Tommins wrote: > On Fri, 20 Dec 2019 at 08:37, Christoph M. Becker > wrote: > > > Maybe a sensible compromise would be to assemble a detailed list of > > these changes, and to hand it over to the doc team at some point, so > > that the manual pages could

Re: [PHP-DEV] Re: [VOTE] Reclassifying engine warnings

2019-09-26 Thread Peter Cowburn
On Thu, 26 Sep 2019 at 08:42, Nikita Popov wrote: > On Thu, Sep 12, 2019 at 2:17 PM Nikita Popov wrote: > > > Hi internals, > > > > I've opened the vote on //wiki.php.net/rfc/engine_warnings. > > > > There are 4 votes, all of them independent. The first 3 are for specific > > cases that were

Re: [PHP-DEV] Offtopic discussions

2019-09-13 Thread Peter Cowburn
On Fri, 13 Sep 2019 at 09:30, Brent wrote: > Hello all > > I've noticed a trend in many threads here on the internals list where an > RFC is being discussed, but one way or another we always end up with the > same offtopic conversation about how PHP should evolve. While I think this > is a good

Re: [PHP-DEV] Counterargument to Short Tags Deprecation (was: Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2)

2019-08-06 Thread Peter Cowburn
On Mon, 5 Aug 2019 at 23:51, Zeev Suraski wrote: > On Mon, Aug 5, 2019 at 10:05 PM G. P. B. wrote: > > > > > I'd prefer Dan's approach and having a seperate page linked at the top of > > the RFC. > > > > I'll start voting tomorrow and will link to your page in the same message > > as the voting

Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2

2019-07-24 Thread Peter Cowburn
On Wed, 24 Jul 2019 at 13:21, Nikita Popov wrote: > On Tue, Jul 23, 2019 at 11:40 PM Peter Cowburn > wrote: > >> >> >> On Tue, 23 Jul 2019 at 22:03, Nikita Popov wrote: >> >>> On Tue, Jul 23, 2019 at 9:10 PM Rowan Collins >>> wrot

Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2

2019-07-23 Thread Peter Cowburn
On Tue, 23 Jul 2019 at 22:03, Nikita Popov wrote: > On Tue, Jul 23, 2019 at 9:10 PM Rowan Collins > wrote: > > > On 23 July 2019 18:54:48 BST, "G. P. B." > wrote: > > >The only point of contention of this RFC that I potentially see is the > > >removal in PHP 8.1 after short open tags being a

Re: [PHP-DEV] Bugsnet: Quick fix descriptions

2019-07-18 Thread Peter Cowburn
On Thu, 18 Jul 2019 at 12:10, Christoph M. Becker wrote: > On 18.07.2019 at 01:14, Stanislav Malyshev wrote: > > >> the quick fix descriptions of bugs.php.net[1] need some update. To my > >> knowledge, these come from the database, so could anybody with access to > >> it please take a look? > >

Re: [PHP-DEV] [VOTE] Voting opens for str_starts_with and ends_with functions

2019-07-05 Thread Peter Cowburn
On Fri, 5 Jul 2019 at 05:17, Theodore Brown wrote: > On Thu, July 4, 2019 at 9:13 PM Will wrote: > > > After 15 days of discussion I have opened up voting on the following RFC > > (https://wiki.php.net/rfc/add_str_begin_and_end_functions) . > > > > You can access the voting page here: > >

Re: [PHP-DEV] Re: Checkout phpdoc

2019-06-25 Thread Peter Cowburn
+Sascha On Tue, 25 Jun 2019 at 08:46, Christoph M. Becker wrote: > On 25.06.2019 at 04:43, Arnold Daniels wrote: > > > I'm trying to checkout phpdoc using SVN, but I'm getting the error > "Unexpected HTTP status 421 'Misdirected Request'". > > > > Is something broken? Or am I doing it wrong? >

Re: [PHP-DEV] Using [ci skip]

2019-06-07 Thread Peter Cowburn
On Fri, 7 Jun 2019 at 12:09, Joe Watkins wrote: > Oh to be absolutely clear, I'm talking about commits that *only* touch > these non-source files ... > > Cheers > Joe > > On Fri, 7 Jun 2019 at 13:07, Joe Watkins wrote: > > > Hi Marco, > > > > It wasn't a topic for discussion, it was a request

Re: [PHP-DEV] Removing mysqlnd stats from phpinfo

2019-05-17 Thread Peter Cowburn
On Fri, 17 May 2019 at 09:15, Claude Pache wrote: > > > > Le 17 mai 2019 à 09:35, Peter Bowyer a > écrit : > > > > This could be a good time to make all blocks on the page collapsible, > with > > a "Collapse/Expand all" link added at the top. > > > > All added as progressive enhancement, so

Re: [PHP-DEV] POC: Docker container with support for PHP and Nginx based on Debian Stretch

2019-04-30 Thread Peter Cowburn
Hi Jan, On Tue, 30 Apr 2019 at 19:51, Jan Malaník wrote: > Hi, > I'd like to introduce new variant of PHP Docker image with support for > Nginx webserver based on Debian Stretch. > I'm not sure if this is managed by you. The Docker "Official image" for PHP is not maintained by the PHP

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-11 Thread Peter Cowburn
On Wed, 10 Apr 2019 at 11:44, G. P. B. wrote: > Hello Internals, > > As there have been no further comments the voting for my RFC [1] to > deprecate PHP's > short open tags has started and will run for two (2) weeks. > Firstly, I apologize for not mentioning this before the vote was opened.

Re: [PHP-DEV] Re: [VOTE] RFC: Unbundle ext/wddx

2019-02-25 Thread Peter Cowburn
On Mon, 25 Feb 2019 at 11:29, Joe Watkins wrote: > Whoever creates the pecl package would be listed as maintainer, which may > explain silence :) > > I'm not sure who has karma for creating repos on git.php.net either, I > may ? > FYI: dsp bjori rasmus tyrael johannes nikic salathe > > Cheers

Re: [PHP-DEV] Wiki account gone missing?

2018-09-11 Thread Peter Cowburn
On 11 September 2018 at 16:22, Colin O'Dell wrote: > Hello Internals, > > I seem to be unable to access my wiki account (colinodell / > colinod...@php.net). My credentials are not being accepted and the > password reset functionality does not recognize my username. I am therefore unable to

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions

2018-06-18 Thread Peter Cowburn
On 17 June 2018 at 20:43, Stanislav Malyshev wrote: > Hi! > > I would like to open the vote for the RFC about cleaning up the > unmaintained extensions: > > https://wiki.php.net/rfc/umaintained_ejkxtensions > > > The vote ends 2018-06-26 23:59

Re: [PHP-DEV] RE: Requesting php-src Karma

2018-01-26 Thread Peter Cowburn
On 26 January 2018 at 20:02, Anatol Belski wrote: > Hi, > > > -Original Message- > > From: Thomas Punt [mailto:tp...@hotmail.co.uk] > > Sent: Thursday, January 25, 2018 11:41 PM > > To: PHP internals list > > Subject: [PHP-DEV] Requesting php-src

Re: [PHP-DEV] RE: High resolution timer function

2018-01-02 Thread Peter Cowburn
On 2 January 2018 at 10:43, Anatol Belski wrote: > Hi, > > > -Original Message- > > From: Anatol Belski [mailto:weltl...@outlook.de] On Behalf Of Anatol > Belski > > Sent: Saturday, December 16, 2017 3:03 PM > > To: internals@lists.php.net > > Cc: Niklas Keller

Re: [PHP-DEV] Outstanding php.net account requests

2017-12-08 Thread Peter Cowburn
On 5 December 2017 at 13:57, Christoph M. Becker wrote: > On 05.12.2017 at 14:34, Pedro Magalhães wrote: > > > On Tue, Dec 5, 2017 at 12:49 PM, Johannes Schlüter < > johan...@schlueters.de> > > wrote: > > > >> we currently have 118 outstanding php.net account requests going

Re: [PHP-DEV] [RFC][VOTE] Flexible Heredoc and Nowdoc Syntaxes (voting restarted)

2017-11-02 Thread Peter Cowburn
On 2 November 2017 at 11:35, Thomas Punt wrote: > Hi all, > > > > I would add that this is particularly important on an RFC with two or > more votes. On most RFCs, the voting question is implied to be "accept the > change/feature as described above", but as soon as you have

Re: [PHP-DEV] [RFC] [Discussion] Allow a trailing comma in function calls

2017-10-27 Thread Peter Cowburn
On 24 October 2017 at 17:14, Sara Golemon <poll...@php.net> wrote: > On Tue, Oct 24, 2017 at 11:37 AM, Peter Cowburn <petercowb...@gmail.com> > wrote: > > I know it's late in the game, but I have a quick question. This RFC > > includes a couple of "Not really

Re: [PHP-DEV] [RFC] [Discussion] Allow a trailing comma in function calls

2017-10-24 Thread Peter Cowburn
On 7 October 2017 at 19:34, Sammy Kaye Powers wrote: > Hello internals friends! > > The RFC to allow a trailing comma in function calls is up for discussion: > > https://wiki.php.net/rfc/trailing-comma-function-calls > > Summary: > > - Targets PHP 7.3 > - The previous vote on

Re: [PHP-DEV] list server broken -> Fwd: ezmlm warning

2017-07-24 Thread Peter Cowburn
On 24 July 2017 at 22:55, li...@rhsoft.net wrote: > what is that for nosense? > > "550-Spammy URLs in your message" is for sure *not* a response from our > mailserver sicne i am the guy who implemented the spamfilter and knows > every single possible reject message > That

Re: [PHP-DEV] Namespaces in Core

2017-02-06 Thread Peter Cowburn
On 6 February 2017 at 17:21, Fleshgrinder wrote: > Hey guys! :) > > First: I like namespaces in Core but here me out! > > https://wiki.php.net/rfc/libsodium > > The second vote is clearly going to be that this new feature is added to > the core with a namespace. I already

Re: [PHP-DEV] Unsubscribe request

2017-01-11 Thread Peter Cowburn
On 11 January 2017 at 13:42, Javier Rubio wrote: > Hello, > > Can you please unsubscribe my email for that list? > Unsubscription is self-service. The two easiest ways to unsubscribe are: 1. Send an email to internals-unsubscr...@lists.php.net from the subscribed email

Re: [PHP-DEV] [RFC] Abolish 50%+1 Votes

2016-11-19 Thread Peter Cowburn
On 19 November 2016 at 10:45, Pierre Joye wrote: > On Nov 19, 2016 11:34 AM, "Joe Watkins" wrote: > > > > Morning Pierre, > > > > Sorry, but yes. > > > > http://wiki.php.net/rfc/voting > > > > > There'd be a minimum of 2 weeks between when an RFC

Re: [PHP-DEV] Re: VCS Account Request: emir

2016-11-18 Thread Peter Cowburn
On 18 November 2016 at 14:33, PHP Group wrote: > VCS Account Approved: emir approved by cmb \o/ > > Why? We don't even know what karma he's going to need. There's very little point in having an account without that. > > -- > PHP Internals - PHP Runtime Development Mailing List >

Re: [PHP-DEV] VCS Account Request: emir

2016-11-11 Thread Peter Cowburn
On 10 November 2016 at 16:41, Christoph M. Becker wrote: > On 10.11.2016 at 15:32, Dejan Marjanovic wrote: > > > Please approve this request. @salathe @bjori > > > > On Fri, Sep 16, 2016 at 3:19 PM, Emir Beganović < > beganovic.e...@gmail.com> > > wrote: > > > >> Contributing

Re: [PHP-DEV] [RFC][VOTE] Object typehint

2016-11-10 Thread Peter Cowburn
read to make that announcement (I think it may be > better) ? > No, it's fine IMO (and is the norm) to just have a message in the [VOTE] thread. I simply missed Michał saying he was closing the vote, when skimming the thread this morning, so thanks for pointing it out. :) > > Cheers >

Re: [PHP-DEV] [RFC][VOTE] Object typehint

2016-11-10 Thread Peter Cowburn
On 10 November 2016 at 09:11, Niklas Keller wrote: > 2016-11-09 21:53 GMT+01:00 Christoph M. Becker : > > > On 09.11.2016 at 17:28, Joe Watkins wrote: > > > > > I want to explain why I voted no on this: > > > > > > I think it's significantly less

Re: [PHP-DEV] Set object properties inline

2016-06-01 Thread Peter Cowburn
On 1 June 2016 at 03:15, Jesse Schalken wrote: > Hi internals, > > I often have code dealing with plain old PHP objects with properties and no > methods, either as a substitute for keyword arguments, or to represent a > JSON or YAML document for a web service,

Re: [PHP-DEV] [VOTE] 7.1 RMs selection

2016-04-26 Thread Peter Cowburn
On 26 April 2016 at 17:48, Julien Pauli wrote: > On Tue, Apr 26, 2016 at 6:37 PM, Michael Wallner wrote: > > On 26/04/16 17:59, Anatol Belski wrote: > >> Hi, > >> > >> herewith I would like to call everyone to go vote for the 7.1 RMs team. > The > >> poll is opened

Re: [PHP-DEV] [RFC] [VOTE] PHP 5's Support Timeline

2016-01-13 Thread Peter Cowburn
On 13 January 2016 at 13:16, Bob Weinand wrote: > I agree, > > no votes should be meaning "I want as less as possible support". > Counting it that way would make it up for a tie and us choosing the most > restrictive schedule as a result. > (Interpreting it like "you need

Re: [PHP-DEV] Re: Anonymous voting on wiki

2016-01-11 Thread Peter Cowburn
On 11 January 2016 at 12:14, Zeev Suraski wrote: > > > > -Original Message- > > From: Stanislav Malyshev [mailto:smalys...@gmail.com] > > Sent: Sunday, January 10, 2016 12:00 AM > > To: Andrea Faulds ; internals@lists.php.net > > Subject: Re: [PHP-DEV] Re:

Re: [PHP-DEV] INI_SCANNER_TYPED: New in PHP 5.6 or PHP 7?

2015-12-01 Thread Peter Cowburn
Hi Sebastian, On 1 December 2015 at 09:11, Sebastian Bergmann wrote: > According to UPGRADING [1], INI_SCANNER_TYPED was added in PHP 7: > >"- parse_ini_file(): > - parse_ini_string(): > . Added scanner mode INI_SCANNER_TYPED to yield typed > .ini

[PHP-DEV] static:: and PHP 7 (from bug #70997)

2015-11-30 Thread Peter Cowburn
Hi internals, I'm looking for some feedback on a change with regard to static::, which has been present throughout the 7 branch. Have a look-see at https://bugs.php.net/bug.php?id=70997 test(); ?> In PHP 7 it dumps true, in PHP 5 false. I'm looking for info on when, where, why it was

[PHP-DEV] Re: static:: and PHP 7 (from bug #70997)

2015-11-30 Thread Peter Cowburn
On 30 November 2015 at 12:16, Peter Cowburn <petercowb...@gmail.com> wrote: > Hi internals, > > I'm looking for some feedback on a change with regard to static::, which > has been present throughout the 7 branch. > > Have a look-see at https://bugs.php.net/bug.p

[PHP-DEV] PhpStorm Open Source Licenses 2015/16

2015-11-08 Thread Peter Cowburn
Hi folks, It's that time of year again. If you are using our PhpStorm license, you've probably been prompted about it expiring in December. JetBrains have kindly offered their open source license to us again, and as usual all details are on the wiki*.

[PHP-DEV] Re: [PHP-WEBMASTER] PhpStorm Open Source Licenses 2015/16

2015-11-08 Thread Peter Cowburn
On 8 November 2015 at 20:53, Christopher Jones <christopher.jo...@oracle.com > wrote: > > > On 9/11/2015 7:01 am, Peter Cowburn wrote: > >> Hi folks, >> >> It's that time of year again. If you are using our PhpStorm license, >> you've >> prob

Re: [PHP-DEV] Scalar type hints and scalar type name aliases cause confuson

2015-10-14 Thread Peter Cowburn
On 13 October 2015 at 23:49, Andrea Faulds wrote: > Hi Adam, > > Adam Harvey wrote: > >> (Sorry Andrea, I'm picking on your e-mail because it's easiest, but >> it's a general response to the thread.) >> > > Ah, don't worry about it. > > I agree that we should do something, but I

Re: [PHP-DEV] Scalar type hints and scalar type name aliases cause confuson

2015-10-13 Thread Peter Cowburn
On 12 October 2015 at 20:23, Andrea Faulds wrote: > Hi, > > As PHP 7 currently is, if you write this: > > public function foo(): integer { > return 12; > } > $bar = foo(); > > you'll get the following error: > > Fatal error: Uncaught TypeError: Return value

Re: [PHP-DEV] Scalar type hints and scalar type name aliases cause confuson

2015-10-13 Thread Peter Cowburn
On 13 October 2015 at 11:59, Andrea Faulds <a...@ajf.me> wrote: > Hi Peter, > > Peter Cowburn wrote: > >> I would much rather we use the full names for these types across the >> board. >> > > I would mostly agree with you. Using the full English names

[PHP-DEV] Strings, invalid escape sequences and parse errors

2015-10-02 Thread Peter Cowburn
Happy Friday, internals! Prior to PHP 7, any "invalid" escape sequences within strings (as far as I can see) were ignored and the characters treated literally. For example: "\xGG" ("broken" hex sequence) gives "\xGG", "\99" ("broken" octal sequence) gives "\99", "\m" (not a recognised sequence at

Re: [PHP-DEV] set_exception_handler catches all Throwables

2015-08-19 Thread Peter Cowburn
On 17 August 2015 at 15:24, Sebastian Bergmann sebast...@php.net wrote: Am 17.08.2015 um 16:00 schrieb Derick Rethans: Actually, I don't call this intended. This is just as much as a BC break as the original implementation where Errors where also Exceptions. IMO, set_exception_handler()

Re: [PHP-DEV] [RFC][VOTE] Improved Error Callback Mechanism

2015-06-10 Thread Peter Cowburn
On 28 April 2015 at 14:24, Olivier Garcia oliviergar...@php.net wrote: Dear Internals, The Improved Error Callback Mechanism RFC is now in voting phase. You can cast your vote on the Wiki [1] and the according patch is available as a Pull Request [2]. Vote will be open for two weeks,

Re: [PHP-DEV] error git push - You have insufficient Karma for gtk-src.git!

2015-06-07 Thread Peter Cowburn
On 7 June 2015 at 14:14, Alexandre Pereira Bühler alexan...@simaoebuhler.com.br wrote: Kaplan, Good day, I already have karma to push in http://git.php.net/?p=web/gtk.git;a=summary See: https://people.php.net/user.php?username=buhlerax The problem is that the php-gtk project is half

Re: [PHP-DEV] Soft-reserve void class name

2015-05-19 Thread Peter Cowburn
On 19 May 2015 at 17:16, Levi Morrison le...@php.net wrote: I strongly disagree with this action. These types required an RFC; why should this be different? Also note that neither of the reserve typename RFC were unanimous. Furthermore, we are past the RFC stage. We are *supposed to already

Re: [PHP-DEV] PDO Oracle driver

2015-04-22 Thread Peter Cowburn
cc-ing doc list On 22 April 2015 at 10:40, Stelian Mocanita stelian.mocan...@gmail.com wrote: Hello internals, I would like to ask what on your thoughts on removing the Oracle drive for PDO from the documentation (http://us1.php.net/manual/en/ref.pdo-oci.php) at least since it's been

Re: [PHP-DEV] PDO Oracle driver

2015-04-22 Thread Peter Cowburn
On 22 April 2015 at 11:24, Peter Cowburn petercowb...@gmail.com wrote: cc-ing doc list On 22 April 2015 at 10:40, Stelian Mocanita stelian.mocan...@gmail.com wrote: Hello internals, I would like to ask what on your thoughts on removing the Oracle drive for PDO from the documentation

Re: [PHP-DEV] PDO Oracle driver

2015-04-22 Thread Peter Cowburn
, Stelian On Wed, Apr 22, 2015 at 12:34 PM, Peter Cowburn petercowb...@gmail.com wrote: On 22 April 2015 at 11:24, Peter Cowburn petercowb...@gmail.com wrote: cc-ing doc list On 22 April 2015 at 10:40, Stelian Mocanita stelian.mocan...@gmail.com wrote: Hello internals, I would like

[PHP-DEV] To RFC or Not To RFC [was Re: [PHP-DEV] 回复: [RFC][DISCUSSION] Add preg_replace_callback_array function]

2015-03-21 Thread Peter Cowburn
On 21 March 2015 at 08:14, Xinchen Hui larue...@php.net wrote: Hey: On Fri, Mar 20, 2015 at 9:14 PM, Xinchen Hui larue...@php.net wrote: Hey: On Fri, Mar 20, 2015 at 7:53 PM, Alain Williams a...@phcomp.co.uk wrote: On Fri, Mar 20, 2015 at 10:46:58PM +1100, Pierre Joye wrote: On Fri,

Re: [PHP-DEV] [VOTE] Reserve even more type hints

2015-03-17 Thread Peter Cowburn
On 17 March 2015 at 08:02, Sanford Whiteman figureone...@gmail.com wrote: rather than having a single untyped parameter amongst typed ones Yes, when experimenting with strict types, I'd rather move things in and out of 'mixed' than remove the notation completely. Like you said, 'mixed'

Re: [PHP-DEV] Voting irregularities

2015-03-16 Thread Peter Cowburn
On 15 March 2015 at 15:23, Levi Morrison le...@php.net wrote: On Sun, Mar 15, 2015 at 8:29 AM, Michael Wallner m...@php.net wrote: On 15 03 2015, at 15:19, Anthony Ferrara ircmax...@gmail.com wrote: All, I ran some numbers on the current votes of the dual-mode vote right now. There

Re: [PHP-DEV] [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-16 Thread Peter Cowburn
On 16 March 2015 at 01:40, Wei Dai zxcvda...@gmail.com wrote: Hi internals, The RFC to add a user-land function for an easy-to-use and reliable preg_replace_callback_array() in PHP is up for discussion: https://wiki.php.net/rfc/preg_replace_callback_array This proposes adding one function:

Re: [PHP-DEV] [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-16 Thread Peter Cowburn
On 16 March 2015 at 14:59, Xinchen Hui larue...@php.net wrote: Hey: On Mon, Mar 16, 2015 at 5:45 PM, Peter Cowburn petercowb...@gmail.com wrote: On 16 March 2015 at 01:40, Wei Dai zxcvda...@gmail.com wrote: Hi internals, The RFC to add a user-land function for an easy-to-use

Re: [PHP-DEV] [VOTE] Reclassify E_STRICT notices

2015-03-16 Thread Peter Cowburn
On 15 March 2015 at 15:46, Nikita Popov nikita@gmail.com wrote: Hi internals! To ensure we have no shortage of new RFC votes... https://wiki.php.net/rfc/reclassify_e_strict#vote Voting is open for ten days :) Nikita, don't forget to start a new thread with the tag [VOTE] in the

Re: [PHP-DEV] Reviving scalar type hints

2015-02-16 Thread Peter Cowburn
On 16 February 2015 at 16:42, François Laupretre franc...@php.net wrote: Hi, De : Arvids Godjuks [mailto:arvids.godj...@gmail.com] The 0.1 RFC version was mentioned a lot as a good compromise by many people and had major support. Maybe someone competent could pick it up, make

Re: [PHP-DEV][RFC][VOTE] Group Use Declarations

2015-02-11 Thread Peter Cowburn
Hi Marcio, On 11 February 2015 at 20:50, Marcio Almada marcio.w...@gmail.com wrote: Hi internals! Since no new discussion topics appeared, the voting on the Group Use Declarations RFC for PHP7 is now open: RFC: https://wiki.php.net/rfc/group_use_declarations#votes Patch:

Re: [PHP-DEV] [RFC] Vote results for default ctors RFC

2015-01-25 Thread Peter Cowburn
On 25 January 2015 at 10:52, Paul Dragoonis dragoo...@gmail.com wrote: Hi Stas, Maybe a cool wiki feature addition is: once people vote they could optionally leave a comment right there on the wiki, which we could collect and read. Thoughts? That's what the mailing list threads are for,

Re: [PHP-DEV] [RFC] Vote results for default ctors RFC

2015-01-25 Thread Peter Cowburn
On 25 January 2015 at 15:44, Dan Ackroyd dan...@basereality.com wrote: On 25 January 2015 at 11:26, Peter Cowburn petercowb...@gmail.com wrote: That's what the mailing list threads are for, right? If someone has already said a reason on the list for why an RFC should be voted no, when

Re: [PHP-DEV] Class constructor behaviour

2015-01-18 Thread Peter Cowburn
On 19 January 2015 at 05:48, Stanislav Malyshev smalys...@gmail.com wrote: Hi! A constructor that fails is a hard failure (factory method failed to produce the expected value), and is an exceptional case that can or cannot be handled (via catch). It's not just a failed operation

Re: [PHP-DEV] PHP 5.4.35's ChangLog is misplaced

2014-12-03 Thread Peter Cowburn
On 3 December 2014 at 14:25, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Dec 3, 2014 at 2:44 PM, Lior Kaplan lio...@zend.com wrote: Fixed. (allow a few minutes for the change to take affect). Hi, I did not fix it, because I'm not sure it is a policy that when multiple php

Re: [PHP-DEV] Conversion of SplFileInfo instances to boolean

2014-12-03 Thread Peter Cowburn
On 3 December 2014 at 20:35, Christoph Becker cmbecke...@gmx.de wrote: Hello internals, today I stumbled over issue #65213[1] which has been reported as a bug, but was changed to a feature request without any hint why the conversion of SplFileInfo instances to boolean throws a catchable

Re: [PHP-DEV] [RFC] GitHub Pull Requests Triage Team

2014-10-31 Thread Peter Cowburn
On 30 October 2014 21:57, John Bafford jbaff...@zort.net wrote: Hi, I would like to propose the creation of a team to triage the pull requests on GitHub, to help ensure that the pull requests are handled in a timely manner. I am also volunteering to lead such a team, should the RFC be

Re: [PHP-DEV] [PR] DateTime RFC7231 constant

2014-10-30 Thread Peter Cowburn
On 30 October 2014 11:26, Andrea Faulds a...@ajf.me wrote: On 30 Oct 2014, at 07:03, Trevor Suarez ric...@gmail.com wrote: Good early morning (late night for me) internals! I would like to propose a small addition be made to the DateTime date format constant definitions.

Re: [PHP-DEV] Currently supported versions of PHP

2014-10-27 Thread Peter Cowburn
Hi Sebastian, On 27 October 2014 09:38, Sebastian Bergmann sebast...@php.net wrote: Hi! Do we have a page that lists the versions of PHP that are currently supported and when their support expires? The closest we have, at the moment, is probably http://php.net/eol.php which details the

Re: [PHP-DEV] [VOTE][RFC] Integer Semantics

2014-09-22 Thread Peter Cowburn
On Monday, 22 September 2014, Andrea Faulds a...@ajf.me wrote: On 21 Sep 2014, at 22:49, Peter Cowburn petercowb...@gmail.com javascript:; wrote: It is closed now. The vote is closed now, fact. That does not prevent further (hopefully productive) discussion from happening, and it also

Re: [PHP-DEV] [VOTE][RFC] Integer Semantics

2014-09-22 Thread Peter Cowburn
On 22 September 2014 10:21, Pierre Joye pierre@gmail.com wrote: On Mon, Sep 22, 2014 at 11:02 AM, Peter Cowburn petercowb...@gmail.com wrote: If you say so. Still, the asking of individuals to remove their votes so that the tally is in you favour is inexcusable. did I miss

Re: [PHP-DEV] Request #67949 DOMNodeList should implement ArrayAccess

2014-09-21 Thread Peter Cowburn
On 21 September 2014 12:39, Florian Margaine flor...@margaine.com wrote: Hi list, The request is so that we can do this: $html = HTML divdata/div HTML; $doc = new DOMDocument; $doc-loadHTML($html); var_dump($doc-getElementsByTagName('div')[0]-textContent); I started implementing this

Re: [PHP-DEV] [VOTE][RFC] Integer Semantics

2014-09-21 Thread Peter Cowburn
On 21 September 2014 04:53, Pierre Joye pierre@gmail.com wrote: On Sep 21, 2014 10:48 AM, Xinchen Hui larue...@php.net wrote: On Sun, Sep 21, 2014 at 11:33 AM, Pierre Joye pierre@gmail.com wrote: Hi, On Sep 21, 2014 10:08 AM, Xinchen Hui larue...@php.net wrote: On Sun,

Re: [PHP-DEV] Is it fair that people with no karma can vote on RFCs?

2014-09-20 Thread Peter Cowburn
On 20 September 2014 15:49, Leigh lei...@gmail.com wrote: On 20 September 2014 15:37, Johannes Schlüter johan...@schlueters.de wrote: It is unclear what a no means. Might be a related to the patch the design, a misunderstanding or due to a critical issue ... in the end a vote creates

Re: [PHP-DEV] [RFC] Disallow multiple default blocks in a single switch statement

2014-08-13 Thread Peter Cowburn
On 13 August 2014 10:56, Andrea Faulds a...@ajf.me wrote: On 13 Aug 2014, at 10:52, Pierre Joye pierre@gmail.com wrote: On Wed, Aug 13, 2014 at 11:42 AM, Andrea Faulds a...@ajf.me wrote: I could see where people would use it - there are reasons to, even if they are poor in

Re: [PHP-DEV] PHP namespace?

2014-07-28 Thread Peter Cowburn
On 28 July 2014 09:22, Ferenc Kovacs tyr...@gmail.com wrote: On Mon, Jul 28, 2014 at 4:58 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi all, Since we have discussion for Next PHP, PHP namespace discussion would be nice to have. Currently, PHP module functions/classes/interfaces

Re: [PHP-DEV] On voting, including the next release name.

2014-07-25 Thread Peter Cowburn
On 25 July 2014 12:17, Bishop Bettini bis...@php.net wrote: I just voted on the next release name https://wiki.php.net/rfc/php6. If you have, too: thank you. If you haven't, I encourage you to do so. The way voting works now, I happen to know which option is winning. I happened to know

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP

2014-07-20 Thread Peter Cowburn
On 20 July 2014 00:26, Andrea Faulds a...@ajf.me wrote: Good evening, It is finally time to settle this matter once and for all. What shall be the name of the next release of PHP: PHP 6 or PHP 7? It might be just me, but the whole RFC actually seems particularly one-sided. The argument for

Re: [PHP-DEV] [VOTE] RFC: Catchable call to a member function of a non-object

2014-07-20 Thread Peter Cowburn
On 29 June 2014 11:40, Timm Friebe p...@thekid.de wrote: Dear all, a couple of weeks ago, I proposed a change to the handling of the situation where methods are called on non-objects. Instead of an E_ERROR, the engine would raise an E_RECOVERABLE_ERROR, and enable framework and library

Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer

2014-07-20 Thread Peter Cowburn
On 21 May 2014 07:24, Pierre Joye pierre@gmail.com wrote: On Tue, May 20, 2014 at 8:34 PM, David Soria Parra d...@php.net wrote: Sounds very good and 0.8% overhead is fine. Can we work on getting this integrated into a v2 of the RFC, continue hopefully constructive discussions for a

Re: [PHP-DEV] not_null function

2014-07-04 Thread Peter Cowburn
On 4 July 2014 08:43, Kris Craig kris.cr...@gmail.com wrote: On Fri, Jul 4, 2014 at 12:26 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Not any that I'm aware of, and I personally have never used is_null(). I share your opinion that we don't really need is_null(), but with BC

Re: [PHP-DEV] Vote: Anonymous Classes

2013-10-07 Thread Peter Cowburn
On 7 October 2013 11:13, Joe Watkins krak...@php.net wrote: Morning Chaps, On the advice of many, I have restarted the vote, sorry for the inconvenience/confusion ... https://wiki.php.net/rfc/anonymous_classes#voting (re-link, for the lazy) The voting options changed from choosing

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

2013-08-15 Thread Peter Cowburn
On 15 August 2013 15:08, Igor Wiedler i...@wiedler.ch wrote: Hello internals, About 3 weeks have passed since I announced the use_function RFC. A number of issues were raised, and I believe all of them have been resolved at this point. I would like to initiate the voting phase. RFC:

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

2013-08-15 Thread Peter Cowburn
on and if there are different options discussed, explain these options. It should also contain the URL of the page where the vote is taking place. - From https://wiki.php.net/rfc/voting Regards, Igor On Aug 15, 2013, at 4:20 PM, Peter Cowburn petercowb...@gmail.com wrote: Don't forget to create a new

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

2013-08-15 Thread Peter Cowburn
On 15 August 2013 15:23, Igor Wiedler i...@wiedler.ch wrote: Hi Peter, This *is* the [VOTE] thread. Am I missing something? :) Stupid Gmail! :) Regards, Igor On Aug 15, 2013, at 4:20 PM, Peter Cowburn petercowb...@gmail.com wrote: Don't forget to create a new [VOTE] thread (unless

Re: [PHP-DEV] VCS Account Request: requinix

2013-08-08 Thread Peter Cowburn
On 8 August 2013 05:35, Hannes Magnusson hannes.magnus...@gmail.com wrote: \o/ I've approved your request, which means you have full karma on bugs.php.net and wiki.php.net. Good to have you on board, Damian. :)

Re: [PHP-DEV] Language constructs and callability

2013-07-19 Thread Peter Cowburn
On 19 July 2013 17:36, Daniel Lowrey rdlow...@gmail.com wrote: I have a simple question about the callability of language constructs and whether or not that's something that might change in the future. Consider: var_dump(is_callable('echo')); // bool(false) var_dump(call_user_func('echo',

Re: [PHP-DEV] Language constructs and callability

2013-07-19 Thread Peter Cowburn
On 19 July 2013 18:11, Jelle Zijlstra jelle.zijls...@gmail.com wrote: 2013/7/19 Peter Cowburn petercowb...@gmail.com On 19 July 2013 17:36, Daniel Lowrey rdlow...@gmail.com wrote: I have a simple question about the callability of language constructs and whether or not that's something

Re: [PHP-DEV] PR 287 - added use_keys argument to array_filter() [Discussion]

2013-06-18 Thread Peter Cowburn
On 18 June 2013 18:24, Sherif Ramadan theanomaly...@gmail.com wrote: Nevertheless, I'd say go with a new array_filter_key() function, because that permits using existing one-parameter functions like that strlen as a callback, instead of forcing two-parameter callback functions. The

Re: [PHP-DEV] PR 287 - added use_keys argument to array_filter() [Discussion]

2013-06-18 Thread Peter Cowburn
On 18 June 2013 23:21, Sherif Ramadan theanomaly...@gmail.com wrote: Are you saying that it's better to have familiarity over functionality? I'm not sure I agree with this premise of we shouldn't provide better functionality just because it would make all the other poorly written functions

Re: [PHP-DEV] Callable typehint

2013-05-28 Thread Peter Cowburn
On 28 May 2013 07:00, Ferenc Kovacs tyr...@gmail.com wrote: snip sorry for resurrecting the thread, but I think that having a Callable typehint would be nice, and I agree with Etienne that the generic arguments against typehints doesn't really apply here. We've had callable since 5.4.0.

Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale?

2013-05-27 Thread Peter Cowburn
On 27 May 2013 09:35, Jannik Zschiesche he...@apfelbox.net wrote: Hello, would it be hard to just show the notice as soon as the user actually uses a function regarding to date/time (and not before)? Currently the message is shown all the time, at the start of the script - even if the

Re: [PHP-DEV] [VOTE] Class instances counter

2013-04-30 Thread Peter Cowburn
On 30 April 2013 12:17, Pierre Joye pierre@gmail.com wrote: hi! Did I miss the discussions about this feature? It was easy to miss, but a *very minimal* discussion happened towards the beginning of April. See [RFC] Class instances counter -- http://markmail.org/thread/o6vsxx6yj4ezh5f6

Re: [PHP-DEV] [VOTE] array_column() function

2013-03-19 Thread Peter Cowburn
Hi Ben, On 28 February 2013 01:56, Ben Ramsey ram...@php.net wrote: Sorry. I got sick for a few weeks, and this fell to the bottom of my priorities list. I'm not sure what the next steps are. This was approved by a majority vote. What do I need to do now to get it into 5.5? Thanks, Ben

  1   2   >