[PHP-DEV] CVS Account Request: sirkris

2008-08-05 Thread Kris Craig
Developing the PHP runtime Maintaining the documentation Maintaining PHP.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-13 Thread Kris Craig
4. Rewrite the entire parser completely. I keep hearing about how bad PHP's parser is, and how it's growing out of control. Perhaps this is a good time to rewrite it (perhaps changing semantics slightly) to be better adapted towards future changes... I'm bored so I'm gonna poke the

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-17 Thread Kris Craig
On Tue, Jul 17, 2012 at 8:48 AM, Dan Cryer d...@dancryer.com wrote: The problem, of course, is changing and removing things can break BC. I'd love to remove list() too, but that would break code relying on it. Isn't that kind of the point of the whole discussion? This is talking about

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-17 Thread Kris Craig
On Tue, Jul 17, 2012 at 3:43 PM, Kris Craig kris.cr...@gmail.com wrote: On Tue, Jul 17, 2012 at 8:48 AM, Dan Cryer d...@dancryer.com wrote: The problem, of course, is changing and removing things can break BC. I'd love to remove list() too, but that would break code relying

[PHP-DEV] Docs: php.ini vs. parse_ini_file()

2012-07-17 Thread Kris Craig
I just noticed something that I hadn't really thought about before. I couldn't remember the name of the function for parsing INI files so I did a quick search. It took me straight to the page for php.ini directives. I had to select online documentation from the dropdown and try again, this time

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-18 Thread Kris Craig
On Wed, Jul 18, 2012 at 7:27 AM, Andrew Faulds ajf...@googlemail.comwrote: To avoid BC breaks we should try to avoid major syntax changes. Again, why should we be worrying so much about BC breaks on a major version increment? BC breakage is just a fact of life whenever a major version of

Re: [PHP-DEV] Docs: php.ini vs. parse_ini_file()

2012-07-18 Thread Kris Craig
I don't understand why on earth your are mailing the PHP *internal developer mailinglist* with this matter? If you have any improvement suggestions for the documentations: https://edit.php.net -Hannes I've seen the docs discussed on this list plenty of times. We do maintain those as

Re: [PHP-DEV] Docs: php.ini vs. parse_ini_file()

2012-07-18 Thread Kris Craig
On Wed, Jul 18, 2012 at 11:32 AM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Wed, Jul 18, 2012 at 7:26 PM, Kris Craig kris.cr...@gmail.com wrote: I don't understand why on earth your are mailing the PHP *internal developer mailinglist* with this matter? If you have any

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-18 Thread Kris Craig
On Wed, Jul 18, 2012 at 12:09 PM, Andrew Faulds ajf...@googlemail.comwrote: Kris, I'd love to break BC a lot and fix things, but it would seriously slow adoption. Fixing *bugs* has stopped people upgrading, imagine how they would react to non-bugs being changed. I agree with your point. I

Re: [PHP-DEV] Call for voting: [RFC] Allow use T_AS in closure use statement

2012-07-18 Thread Kris Craig
On Wed, Jul 18, 2012 at 6:53 PM, Laruence larue...@php.net wrote: Hi: I saw you two vote against for this RFC. could you explain why? then maybe I can improve it. thanks I can't speak for them, but it might have something to do with a lack of information. I don't recall seeing

Re: [PHP-DEV] PHP Wiki problem

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 7:35 AM, Lonny Kapelushnik lon...@gmail.com wrote: Hi, I found a problem in the PHP WIki. On IRC it was suggested that I open a bug report (#62611) and email internals. https://wiki.php.net/vcs/gitworkflow has wrong directions for 'Workflow for external

Re: [PHP-DEV] A new idea on PHP6.

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 4:40 AM, Andrew Faulds ajf...@googlemail.comwrote: Our syntax is very, very confusing for newbies. Also, procedural and OOP programming is unnatural and unintuitive. We should use the natural LISP braces syntax and make PHP functional, so it is much easier to write,

Re: [PHP-DEV] A new idea on PHP6.

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 11:16 AM, Ronald Chmara rona...@gmail.com wrote: On Thu, Jul 19, 2012 at 11:09 AM, Kris Craig kris.cr...@gmail.com wrote: I get that the first two acronyms are POOP and SHIT; however, the third one, HARAH, is throwing me off. Is that a fecal reference in some other

Re: [PHP-DEV] common issue with version_compare()

2012-07-21 Thread Kris Craig
1.01 eq 1.1 Could you explain this one to me? In every versioning system I've ever used, 1.1 would be greater than 1.01, not equal. On Fri, Jul 20, 2012 at 5:07 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! For example, I was not the only one who found it odd that 1.0 is

Re: [PHP-DEV] common issue with version_compare()

2012-07-21 Thread Kris Craig
On Sat, Jul 21, 2012 at 3:09 AM, Andrew Faulds ajf...@googlemail.comwrote: If you think 1.1 =/= 1.01 you're sure using some weird version numbers. Only 1.0.1 would be smaller. Has anyone seen these weird version ordering schemes in practise? On any major projects of note? *raises his hand*

Re: [PHP-DEV] RFCs and organisation

2012-07-25 Thread Kris Craig
On Wed, Jul 25, 2012 at 1:50 PM, Andrew Faulds a...@ajf.me wrote: Hi there, First off I'd like to apologise for being a generally useless and overly reactive poster on this list. I'm going to exercise more self-constraint now after noticing I made more posts on this list this month than

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Kris Craig
On Thu, Jul 26, 2012 at 10:47 AM, Andrew Faulds a...@ajf.me wrote: On 26/07/12 18:46, Levi Morrison wrote: I'm in favor of an RFC app on the condition it has a nice UX and has complete unit tests. Welp, guess it's time for me to learn how to unit-test properly. -- Andrew Faulds

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Kris Craig
On Thu, Jul 26, 2012 at 12:34 PM, Andrew Faulds a...@ajf.me wrote: On 26/07/12 16:44, Laupretre François wrote: There was a time when one could have written an app for it in PHP ;) Right. We all know from the beginning that a wiki is better than nothing but, when the number of

