Re: [PHP-DEV] [RFC] Deprecate Backtick Operator (V2)

2019-10-06 Thread Kris Craig
On Sun, Oct 6, 2019 at 12:36 PM Zeev Suraski wrote: > On Fri, 4 Oct 2019 at 17:45 Mark Randall wrote: > > > Hi Internals, > > > > I put forward the following RFC "Deprecate Backtick Operator (V2)" for > > discussion. > > > > > Mark, all, > > I’m not sure what planetary alignment or moon phase

Re: [PHP-DEV] Vote: Straw poll for P++ feasibility

2019-08-15 Thread Kris Craig
On Thu, Aug 15, 2019, 3:20 AM Olumide Samson wrote: > On Thu, Aug 15, 2019, 10:52 AM Peter Kokot wrote: > > > On Wed, 14 Aug 2019 at 22:41, Zeev Suraski wrote: > > > > > > On Wed, Aug 14, 2019 at 6:14 PM Derick Rethans wrote: > > > > > > > Hi, > > > > > > > > In the last week(s) there has

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

2019-08-12 Thread Kris Craig
On Fri, Aug 9, 2019 at 6:25 AM Robert Korulczyk wrote: > > Disabling short tags now is done with "an explicit directive" (there has > to be a specific ini file with a specific setting 'short_open_tag = 0'). > > Isn't this the same "situation when you create a separate file with an > explicit

Re: [PHP-DEV] Bringing Peace to the Galaxy

2019-08-09 Thread Kris Craig
On Fri, Aug 9, 2019 at 12:22 AM Nikita Popov wrote: > On Thu, Aug 8, 2019 at 11:25 PM Zeev Suraski wrote: > > > > > > > On Fri, Aug 9, 2019 at 12:02 AM Nikita Popov > wrote: > > > >> This is basically what I have been advocating for a while now already, > >> somewhat hidden between all the

Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-02-04 Thread Kris Craig
On Mon, Feb 4, 2019, 7:18 PM Andrey Andreev Hi, > > I was avoiding this, but since the discussion has already turned into > all about who gets to vote, I might as well ... > > On Tue, Feb 5, 2019 at 1:46 AM Zeev Suraski wrote: > > the barrier to obtaining a vote is ridiculously low. > > You keep

Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-02-03 Thread Kris Craig
On Sat, Feb 2, 2019 at 10:20 PM Zeev Suraski wrote: > On Fri, Feb 1, 2019 at 7:14 PM Dan Ackroyd wrote: > > > On Thu, 31 Jan 2019 at 13:44, Zeev Suraski wrote: > > > > > > Without further ado, an RFC that’s attempting to comprehensively solve > > many of the issues that have plagued our RFC

Re: [PHP-DEV] Alternative voting reform: Streamlining the RFC process

2019-02-02 Thread Kris Craig
Now THIS is a sensible proposal! It resolves the biggest issues in a very simple and straightforward manner. And unlike the other RFC, this proposal does not feel like an exclusionary power grab. --Kris On Sat, Feb 2, 2019, 8:24 AM Nikita Popov Hi internals, > > After discussing the topic

Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-02-01 Thread Kris Craig
On Thu, Jan 31, 2019 at 11:57 PM Stanislav Malyshev wrote: > Hi! > > I haven't fully read the RFC yet, so I'll come back with more formed > opinion about it probably, but wanted to comment about a couple of > points here: > > > Reasoning: If somebody is out of the project for 10 years they

Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-01-31 Thread Kris Craig
On Thu, Jan 31, 2019, 7:58 AM Kalle Sommer Nielsen Hi Zeev > > Den tor. 31. jan. 2019 kl. 15.44 skrev Zeev Suraski : > > > > Without further ado, an RFC that’s attempting to comprehensively solve > many of the issues that have plagued our RFC process since it was hastily > introduced in 2011: > >

Re: [PHP-DEV] RFC: RFC Workflow & Voting (2019 update)

2019-01-31 Thread Kris Craig
I think you may be over-reaching a bit on the eligible voters part. Keep in mind that all those who would be affected would still be able to vote on this RFC. I think it's too restrictive on that part. Also, why does FIG get special treatment? --Kris On Thu, Jan 31, 2019, 5:44 AM Zeev

Re: [PHP-DEV] Official Twitter Account

2018-12-06 Thread Kris Craig
On Thu, Dec 6, 2018 at 10:08 AM Sara Golemon wrote: > On Thu, Dec 6, 2018 at 11:09 AM Trevor Suarez wrote: > > > In any case, I feel like its usually the last place where I see > > announcements made. > > I'll take exception to that. I've been pushing both branches of the last > several

Re: [PHP-DEV] Re: Consistent indentation for test files

2017-10-30 Thread Kris Craig
On Sat, Oct 28, 2017 at 5:42 AM, Christoph M. Becker wrote: > On 28.10.2017 at 13:59, Nikita Popov wrote: > > > Right now we do not have a consistent standard for the indentation of > PHPT > > files. Some people create space-indented files, others create > tab-indented > >