Re: [PHP-DEV] Bringing users along ...

2012-08-01 Thread Kris Craig
On Tue, Jul 31, 2012 at 11:55 PM, Lester Caine les...@lsces.co.uk wrote: Stas Malyshev wrote: Helping to solve the problem would also help everybody else upgrade TO PHP5.4? OK, so what help do you require? PEAR and PECL that work with PHP5.4 out of the box? At least the core of PEAR that

Re: [PHP-DEV] PHP 5.x Documentend End Of Life Dates

2012-08-01 Thread Kris Craig
On Wed, Aug 1, 2012 at 6:13 AM, hakre hanskren...@yahoo.de wrote: I have some simple questions about PHP 5.x End Of Life (EOL) dates: PHP 5.0 - Is there some official news-item or changelog entry on php.netthat says at which date PHP 5.0 went End Of Life? PHP 5.2 - Does the End Of Support

[PHP-DEV] Internet Defense League - Update

2012-08-01 Thread Kris Craig
Hey guys, Sorry for the delayed report. They never responded to my last follow-up email a couple weeks ago and I kinda forgot about it until now. Fortunately, I checked the website and it looks like they do have us listed finally. Here's the URL: http://internetdefenseleague.org/ Please

Re: [PHP-DEV] PHP 5.x Documentend End Of Life Dates

2012-08-01 Thread Kris Craig
On Wed, Aug 1, 2012 at 11:16 AM, Ángel González keis...@gmail.com wrote: On 01/08/12 20:02, Kris Craig wrote: On Wed, Aug 1, 2012 at 6:13 AM, hakre hanskren...@yahoo.de wrote: I have some simple questions about PHP 5.x End Of Life (EOL) dates: PHP 5.0 - Is there some official news-item

Re: [PHP-DEV] PHP 5.x Documentend End Of Life Dates

2012-08-01 Thread Kris Craig
On Wed, Aug 1, 2012 at 11:45 AM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 08/01/2012 11:16 AM, Ángel González wrote: There should be a page like http://www.php.net/ancient-versions listing the versions with the date they went EOL and how much time has passed since them. Some scary

Re: [PHP-DEV] Add runkit to PHP Runtime

2012-08-02 Thread Kris Craig
What do you think? I think I need to get my lens prescription updated. I thought the subject line read, Add *rootkit *to PHP Runtime and was already sharpening my pitchfork before I realized my error. For the record, I am firmly opposed to adding a rootkit to the PHP runtime. A runkit

Re: [PHP-DEV] Inline typecasting / typehinting for classes and interfaces

2012-08-14 Thread Kris Craig
On Tue, Aug 14, 2012 at 12:46 AM, Stan Vass sv_for...@fmethod.com wrote: I've felt the need for this for some time. Proposed syntax: - $x = (InterfaceName) $container-service; Proposed behavior: --- Checks if the instance if an instance

Re: [PHP-DEV] RFC page creation

2012-08-14 Thread Kris Craig
On Tue, Aug 14, 2012 at 10:28 AM, Yahav Gindi Bar g.b.ya...@gmail.comwrote: Hi, I believe its a newbie question, but because I only replied to mails and didn't create any RFC page yet I wish to confirm. I wish to create an RFC page for a feature discussion, but I can't do it from the wiki

Re: [PHP-DEV] RFC page creation

2012-08-14 Thread Kris Craig
Put that aside, I think that someone should create a guidelines in the wiki about how to post an RFC without an account... Ironically, I think we'd need to create an RFC for that. ;) --Kris

Re: [PHP-DEV] Inline typecasting / typehinting for classes and interfaces

2012-08-15 Thread Kris Craig
On Wed, Aug 15, 2012 at 4:48 AM, Anthony Ferrara ircmax...@gmail.comwrote: Stan, On Wed, Aug 15, 2012 at 3:57 AM, Stan Vass sv_for...@fmethod.com wrote: Hi! I agree with you. The one case where this syntax may be very useful is if we want to implement class casting. So introduce a

Re: [PHP-DEV] removing an item from an array

2012-08-15 Thread Kris Craig
Btw, deleting all values (not just the first) is also very easy currently: foreach (array_keys($array, $delValue) as $key) { unset($array[$key]); } Even easier still, just do this: $array_var = array(); --Kris

Re: [PHP-DEV] removing an item from an array

2012-08-15 Thread Kris Craig
On Wed, Aug 15, 2012 at 1:31 PM, Nikita Popov nikita@gmail.com wrote: On Wed, Aug 15, 2012 at 10:29 PM, Kris Craig kris.cr...@gmail.com wrote: Btw, deleting all values (not just the first) is also very easy currently: foreach (array_keys($array, $delValue) as $key) { unset

Re: [PHP-DEV] removing an item from an array

2012-08-15 Thread Kris Craig
On Wed, Aug 15, 2012 at 1:35 PM, Kris Craig kris.cr...@gmail.com wrote: On Wed, Aug 15, 2012 at 1:31 PM, Nikita Popov nikita@gmail.comwrote: On Wed, Aug 15, 2012 at 10:29 PM, Kris Craig kris.cr...@gmail.com wrote: Btw, deleting all values (not just the first) is also very easy

Re: [PHP-DEV] PHP Performance - 1’000’000 iterations

2012-08-19 Thread Kris Craig
It's also worth noting that a billion iterations is a lot in any language, not just PHP. Plus most browsers would probably blow-up in your face if you tried to send that much data. --Kris On Sun, Aug 19, 2012 at 8:41 AM, Raymond Irving xwis...@gmail.com wrote: Many thanks for the feedback.

[PHP-DEV] Add generic version support discontinued fix in Bugs

2012-08-25 Thread Kris Craig
Hey guys, I'm not sure whom to ask, but could somebody with the appropriate privs add a Quick Fix to the Bugs dropdown that says something along the lines of, Support for this PHP version has been discontinued (won't fix)? There's currently a similar one already but it's specific to PHP 4, and

Re: [PHP-DEV] Add generic version support discontinued fix in Bugs

2012-08-26 Thread Kris Craig
On Sat, Aug 25, 2012 at 12:44 AM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.08.25. 9:24, Kris Craig kris.cr...@gmail.com ezt írta: Hey guys, I'm not sure whom to ask, but could somebody with the appropriate privs add a Quick Fix to the Bugs dropdown that says something along

Re: [PHP-DEV] Re: [VOTE]Call for voting: support use list in foreach

2012-08-26 Thread Kris Craig
On Sun, Aug 26, 2012 at 1:20 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I honestly don't see what the problem is. If the sample is indeed random, there's no bias as to what the voters as whole would do, tough for close votes or for votes where very few people vote the result could

Re: [PHP-DEV] Re: [VOTE]Call for voting: support use list in foreach

2012-08-26 Thread Kris Craig
On Sun, Aug 26, 2012 at 6:22 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 08/26/2012 06:18 PM, Kris Craig wrote: Short of killing ourselves rewriting it in C++, I'm not sure there is an ideal solution to this problem. Because you think more people can grok C++ than C? That's not my

Re: [PHP-DEV] Support negative indexes for arrays and strings

2012-09-01 Thread Kris Craig
On Fri, Aug 31, 2012 at 10:24 PM, Sherif Ramadan theanomaly...@gmail.comwrote: That might actually be something I could use :) But the fun for me begins here: $numbers = array(); $numbers[-1] = 5; $numbers[] = 6; What would have happened to the keys? Normally [] is equivalent to

Re: [PHP-DEV] Re: RFC Property get/set syntax

2012-09-03 Thread Kris Craig
On Mon, Sep 3, 2012 at 6:28 PM, Matt Ficken v-maf...@outlook.com wrote: I have created a single build combining the property get/set RFC and Generator RFC. On Windows, there are some regressions due to the branch not included many of the recent fixes for Windows. Otherwise, on Windows and

Re: [PHP-DEV] On BC and interfaces