Re: [PHP-DEV] GD vs Imagick

2017-08-30 Thread Kris Craig
2. Releasing Imagick with PHP means that the release cycles would need to be sync'ed. This has proven to be inconvenient in the past when an extension has wanted to change the api, but was forced to wait due to needed to wait for the next minor/major version of PHP. Why would they need to be

Re: [PHP-DEV] Directory separators on Windows

2017-03-30 Thread Kris Craig
On Mar 30, 2017 8:21 AM, "Sara Golemon" wrote: > > My first thought is UNC paths. On windows a file server share is > denoted by \\host\share . if you combine that with relative paths > produced from PHP, you end up in the dubious situation of > "\\host\share/path/to/file" <---

Re: [PHP-DEV] [RFC] Interval Comparison

2016-11-12 Thread Kris Craig
On Nov 12, 2016 8:21 AM, "David Walker" wrote: > > On Sat, Nov 12, 2016 at 3:08 AM Lauri Kenttä wrote: > > > On 2016-11-11 19:03, David Walker wrote: > > > > > > I took a quick stab at implementing, and had something working for > > > constant

Re: [PHP-DEV] RFC proposal for alternative list syntax

2015-12-27 Thread Kris Craig
On Dec 27, 2015 7:56 PM, "Pierre Joye" wrote: > > On Mon, Dec 28, 2015 at 6:20 AM, Stanislav Malyshev wrote: > > Hi! > > > >> // With the new array syntax this has been improved to > >> > >> list ($a, $b) = [1, 2]; > >> > >> // I think this new syntax

Re: [PHP-DEV] Concept for Json_decode

2015-07-10 Thread Kris Craig
On Fri, Jul 10, 2015 at 2:39 PM, Larry Garfield la...@garfieldtech.com wrote: On 7/10/15 3:27 PM, Dean Eigenmann wrote: Hello, I have a proposal for PHP. The proposed interface would allow developers to decode json into a custom object directly. If given the approval I would possibly be

Re: [PHP-DEV] Concept for Json_decode

2015-07-10 Thread Kris Craig
On Fri, Jul 10, 2015 at 7:07 PM, Larry Garfield la...@garfieldtech.com wrote: On 07/10/2015 07:37 PM, Kris Craig wrote: On Fri, Jul 10, 2015 at 2:39 PM, Larry Garfield la...@garfieldtech.com wrote: On 7/10/15 3:27 PM, Dean Eigenmann wrote: Hello, I have a proposal for PHP

Re: [PHP-DEV] Fixing bundled extension version mess

2015-04-14 Thread Kris Craig
On Tue, Apr 14, 2015 at 7:21 PM, Pierre Joye pierre@gmail.com wrote: hi, We tried that many times but we fail to handle the version of bundled extensions. Along with some installer work and other integration (projects dependencies management, composer or other), we need to find a way

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Kris Craig
On Thu, Mar 26, 2015 at 3:40 PM, Alain Williams a...@phcomp.co.uk wrote: On Thu, Mar 26, 2015 at 10:31:00PM +, Rowan Collins wrote: What I've always been annoyed by is the *precedence* of the operator - having to add brackets to mix it with string concatenation, etc - which it turns out

Re: [PHP-DEV] Only Vote on Votes Initiated After Registration

2015-03-20 Thread Kris Craig
On Fri, Mar 20, 2015 at 7:30 PM, Pierre Joye pierre@gmail.com wrote: hi, On Tue, Mar 17, 2015 at 5:01 AM, Philip Sturgeon pjsturg...@gmail.com wrote: While you can easily question the value or motives of Anthony's post about voting irregularities, some simple improvements can be made

Re: [PHP-DEV] Only Vote on Votes Initiated After Registration

2015-03-20 Thread Kris Craig
On Fri, Mar 20, 2015 at 11:35 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Mar 20, 2015 at 7:14 PM, Philip Sturgeon pjsturg...@gmail.com wrote: On Mon, Mar 16, 2015 at 2:59 PM, Stanislav Malyshev smalys...@gmail.com wrote: Hi! when we are fixing the low hanging fruits,

Re: [PHP-DEV] Vote process change proposal

2015-03-17 Thread Kris Craig
On Tue, Mar 17, 2015 at 4:24 PM, Stanislav Malyshev smalys...@gmail.com wrote: Hi! I think having clearer rules about what lobbying is permitted, and introducing some rules on who can vote on what would be a better way of limiting the effect of lobbying. And pretty soon we'll have

Re: [PHP-DEV] Proposing [constructive] solutions (was: I quit)

2015-02-16 Thread Kris Craig
On Mon, Feb 16, 2015 at 7:48 PM, Larry Garfield la...@garfieldtech.com wrote: On 02/16/2015 10:31 AM, François Laupretre wrote: - The leadership of the language is left to consensus, so that when consensus cannot be reached, someone has to take on the role of mediator / chairman / leader