2012-09-06 Thread Kris Craig
On Tue, Sep 4, 2012 at 12:15 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! Given many discussions on the list about changing stuff in PHP, I'd like to bring everybody's attention to comment by Linus Torvalds in this topic: https://plus.google.com/115250422803614415116/posts/hMT5kW8LKJk

Re: [PHP-DEV] Download PHP binaries

2012-09-15 Thread Kris Craig
But also (and mainly) because this is a confusing link. Perhaps this link will clarify the situation for you: http://xkcd.com/175/ --Kris

Re: [PHP-DEV] constructor hook

2012-09-18 Thread Kris Craig
On Tue, Sep 18, 2012 at 6:07 AM, Johannes Schlüter johan...@schlueters.dewrote: On Tue, 2012-09-18 at 08:19 -0400, Rasmus Schultz wrote: Hey, I'm going to make this brief, because I suspect a lot of people are going to jump at the opportunity to cry bloody murder when I suggest this.

Re: [PHP-DEV] constructor hook

2012-09-18 Thread Kris Craig
On Tue, Sep 18, 2012 at 8:14 AM, Amaury Bouchard ama...@amaury.net wrote: Sounds to me like aspect-oriented programming, applied to object construction. Take a look at: https://github.com/AOP-PHP/AOP Yeah I wasn't aware of this, either, but I can think of several scenarios in which it'd be

Re: [PHP-DEV] constructor hook

2012-09-19 Thread Kris Craig
On Wed, Sep 19, 2012 at 10:34 AM, jpauli jpa...@php.net wrote: On Sep 19, 2012 4:31 AM, Kris Craig kris.cr...@gmail.com wrote: On Tue, Sep 18, 2012 at 8:14 AM, Amaury Bouchard ama...@amaury.net wrote: Sounds to me like aspect-oriented programming, applied to object construction

[PHP-DEV] Fwd: voter outreach

2012-09-20 Thread Kris Craig
Hey guys, I got this request from my IDL contact a few hours ago. What do y'all think? Looks like a good idea to me at least. --Kris -- Forwarded message -- From: Douglas Schatz pdsch...@gmail.com Date: Wed, Sep 19, 2012 at 2:43 PM Subject: voter outreach To: Kris Craig

Re: [PHP-DEV] Fwd: voter outreach

2012-09-20 Thread Kris Craig
On Thu, Sep 20, 2012 at 3:42 AM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.09.20. 12:20, Kris Craig kris.cr...@gmail.com ezt írta: Hey guys, I got this request from my IDL contact a few hours ago. What do y'all think? Looks like a good idea to me at least. -- I liked

Re: [PHP-DEV] Fwd: voter outreach

2012-09-20 Thread Kris Craig
On Thu, Sep 20, 2012 at 3:45 AM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Sep 20, 2012 at 3:42 AM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.09.20. 12:20, Kris Craig kris.cr...@gmail.com ezt írta: Hey guys, I got this request from my IDL contact a few hours ago. What do

Re: [PHP-DEV] Fwd: voter outreach

2012-09-20 Thread Kris Craig
On Thu, Sep 20, 2012 at 3:51 AM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.09.20. 12:45, Kris Craig kris.cr...@gmail.com ezt írta: On Thu, Sep 20, 2012 at 3:42 AM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.09.20. 12:20, Kris Craig kris.cr...@gmail.com ezt írta: Hey

Re: [PHP-DEV] Alternatives to mailing list?

2012-10-17 Thread Kris Craig
On Tue, Oct 16, 2012 at 8:34 PM, Clint Priest cpri...@zerocue.com wrote: I was thinking more along the lines of a collaborative wiki with inline-threaded comments... -Original Message- From: Jan Ehrhardt [mailto:php...@ehrhardt.nl] Sent: Tuesday, October 16, 2012 8:00 PM To:

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Kris Craig
On Thu, Oct 18, 2012 at 4:58 AM, Clint Priest cpri...@zerocue.com wrote: Who's the karma keeper anyways? Do we get a score? ;) I'm not 100% sure, but I think the Hindu god Ishvara is the person you're looking for. --Kris

Re: [PHP-DEV] Changing the default value of true for CURLOPT_SSL_VERIFYHOST

2012-10-25 Thread Kris Craig
On Wed, Oct 24, 2012 at 11:21 PM, Sherif Ramadan theanomaly...@gmail.comwrote: On Thu, Oct 25, 2012 at 1:46 AM, JJ ja...@php.net wrote: On Wed, Oct 24, 2012 at 10:34 PM, Sherif Ramadan theanomaly...@gmail.com wrote: I understand there are people out there that don't read the

Re: [PHP-DEV] Changing the default value of true for CURLOPT_SSL_VERIFYHOST

2012-10-25 Thread Kris Craig
So you propose to implement strict type checking of parameters because a few bozos don't read the documentation? That doesn't make much sense to me. What makes more sense is that the extension perform its own type checking where that is appropriate. I have plenty of subroutine code that

Re: [PHP-DEV] Changing the default value of true for CURLOPT_SSL_VERIFYHOST

2012-10-25 Thread Kris Craig
On Thu, Oct 25, 2012 at 7:26 AM, Anthony Ferrara ircmax...@gmail.comwrote: All, On Thu, Oct 25, 2012 at 3:14 AM, Guillaume Rossolini g.rossol...@gmail.com wrote: On Thu, Oct 25, 2012 at 8:36 AM, Kris Craig kris.cr...@gmail.com wrote: What if, instead of changing the behavior, we have

Re: [PHP-DEV] Recycle PHP Log

2012-10-27 Thread Kris Craig
On Sat, Oct 27, 2012 at 2:17 AM, Mario Brandt jbl...@gmail.com wrote: Hi, On Thu, Oct 25, 2012 at 9:59 PM, Antony Dovgal t...@daylessday.org wrote: Just use logrotate for that. On Windows there is no logrotate by defautl, so that would be a nice feature ;) Cheers Mario -- PHP

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Kris Craig
On Fri, Nov 16, 2012 at 10:09 AM, Lester Caine les...@lsces.co.uk wrote: Rasmus Lerdorf wrote: We need a frontpage notice. A big notice in the next UPGRADING file. There was nothing about this in the 5.4 UPGRADING file, for example. We also need tutorials showing how to migrate from mysql to

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-19 Thread Kris Craig
On Mon, Nov 19, 2012 at 5:04 AM, Anthony Ferrara ircmax...@gmail.comwrote: Pierre, Hard/soft deprecated? I suppose by soft you mean not actually deprecated but only documented as such? Correct. Hard = raising E_DEPRECATED from code. Soft = Documentation and PR only... By NEXT are

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-19 Thread Kris Craig
On Mon, Nov 19, 2012 at 9:49 AM, Levi Morrison morrison.l...@gmail.comwrote: On Mon, Nov 19, 2012 at 10:22 AM, Anthony Ferrara ircmax...@gmail.com wrote: And in either case, removal would happen one release after hard deprecation. I'd actually propose that it is removed in PHP 6, even if

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-20 Thread Kris Craig
On Tue, Nov 20, 2012 at 5:12 AM, Pierre Joye pierre@gmail.com wrote: Lester, My point is: less talk, more acts. You want better docs? Contribute. Cheers, I think there's definitely room for improvement in making mysqli tutorials more common and accessible, but I don't think that

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-20 Thread Kris Craig
On Tue, Nov 20, 2012 at 9:55 AM, Pierre Joye pierre@gmail.com wrote: hi, On Tue, Nov 20, 2012 at 6:43 PM, Kris Craig kris.cr...@gmail.com wrote: On Tue, Nov 20, 2012 at 5:12 AM, Pierre Joye pierre@gmail.com wrote: Lester, My point is: less talk, more acts. You want

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-20 Thread Kris Craig
On Tue, Nov 20, 2012 at 3:32 PM, David Muir davidkm...@gmail.com wrote: On 20/11/12 21:22, Lester Caine wrote: Ulf Wendel wrote: 1. Add this link to the RFC?: https://wikis.oracle.com/**display/mysql/Converting+to+**MySQLihttps://wikis.oracle.com/display/mysql/Converting+to+MySQLi As

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-21 Thread Kris Craig
On Wed, Nov 21, 2012 at 7:43 AM, Thomas Hruska thru...@cubiclesoft.comwrote: On 11/12/2012 9:22 AM, Derick Rethans wrote: On Mon, 12 Nov 2012, Adam Harvey wrote: I've written an RFC to cover deprecating ext/mysql in PHP 5.5:

Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5

2012-11-28 Thread Kris Craig
On Wed, Nov 28, 2012 at 8:43 AM, Anthony Ferrara ircmax...@gmail.comwrote: Patrick, Sorry, but removing the E_DEPRECATED notice when moved to PECL is not part of the proposed RFC and should certainly not happen. The proposal doesn't actually propose anything about a move to PECL. It's

Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5

2012-11-28 Thread Kris Craig
Kris, There was no ext/magic_quotes that was retired to PECL. You're comparing apples with oranges. David I disagree. Whether we're deprecating an extension or a subset of functions, the practical impact is pretty much the same. As for moving it to PECL, why are we even discussing that

Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5

2012-11-29 Thread Kris Craig
On Thu, Nov 29, 2012 at 7:46 AM, Jan Ehrhardt php...@ehrhardt.nl wrote: Kris Craig in php.internals (Wed, 28 Nov 2012 12:33:55 -0800): We also know that E_DEPRECATED works when other approaches do not. I would point you all to the famous example of Drupal 7, which would break completely due

Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5