Re: [PHP-DEV] A modest proposal: __contructStatic

2015-02-15 Thread Kris Craig
create the static instance Isn't that essentially a contradiction in terms? I can't help but feel that blurring the line between static and non-static classes/methods would cause more harm than good. I've never really done any work with Redis before so I'm also having trouble understanding the

Re: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-12 Thread Kris Craig
On Thu, Feb 12, 2015 at 10:55 AM, Thomas Punt tp...@hotmail.co.uk wrote: Hello PHP Internals! I'd like to propose to make empty() a variadic, where if any arguments passed in are considered empty, then false is returned - otherwise return true. My reasoning for wanting this feature is as

Re: [PHP-DEV] Remove $this from incompatible context

2015-02-12 Thread Kris Craig
On Thu, Feb 12, 2015 at 8:53 AM, Rowan Collins rowan.coll...@gmail.com wrote: François Laupretre wrote on 12/02/2015 14:56: Sorry to get off-topic but could we raise the 'undefined variable' error to E_WARNING, at least ? E_NOTICE seems very low for such an error. I think the division

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-15 Thread Kris Craig
On Mon, Dec 15, 2014 at 12:11 PM, Stanislav Malyshev smalys...@gmail.com wrote: Hi! The fact that it *may* break *some* code that is used somewhere despite documentation recommending against it (pretty much deprecating it already for years) is a terrible reason not to re-evaluate the

Re: [PHP-DEV] [RFC] PHP 5.7

2014-12-15 Thread Kris Craig
On Mon, Dec 15, 2014 at 4:20 PM, Andrea Faulds a...@ajf.me wrote: Hi Adam, On 16 Dec 2014, at 00:15, Adam Harvey ahar...@php.net wrote: On 15 December 2014 at 16:09, Andrea Faulds a...@ajf.me wrote: The RFC can be found here: https://wiki.php.net/rfc/php57 Thanks for the taking the

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-15 Thread Kris Craig
On Mon, Dec 15, 2014 at 8:19 PM, Leon Sorokin leeon...@gmail.com wrote: On 12/15/2014 11:59 AM, Robert Williams wrote: What world is this that you live in where every line of code that’s written is fully unit-tested You took my example too literally; forget the unit tests. Imagine the

Re: [PHP-DEV] Fix incorrect ternary '?' associativity for 7.0?

2014-12-13 Thread Kris Craig
On Sat, Dec 13, 2014 at 4:53 PM, Leon Sorokin leeon...@gmail.com wrote: Respectfully, PHP's 'Unexpected behavior is not a bug' stance is pretty infuriating; the utterly ridiculous T_PAAMAYIM_NEKUDOTAYIM argument comes to mind. It is not a bug, as the issue's status says: Not a bug. I can

Re: [PHP-DEV] Add a new flag for json_encode

2014-11-29 Thread Kris Craig
On Nov 3, 2014 7:13 PM, Juan Basso jrba...@gmail.com wrote: Hi, I opened a pull request[1] in order to solve the bug 50224[2] and it ended creating this pull request to add a new flag called JSON_PRESERVE_FRACTIONAL_PART on json_encode function. This flag will make the json encode to output

Re: [PHP-DEV] [VOTE] [RFC] PHP 7.0 timeline

2014-11-22 Thread Kris Craig
On Sat, Nov 22, 2014 at 2:05 AM, Lester Caine les...@lsces.co.uk wrote: On 22/11/14 09:14, Pierre Joye wrote: That's why I strongly suggest to make a more realistic time plan and stick to it. Specific dates can or should be define later but the period (mid october f.e.) should be defined

Re: [PHP-DEV] [VOTE] [RFC] PHP 7.0 timeline

2014-11-21 Thread Kris Craig
On Fri, Nov 21, 2014 at 12:18 AM, Joe Watkins pthre...@pthreads.org wrote: On Fri, 2014-11-21 at 10:07 +0200, Zeev Suraski wrote: After some Twitter hints that I should get my act together and finally move this to a vote, it’s finally happening:

Re: [PHP-DEV] [VOTE] [RFC] PHP 7.0 timeline

2014-11-21 Thread Kris Craig
On Fri, Nov 21, 2014 at 7:10 AM, Zeev Suraski z...@zend.com wrote: Kris, This existed in the RFC since the get go and I don't believe anybody raised any concerns about it. There was plenty of time for discussion. Either way approval of this RFC won't have any effect on the approval or

Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors

2014-11-18 Thread Kris Craig
On Tue, Nov 18, 2014 at 3:26 PM, Julien Breux julien.br...@gmail.com wrote: I think that it is great time to end to PHP 4 constructors system for PHP 7. IMO, It's a good RFC. Agreed. I was going to suggest we throw E_DEPRECATED for 5.x, but you already have that covered in the RFC. I