2012-11-29 Thread Kris Craig
On Thu, Nov 29, 2012 at 10:03 AM, Anthony Ferrara ircmax...@gmail.comwrote: Kris I think you're forgetting though that the same applies to PHP itself. Many repos still default to PHP 5.1.x. Adoption always tends to be a lagging factor. I don't see any evidence to suggest that Drupal and

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread Kris Craig
On Thu, Nov 29, 2012 at 3:57 PM, David Muir davidkm...@gmail.com wrote: On 30/11/12 05:25, Ángel González wrote: On 29/11/12 18:17, Anthony Ferrara wrote: Just pointing this out: that's NOT what this RFC recommends, and is NOT what's being voted on. This RFC is talking about ONLY adding

Re: [PHP-DEV] Things move slowly in the real world ;)

2012-12-04 Thread Kris Craig
On Tue, Dec 4, 2012 at 3:57 PM, Levi Morrison morrison.l...@gmail.comwrote: I'm lead to believe that the date was chosen simply because they do consider the situation a bit of a joke ... Speaking as a current and long-time customer of 1and1 hosting, I do believe that their business

[PHP-DEV] camelCase on Exception methods?

2012-12-06 Thread Kris Craig
Hey guys, Please forgive me if this has already been addressed, but could somebody tell me why all the methods for the Exception class are in camelCase? I don't want to wade too deeply into the consistency vs. BC rabbit hole here, but I'm just wondering what the general consensus is on this

Re: [PHP-DEV] camelCase on Exception methods?

2012-12-06 Thread Kris Craig
On Thu, Dec 6, 2012 at 4:57 PM, Sherif Ramadan theanomaly...@gmail.comwrote: On Thu, Dec 6, 2012 at 7:34 PM, Kris Craig kris.cr...@gmail.com wrote: Hey guys, Please forgive me if this has already been addressed, but could somebody tell me why all the methods for the Exception class

Re: [PHP-DEV] [VOTE RESULT] ext/mysql deprecation in 5.5

2012-12-06 Thread Kris Craig
On Thu, Dec 6, 2012 at 10:19 PM, Adam Harvey ahar...@php.net wrote: All, I ended up leaving the vote open for a couple of extra days (been a busy week), but I've now closed the ext/mysql deprecation vote. The full results are at https://wiki.php.net/rfc/mysql_deprecation — the short version

Re: [PHP-DEV] php 5.3.14 nts source code for windows

2012-12-12 Thread Kris Craig
On Wed, Dec 12, 2012 at 1:27 PM, Amir ad...@ecdcconference.org wrote: Thanks Anatoliy, but I don;t want to compile PHP source, I just want to compile my own extension on windows via NTS PHP source code. On Wed, Dec 12, 2012 at 8:10 PM, Anatoliy Belsky a...@php.net wrote: Hi, the

Re: [PHP-DEV] Core liason for PHP FIG