Re: [PHP-DEV] Thresholds of backwards compatibility breaks

2014-11-05 Thread Kris Craig
On Wed, Nov 5, 2014 at 10:49 PM, Ferenc Kovacs tyr...@gmail.com wrote: 2014.11.06. 2:46 ezt írta (Andrea Faulds a...@ajf.me): On 5 Nov 2014, at 20:34, Ferenc Kovacs tyr...@gmail.com wrote: Regardless of those, I think it would be worse from the users POV than our current policy

Re: [PHP-DEV] Thoughts on the PHP.net website

2014-10-24 Thread Kris Craig
I'm not go further into the details of the problems we actually have inside that code, as they are very obvious and the source code speaks for itself I'm all for having a discussion about updating the website. But on the flip side of that token, you can't just drive by here, suggest a

[PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
Hey guys, Does anybody know why we have $_GET and $_POST, but not $_PUT and $_DELETE? As far as I can tell, the only way to get these out currently is to parse their values by reading the incoming stream directly. Is there a reason why we don't want this or is it just that nobody has actually

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 5:54 AM, Andrea Faulds a...@ajf.me wrote: On 14 Oct 2014, at 13:47, Kris Craig kris.cr...@gmail.com wrote: Hey guys, Does anybody know why we have $_GET and $_POST, but not $_PUT and $_DELETE? As far as I can tell, the only way to get these out currently

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 6:09 AM, Ben Ramsey b...@benramsey.com wrote: On Oct 14, 2014, at 7:47 AM, Kris Craig kris.cr...@gmail.com wrote: Hey guys, Does anybody know why we have $_GET and $_POST, but not $_PUT and $_DELETE? As far as I can tell, the only way to get these out currently

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 6:25 AM, Andrea Faulds a...@ajf.me wrote: On 14 Oct 2014, at 14:23, Andrey Andreev n...@devilix.net wrote: That being said, from a purely semantic prospective, both $_GET and $_POST should be tossed - yes. In reality, you can't do that because virtually all PHP

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 6:41 AM, Mike Dugan m...@mjdugan.com wrote: On October 14, 2014 at 9:31:15 AM, Andrea Faulds (a...@ajf.me) wrote: On 14 Oct 2014, at 14:27, Kristopher kristopherwil...@gmail.com wrote: $_HTTP_REQUEST_BODY and $_HTTP_QUERY_STRING for nostalgia's sake. Ew,

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 6:47 AM, Andrea Faulds a...@ajf.me wrote: On 14 Oct 2014, at 14:42, Kris Craig kris.cr...@gmail.com wrote: I don't think that would be a good idea, either. They require more typing and it'd probably be a lot easier for devs to remember which one means GET

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 6:50 AM, Chris Wright c...@daverandom.com wrote: On 14 October 2014 14:46, Kris Craig kris.cr...@gmail.com wrote: On Tue, Oct 14, 2014 at 6:41 AM, Mike Dugan m...@mjdugan.com wrote: On October 14, 2014 at 9:31:15 AM, Andrea Faulds (a...@ajf.me) wrote: On 14

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
On Tue, Oct 14, 2014 at 1:21 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 10/14/2014 11:16 AM, Rowan Collins wrote: On 14/10/2014 17:18, Rasmus Lerdorf wrote: I think 20+ years of history has proven this to be a non-issue. Of all the things that people get confused by in PHP,

Re: [PHP-DEV] New globals for PUT and DELETE

2014-10-14 Thread Kris Craig
, October 15, 2014 1:16 AM To: Zeev Suraski Cc: Kris Craig; Rasmus Lerdorf; Rowan Collins; PHP internals list Subject: Re: [PHP-DEV] New globals for PUT and DELETE 2014-10-15 0:56 GMT+03:00 Zeev Suraski z...@zend.com: PHP today to enable successful easy implementation of RESTful interfaces

Re: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7

2014-10-12 Thread Kris Craig
On Oct 12, 2014 12:54 AM, Derick Rethans der...@php.net wrote: On Sat, 11 Oct 2014, Kris Craig wrote: On Oct 11, 2014 1:52 PM, Nikita Popov nikita@gmail.com wrote: We currently have a number of deprecated features, which we likely want to remove in PHP 7. I've created a tracking

Re: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7

2014-10-11 Thread Kris Craig
On Oct 11, 2014 1:52 PM, Nikita Popov nikita@gmail.com wrote: Hi internals! We currently have a number of deprecated features, which we likely want to remove in PHP 7. I've created a tracking RFC listing deprecated functionality (if I missed something, please tell):

Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API

2014-10-10 Thread Kris Craig
On Fri, Oct 10, 2014 at 1:34 PM, Andrea Faulds a...@ajf.me wrote: On 10 Oct 2014, at 21:27, Marco Pivetta ocram...@gmail.com wrote: While rambling with some code today, I realized that `call_user_func` behaves strangely, appearing and disappearing from stack traces depending on versions

Re: [PHP-DEV] [PHP7] Remove the function keyword from class methods?

2014-10-04 Thread Kris Craig
On Oct 4, 2014 11:24 AM, Thomas Gossmann m...@gossimaniac.net wrote: Thanks Johannes, I slipped over it but would have never found the discussion to it. I run over it and the summary is: Many people like it and those that don't have brought arguments, that are present here again. The

Re: [PHP-DEV] [PHP7] Remove the function keyword from class methods?

2014-10-03 Thread Kris Craig
On Fri, Oct 3, 2014 at 1:00 PM, Arvids Godjuks arvids.godj...@gmail.com wrote: Hello internals. I'm firmly against removing the function keyword. PHP is a dynamic language, that means that even using the latest most functional IDE's out there, finding the implementation is not always few

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

2014-09-30 Thread Kris Craig
On Tue, Sep 30, 2014 at 12:59 PM, Andrey Andreev n...@devilix.net wrote: On Tue, Sep 30, 2014 at 10:31 PM, Sharon Levy iam4webw...@hotmail.com wrote: From: Andrey Andreev n...@devilix.net Sent: Sep 29, 2014 3:01 PM To: Sharon Levy sle...@pipeline.com Cc: Zeev Suraski z...@zend.com,

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

2014-09-29 Thread Kris Craig
On Mon, Sep 29, 2014 at 3:01 PM, Andrey Andreev n...@devilix.net wrote: On Tue, Sep 30, 2014 at 12:28 AM, Sharon Levy sle...@pipeline.com wrote: ... I think in all fairness, users should be required to learn C and pass a test demonstrating basic knowledge of PHP's internals in order

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-23 Thread Kris Craig
On Tue, Sep 23, 2014 at 12:24 AM, Michael Wallner m...@php.net wrote: On 2014-09-23 06:00, Sanford Whiteman wrote: What would happen is it'd throw an E_DEPRECATED for at least the remainder of 5.x, then throw the usual E_WARNING for a missing argument starting in 7.x with no default.

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-23 Thread Kris Craig
On Tue, Sep 23, 2014 at 12:38 AM, Michael Wallner m...@php.net wrote: On 2014-09-23 09:30, Kris Craig wrote: On Tue, Sep 23, 2014 at 12:24 AM, Michael Wallner m...@php.net mailto:m...@php.net wrote: On 2014-09-23 06:00, Sanford Whiteman wrote: What would happen is it'd

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-22 Thread Kris Craig
On Sep 21, 2014 11:52 PM, Pierre Joye pierre@gmail.com wrote: hi Kris, On Sat, Sep 20, 2014 at 4:15 AM, Kris Craig kris.cr...@gmail.com wrote: Per discussion in an earlier thread. Here's the RFC: https://wiki.php.net/rfc/checkdnsrr-default-type Basically, this RFC seeks

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-22 Thread Kris Craig
On Sep 22, 2014 1:09 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Sep 22, 2014 at 9:07 AM, Kris Craig kris.cr...@gmail.com wrote: On Sep 21, 2014 11:52 PM, Pierre Joye pierre@gmail.com wrote: Well, for what I can see users already take into account this part of the issue

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-22 Thread Kris Craig
On Sep 22, 2014 2:16 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Sep 22, 2014 at 10:56 AM, Kris Craig kris.cr...@gmail.com wrote: On Sep 22, 2014 1:09 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Sep 22, 2014 at 9:07 AM, Kris Craig kris.cr...@gmail.com wrote: On Sep

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

2014-09-22 Thread Kris Craig
On Sep 22, 2014 8:39 AM, Johannes Schlüter johan...@schlueters.de wrote: On September 22, 2014 4:21:29 PM CEST, Rafael Kassner kass...@php.net wrote: IMHO, denying non-karma people to vote is like to making PHP a company's product, or, in another words, you use what we built and shut up,

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-22 Thread Kris Craig
On Mon, Sep 22, 2014 at 8:09 PM, Sanford Whiteman figureone...@gmail.com wrote: Hi Kris, On a broad level, your RFC asserts that checkdnsrr() is used to determine whether or not a hostname exists, but you don't actually define exists. It seems to me you're glossing over the fact that

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

2014-09-22 Thread Kris Craig
On Mon, Sep 22, 2014 at 7:21 PM, Johannes Schlüter johan...@schlueters.de wrote: Hi, On Mon, 2014-09-22 at 14:36 -0700, Kris Craig wrote: Slightly provocative: Why should I be forced to maintain code by people who don't want to maintain it themselves? Nobody is forcing you to do

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-21 Thread Kris Craig
Craig kris.cr...@gmail.com wrote: On Sep 19, 2014 10:50 PM, Michael Wallner m...@php.net wrote: On 20 Sep 2014 04:15, Kris Craig kris.cr...@gmail.com wrote: From what I can tell, there are valid arguments to be made for both, so I would love to see some discussion/debate here

Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-20 Thread Kris Craig
On Sep 19, 2014 10:50 PM, Michael Wallner m...@php.net wrote: On 20 Sep 2014 04:15, Kris Craig kris.cr...@gmail.com wrote: From what I can tell, there are valid arguments to be made for both, so I would love to see some discussion/debate here regarding which solution should

Re: [PHP-DEV] Why does checkdnsrr() default to MX??

2014-09-19 Thread Kris Craig
On Fri, Sep 19, 2014 at 10:24 AM, Adam Harvey ahar...@php.net wrote: On 19 September 2014 02:58, Chris Wright c...@daverandom.com wrote: On 18 September 2014 20:29, Kris Craig kris.cr...@gmail.com wrote: Hey guys, I just spent some time troubleshooting what appeared to be a DNS issue

[PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior

2014-09-19 Thread Kris Craig
Per discussion in an earlier thread. Here's the RFC: https://wiki.php.net/rfc/checkdnsrr-default-type Basically, this RFC seeks to make it so that PHP's checkdnsrr() function, which is most commonly used to see whether or not a hostname exists, no longer restricts itself to only MX records by

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

2014-09-19 Thread Kris Craig
On Fri, Sep 19, 2014 at 7:25 PM, Kalle Sommer Nielsen ka...@php.net wrote: 2014-09-20 3:29 GMT+02:00 Andrea Faulds a...@ajf.me: Hi! Perhaps I’m being unfair and overthinking things, but I wonder if it is really fair for people who have no karma, i.e. not contributors to the

[PHP-DEV] Why does checkdnsrr() default to MX??

2014-09-18 Thread Kris Craig
Hey guys, I just spent some time troubleshooting what appeared to be a DNS issue before I realized that, absent the optional $type argument, checkdnsrr() defaults to MX. Can anybody explain why it's defaulting to MX and not ANY? It seems really counter-intuitive. --Kris

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-11 Thread Kris Craig
On Tue, Sep 9, 2014 at 6:32 PM, Andrea Faulds a...@ajf.me wrote: On 10 Sep 2014, at 01:21, Andrea Faulds a...@ajf.me wrote: Isn’t this a bit of a needless BC break? Not very nice on people with such codebases. It’s also worth pointing out that people might be using these to get around the

Re: [PHP-DEV] [RFC] Better type names for int64 RFC

2014-08-23 Thread Kris Craig
On Aug 23, 2014 12:10 PM, Pierre Joye pierre@gmail.com wrote: On Sat, Aug 23, 2014 at 6:40 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 8/22/14, 11:25 PM, Pierre Joye wrote: There is. Long is not used anymore. So we can argue about that but there is a change and it should be

Re: [PHP-DEV] On BC and not being evil (Was: Re: [PHP-DEV] [RFC] Integer Semantics)

2014-08-21 Thread Kris Craig
On Thu, Aug 21, 2014 at 8:30 AM, Derick Rethans der...@php.net wrote: On Tue, 19 Aug 2014, Kris Craig kris.cr...@gmail.com wrote: On Tue, Aug 19, 2014 at 3:36 PM, Andrea Faulds a...@ajf.me wrote: I have made an RFC which would make some small changes to how integers are handled

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

2014-08-19 Thread Kris Craig
On Tue, Aug 19, 2014 at 3:36 PM, Andrea Faulds a...@ajf.me wrote: Good evening, I have made an RFC which would make some small changes to how integers are handled, targeted at PHP 7: https://wiki.php.net/rfc/integer_semantics Thoughts and questions are appreciated. Thanks! -- Andrea

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

2014-08-13 Thread Kris Craig
On Wed, Aug 13, 2014 at 3:21 PM, Drew Paroski drewparo...@gmail.com wrote: On 6 August 2014 12:32, Ferenc Kovacs tyr...@gmail.com wrote: I'm not sure what would be the best solution, but if we don't version the spec, then when we introduce BC breaks or simply new features in a new

Re: [PHP-DEV] [VOTE] Mutliple defaults in switch statements

2014-08-12 Thread Kris Craig
On Tue, Aug 12, 2014 at 10:08 AM, Andrea Faulds a...@ajf.me wrote: On 12 Aug 2014, at 17:53, Sara Golemon poll...@php.net wrote: Voting is open: https://wiki.php.net/rfc/switch.default.multiple#vote I’m all for this, but the *minimum* discussion period is *two* weeks. -- Andrea Faulds

Re: [PHP-DEV] [VOTE] Mutliple defaults in switch statements

2014-08-12 Thread Kris Craig
On Tue, Aug 12, 2014 at 2:36 PM, Sara Golemon poll...@php.net wrote: On Tue, Aug 12, 2014 at 10:08 AM, Andrea Faulds a...@ajf.me wrote: On 12 Aug 2014, at 17:53, Sara Golemon poll...@php.net wrote: Voting is open: https://wiki.php.net/rfc/switch.default.multiple#vote I’m all for this,

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-08-02 Thread Kris Craig
On Thu, Jul 31, 2014 at 1:53 AM, Chris Wright c...@daverandom.com wrote: On 30 July 2014 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't think %% is clear enough, the only sensible syntax choice (//) is unavailable to us, and I think the utility of having it baked into

Re: [PHP-DEV] [VOTE][RFC] intdiv()

2014-07-30 Thread Kris Craig
On Wed, Jul 30, 2014 at 11:01 AM, Peter Lind peter.e.l...@gmail.com wrote: On 30 July 2014 19:57, Sara Golemon poll...@php.net wrote: On Wed, Jul 30, 2014 at 10:54 AM, Andrea Faulds a...@ajf.me wrote: On 30 Jul 2014, at 18:51, Adam Harvey ahar...@php.net wrote: -1 explanation: I don't

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-27 Thread Kris Craig
On Sat, Jul 26, 2014 at 11:10 PM, Michael Wallner mike.php@gmail.com wrote: On 27 07 2014, at 02:53, Kris Craig kris.cr...@gmail.com wrote: So even IF you want to reduce the scope of the 2/3 requirement to language impacts in userland only, your RFC *still* falls under

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-27 Thread Kris Craig
On Sun, Jul 27, 2014 at 12:16 AM, Michael Wallner mike.php@gmail.com wrote: On 27 Jul 2014 08:23, Kris Craig kris.cr...@gmail.com wrote: Here's my question to counter yours, Michael: What's the rush? Every day php-ng is not GA, PHP is losing ground to its competitors. Umm, how

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-27 Thread Kris Craig
On Sun, Jul 27, 2014 at 1:03 AM, Michael Wallner mike.php@gmail.com wrote: On 27 Jul 2014 09:26, Kris Craig kris.cr...@gmail.com wrote: On Sun, Jul 27, 2014 at 12:16 AM, Michael Wallner mike.php@gmail.com wrote: On 27 Jul 2014 08:23, Kris Craig kris.cr...@gmail.com

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-27 Thread Kris Craig
On Sun, Jul 27, 2014 at 3:00 AM, Michael Wallner mike.php@gmail.com wrote: On 27 07 2014, at 11:44, Kris Craig kris.cr...@gmail.com wrote: [a lot] Maybe because you see those as competitors, You're the one who said PHP was losing ground to its competitors, not I. but I see HHVM

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-27 Thread Kris Craig
On Sun, Jul 27, 2014 at 3:54 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi all, On Sun, Jul 27, 2014 at 5:03 PM, Michael Wallner mike.php@gmail.com wrote: On 27 Jul 2014 09:26, Kris Craig kris.cr...@gmail.com wrote: On Sun, Jul 27, 2014 at 12:16 AM, Michael Wallner mike.php

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-26 Thread Kris Craig
On Fri, Jul 25, 2014 at 12:51 AM, Zeev Suraski z...@zend.com wrote: On Fri, Jul 25, 2014 at 7:28 AM, Kris Craig kris.cr...@gmail.com wrote: While this is a major change to the language implementation, it does not actually affect end users in any meaningful way except for the positive

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-26 Thread Kris Craig
On Sat, Jul 26, 2014 at 3:16 PM, Zeev Suraski z...@zend.com wrote: Kris, I’ll make it short. EVERY RFC affects the language in *some* way – be it its features, positioning, perception, performance, implementation, testability, you name it. I believe that argument is specious. The

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-24 Thread Kris Craig
On Thu, Jul 24, 2014 at 1:37 PM, Dmitry Stogov dmi...@zend.com wrote: one week - two weeks - months - years. I'll wait. I know what I'm doing. I'll make it. Dmitry. On Fri, Jul 25, 2014 at 12:26 AM, Pierre Joye pierre@gmail.com wrote: On Jul 24, 2014 10:13 PM, Dmitry Stogov

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-24 Thread Kris Craig
On Thu, Jul 24, 2014 at 3:39 PM, Zeev Suraski z...@zend.com wrote: On 25 ביול 2014, at 01:35, Jan Ehrhardt php...@ehrhardt.nl wrote: Dmitry Stogov in php.internals (Fri, 25 Jul 2014 02:09:53 +0400): I already know the opinion of the majority. Do you also know the opinion of 2/3 of the

Re: [PHP-DEV] RFC: Move phpng to master

2014-07-24 Thread Kris Craig
On Thu, Jul 24, 2014 at 8:47 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi Zeev, On Mon, Jul 21, 2014 at 4:31 PM, Zeev Suraski z...@zend.com wrote: The RFC is available at https://wiki.php.net/rfc/phpng Some supporting links available down below. Comments welcome! While

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

2014-07-23 Thread Kris Craig
On Wed, Jul 23, 2014 at 7:39 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Jul 23, 2014 at 4:32 PM, Andrea Faulds a...@ajf.me wrote: On 23 Jul 2014, at 15:21, Ferenc Kovacs tyr...@gmail.com wrote: I also think that it would be reasonable to have two weeks for the votes to

Re: [PHP-DEV] Weird constant expression syntax and bug

2014-07-23 Thread Kris Craig
On Wed, Jul 23, 2014 at 8:20 PM, Pierre Joye pierre@gmail.com wrote: hi, On Wed, Jul 23, 2014 at 10:45 PM, Bob Weinand bobw...@hotmail.com wrote: Well, we still could fix it now, AFAIK, we will still have another RC now and when we fix it only for 5.6.1, there also will only be one RC

Re: [PHP-DEV] PHP Language Specification

2014-07-22 Thread Kris Craig
On Tue, Jul 22, 2014 at 3:28 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! To that end, we (as in Facebook), have been putting together a formal language spec for PHP (using PHP 5.6 as the source of truth) along with an additional conformance test suite (which compliments

Re: [PHP-DEV] Deprecating GD functions imagettftext/bbox

2014-07-22 Thread Kris Craig
On Tue, Jul 22, 2014 at 12:01 PM, Lonny Kapelushnik lo...@lonnylot.com wrote: Morning, I propose deprecating two GD functions: imagettftext and imagettfbbox. The reasons I would like to deprecate them are: 1. Their functionality is a subset of imagefttext and imageftbbox 2. The imagettf*

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

2014-07-21 Thread Kris Craig
See below in red. It was not accidental and I said so almost immediately after Andrea sent the note to the list about the paragraphs being removed. I didn't see that, my bad. The point I was trying to make is that, whatever the explanation, I think you should be given the benefit of the

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

2014-07-21 Thread Kris Craig
On Mon, Jul 21, 2014 at 2:21 AM, Michael Wallner m...@php.net wrote: On 20 Jul 2014 23:32, Andrea Faulds a...@ajf.me wrote: On 20 Jul 2014, at 22:28, Nikita Popov nikita@gmail.com wrote: After the vote has been started the RFC was edited by Zeev in order to strengthen the case

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

2014-07-20 Thread Kris Craig
On Sun, Jul 20, 2014 at 2:46 PM, Zeev Suraski z...@zend.com wrote: On 21 ביול 2014, at 00:29, Nikita Popov nikita@gmail.com wrote: However at the same time a number of paragraphs were removed that were arguing for PHP 6, at least in part. The only thing that was left in The case for

Re: [PHP-DEV] [RFC] intdiv()

2014-07-17 Thread Kris Craig
On Thu, Jul 17, 2014 at 6:31 AM, Andrea Faulds a...@ajf.me wrote: On 17 Jul 2014, at 10:24, Nikita Popov nikita@gmail.com wrote: This is already what is currently happening, see http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_operators.c#1067. Andreas proposal is only useful in the

Re: [PHP-DEV] [RFC] intdiv()

2014-07-17 Thread Kris Craig
On Thu, Jul 17, 2014 at 8:39 PM, Tjerk Meesters tjerk.meest...@gmail.com wrote: On Fri, Jul 18, 2014 at 10:47 AM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 17, 2014 at 6:31 AM, Andrea Faulds a...@ajf.me wrote: On 17 Jul 2014, at 10:24, Nikita Popov nikita@gmail.com wrote

Re: [PHP-DEV] [RFC] intdiv()

2014-07-17 Thread Kris Craig
On Thu, Jul 17, 2014 at 9:18 PM, Tjerk Meesters tjerk.meest...@gmail.com wrote: On Fri, Jul 18, 2014 at 12:04 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 17, 2014 at 8:39 PM, Tjerk Meesters tjerk.meest...@gmail.com wrote: On Fri, Jul 18, 2014 at 10:47 AM, Kris Craig

Re: [PHP-DEV] [RFC] intdiv()

2014-07-16 Thread Kris Craig
On Tue, Jul 15, 2014 at 5:13 AM, Andrea Faulds a...@ajf.me wrote: On 15 Jul 2014, at 06:50, Kris Craig kris.cr...@gmail.com wrote: While a practical argument can certainly be made that existing solutions can fit the examples OP cited, I don't think that takes away from the underlying

Re: [PHP-DEV] [RFC] intdiv()

2014-07-14 Thread Kris Craig
On Mon, Jul 14, 2014 at 10:17 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Both of those are likely not to be installed on most systems. Why do Why not? bcmath is in core since forever and has no external requirements, gmp builds practically everywhere too. AFAIR all distros have

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-08 Thread Kris Craig
On Tue, Jul 8, 2014 at 9:48 AM, Pierre Joye pierre@gmail.com wrote: On Tue, Jul 8, 2014 at 4:51 PM, Andrea Faulds a...@ajf.me wrote: On 8 Jul 2014, at 15:48, Derick Rethans der...@php.net wrote: I've just voted no for this, because it introduces a tiny BC break. Now, I realize this

  1   2   3   4   5   >