2012-12-16 Thread Kris Craig
On Sun, Dec 16, 2012 at 1:02 AM, Lars Strojny l...@strojny.net wrote: Hello everybody, for all of you who don’t know, PHP FIG (Framework Interoperability Group, http://www.php-fig.org/) discusses ways frameworks and libraries can work together and integrate much easier. Current PSRs are PSR-0

Re: [PHP-DEV] Core liason for PHP FIG

2012-12-16 Thread Kris Craig
to be a good initiative. Rest of the answers below. Am 16.12.2012 um 11:50 schrieb Kris Craig kris.cr...@gmail.com: My one concern with this idea is that it could give the erroneous impression that the coding style standards your group advocates are endorsed, implicitly or otherwise

Re: [PHP-DEV] Core liason for PHP FIG

2012-12-16 Thread Kris Craig
On Sun, Dec 16, 2012 at 10:29 PM, Pierre Joye pierre@gmail.com wrote: hi, What does that have to do with the initial question? It is getting really annoying to see you hi jack every single thread in this list with totally off topic and lengthy replies. It does not matter if what the

Re: [PHP-DEV] Ruby's symbols

2013-01-05 Thread Kris Craig
On Sat, Jan 5, 2013 at 2:49 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I know I shouldn't write Ruby in the subject of a letter for php-internals ML, but... Just wanted to ask, is anybody interested in this feature in PHP? As I understand, :foo is basically an interned string

Re: [PHP-DEV] Ruby's symbols

2013-01-05 Thread Kris Craig
On Sat, Jan 5, 2013 at 3:32 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 01/05/2013 03:29 PM, Kris Craig wrote: In both cases, we really don't care what the actual values of brown, black, and purple are. We just want it to be unique so we can reference each of them in a visually

Re: [PHP-DEV] Ruby's symbols

2013-01-05 Thread Kris Craig
On Sat, Jan 5, 2013 at 3:39 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 01/05/2013 03:36 PM, Kris Craig wrote: On Sat, Jan 5, 2013 at 3:32 PM, Rasmus Lerdorf ras...@lerdorf.com mailto:ras...@lerdorf.com wrote: On 01/05/2013 03:29 PM, Kris Craig wrote: In both cases

Re: [PHP-DEV] [RFC][discussion] 5.3 EOL

2013-01-08 Thread Kris Craig
On Tue, Jan 8, 2013 at 1:36 AM, Pierre Joye pierre@gmail.com wrote: hi, While the 5.3 RM already unilaterally published some announce about 5.3 status with the last release, we still have to clearly and openly decide what is the best road to take. Here is the last version of the rfc:

Re: [PHP-DEV] [RFC][discussion] 5.3 EOL

2013-01-08 Thread Kris Craig
On Tue, Jan 8, 2013 at 2:00 AM, Pierre Joye pierre@gmail.com wrote: On Tue, Jan 8, 2013 at 10:48 AM, Kris Craig kris.cr...@gmail.com wrote: Would a voting option to tie it to the release of a future PHP version, rather than a fixed time interval, be appropriate? Like in end it when 5

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

2013-01-11 Thread Kris Craig
On Fri, Jan 11, 2013 at 10:53 PM, Anthony Ferrara ircmax...@gmail.comwrote: Stas, This is a great illustration of different visions we have here. On one hand, we have practical, immediate feature that covers a clear use case and does not add any constructs or complexity to the core

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Kris Craig
We focus those resources on the platforms used by 95% of our users. Feel free to dig in and send us some patches. Needless to say, all of those tests pass on Linux, FreeBSD and likely OSX as well. I will try that theory out on RHEL 6.3 and let you know. PHP is hardly what I would call

Re: [PHP-DEV] Re: [RFC][vote] 5.3 EOL

2013-01-24 Thread Kris Craig
On Wed, Jan 23, 2013 at 9:56 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I asked many native speakers and all understood it as when 5.5.0 stable release will be announced. I didn't even think it may mean anything else until I've read this thread. I don't think any significant

Re: [PHP-DEV] Proposal - Removing netware support in 5.5 or 5.6

2013-01-24 Thread Kris Craig
Looks like a reasonable idea to me. Could you draft an RFC for this? --Kris On Thu, Jan 24, 2013 at 7:39 AM, marius adrian popa map...@gmail.comwrote: Seems that is past it's time http://www.novell.com/support/kb/doc.php?id=7003092 I would start with netware folder

Re: [PHP-DEV] I think that Function naming inconsistency bug deservers more attention

2013-01-25 Thread Kris Craig
Now if someone could come up with a third party tool that reads an application ... identifies all of the problems ... and at least offer pointers to fix them ... I like that idea! Kinda surprised something like that doesn't already exist, actually --Kris

Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning

2013-02-03 Thread Kris Craig
On Sun, Feb 3, 2013 at 1:48 PM, Karoly Negyesi kar...@negyesi.net wrote: We do not consider a change [...] a BC break Let me help: backwards compatibility means a host can upgrade a package without inducing a lot of support tickets. Best, Karoly Negyesi -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning

2013-02-05 Thread Kris Craig
This is a circular discussion and I don't see how it could end. I do. Let's put up an RFC for it. That is one of the reasons we established that process, isn't it? So that ideas like this don't just end up in infinite discussions that go nowhere? Karoly, are you familiar with our RFC

[PHP-DEV] Quick question about bug 64154

2013-02-19 Thread Kris Craig
Hey guys, Somebody filed a bug report (https://bugs.php.net/bug.php?id=64154) about non-bundled extensions like php_zip being included in php.ini. Is there a reason why we're keeping those in there, or is it just that nobody ever got around to removing them? Thanks! --Kris

Re: [PHP-DEV] PHP User Survey

2013-02-20 Thread Kris Craig
On Wed, Feb 20, 2013 at 12:00 PM, Paul Reinheimer preinhei...@gmail.comwrote: Hi All, My apologies for the intrusion, I'll keep this brief. In many discussions over the past few months there has been talk about what the community at large needs. Pierre said just earlier today: I would

Re: [PHP-DEV] PHP User Survey

2013-02-20 Thread Kris Craig
On Wed, Feb 20, 2013 at 12:27 PM, Florin Razvan Patan florinpa...@gmail.com wrote: Hi Paul, On Wed, Feb 20, 2013 at 10:00 PM, Paul Reinheimer preinhei...@gmail.com wrote: Hi All, My apologies for the intrusion, I'll keep this brief. In many discussions over the past few months

Re: [PHP-DEV] PHP User Survey

2013-02-20 Thread Kris Craig
On Wed, Feb 20, 2013 at 12:35 PM, Christopher Jones christopher.jo...@oracle.com wrote: On 02/20/2013 12:00 PM, Paul Reinheimer wrote: Hi All, My apologies for the intrusion, I'll keep this brief. In many discussions over the past few months there has been talk about what the

Re: [PHP-DEV] Getting separate outputs with Date Functions

2013-02-20 Thread Kris Craig
On Wed, Feb 20, 2013 at 11:54 AM, David Soria Parra d...@php.net wrote: On 2013-02-19, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! echo date_create('@1361240634')-format('Y-m-d'); // output: 2013-02-19 echo date('Y-m-d',1361240634); // output: 2013-02-18 timestamp dates are

Re: [PHP-DEV] PHP User Survey

2013-03-05 Thread Kris Craig
On Tue, Mar 5, 2013 at 7:45 PM, David Muir davidkm...@gmail.com wrote: When do you upgrade to a new release of php e.g. 5.3 - 5.4 - As soon as released - wait for the x.1 release - Once our OpCode cache supports it - When previous version hits EOL - When a new feature warrants

Re: [PHP-DEV] Re: [RFC] Allow trailing comma in function call argument lists

2013-03-14 Thread Kris Craig
On Thu, Mar 14, 2013 at 6:32 AM, Peter Cowburn petercowb...@gmail.comwrote: On 14 March 2013 08:35, Sara Golemon poll...@php.net wrote: Some unofficial votes going either way... Let's open the voting to see where things fall. Don't forget to start a new thread, as described in the

Re: [PHP-DEV] cleaning up Under Discussion RFCs?

2013-03-30 Thread Kris Craig
On Sat, Mar 30, 2013 at 8:31 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! We currently have around 40 RFCs on the wiki under Under Discussion section, but many of them aren't actually being discussed and hasn't been for long a time. This makes the issues that are actively

Re: [PHP-DEV] Re: Adding a way to retreive compile options at runtime

2013-04-04 Thread Kris Craig
On Thu, Apr 4, 2013 at 10:40 AM, Joe Watkins krak...@php.net wrote: On 04/04/2013 06:30 PM, Johannes Schlüter wrote: Joe Watkins krak...@php.net wrote: Many extensions do not provide constants or functions to detect the way they are configured, this may or may not expose those options,

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

2013-05-24 Thread Kris Craig
On Fri, May 24, 2013 at 12:11 AM, Levi Morrison morrison.l...@gmail.comwrote: The U in UTC *does* stand for Universal, after all. It's a sensible default and as such shouldn't I don't think it's a sensible default - people don't actually use UTC when considering dates. A minority of

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

2013-05-24 Thread Kris Craig
On Fri, May 24, 2013 at 1:16 AM, Kris Craig kris.cr...@gmail.com wrote: On Fri, May 24, 2013 at 12:11 AM, Levi Morrison morrison.l...@gmail.comwrote: The U in UTC *does* stand for Universal, after all. It's a sensible default and as such shouldn't I don't think it's a sensible

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

2013-05-27 Thread Kris Craig
On Sun, May 26, 2013 at 11:49 PM, Reinis Rozitis r...@roze.lv wrote: Again, why can't we just bypass this whole argument by adding a configure option? Something like --date.default_timezone=**America/Los_Angeles? It could then build that in so it'll assume that if there's no php.ini or if

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

2013-05-27 Thread Kris Craig
On Mon, May 27, 2013 at 4:35 PM, Daniel Lowrey rdlow...@gmail.com wrote: I understand that you can use php -d, but this is not a portable solution. My specific use case is running a libevent-based HTTP server and I cannot even run unit test suites without an .ini file because of this warning.

Re: [PHP-DEV] PHP enhancement suggestion

2013-06-08 Thread Kris Craig
On Fri, Jun 7, 2013 at 5:40 AM, Martin Phillips martinphill...@ladybridge.com wrote: Hi all, I wish to propose the addition of a set of PHP functions that would interface with the OpenQM multivalue database product in much the same way as PHP already has interfaces to other databases.

[PHP-DEV] ENT_ALL or similar option for htmlspecialchars[_decode]?

2013-06-26 Thread Kris Craig
I just noticed that htmlspecialchars_decode doesn't convert entities like #10 and #13. Is there a bitmask I'm missing or are those simply not supported right now? If the latter, any thoughts on adding something along the lines of ENT_ALL to convert all valid entities from/to their respective

  1   2   3   4   5   >