Search Discussions
-
Hi all, First of all, I have no intention removing old function names. PHP function names are subject of critics for a long time. http://www.phpsadness.com/sad/4 http://www.phpsadness.com/sad/15 ...
Yasuo Ohgaki
Mar 1, 2015 at 11:30 am
Mar 8, 2015 at 10:43 pm -
This email is just to gauge the response for some syntactic sugar to be added to PHP in regard to slicing an array. My proposal is something similar to Pythons slice, in PHP this would look like ...
Alex Bowers
Mar 19, 2015 at 8:49 pm
Mar 21, 2015 at 11:52 am -
Hi, I know that our official release process allows that, but there are some reasonable arguments against doing that and this topic was brought up multiple times related to specific fixes. I have two ...
Ferenc Kovacs
Mar 30, 2015 at 10:04 am
Apr 3, 2015 at 5:38 pm -
All, Voting has been closed on the scalar type declarations v0.5 RFC: https://wiki.php.net/rfc/scalar_type_hints_v5 At a final score of 108:48, it has been accepted for PHP 7. Thank you. Anthony
Anthony Ferrara
Mar 16, 2015 at 9:03 pm
Mar 19, 2015 at 9:52 am -
mismatch. So basically you mixed topics and voted no for the one RFC that would allow what you want to do later while allowing strict hinting already. Accepting the other means changing casting rules ...
Pierre Joye
Mar 16, 2015 at 8:17 am
Mar 17, 2015 at 9:13 am -
Hi internals! The mbstring extension supports replacing PHP string functions with multibyte variants through the mbstring.func_overload ini option. This ini setting is a real PITA for code ...
Nikita Popov
Mar 24, 2015 at 11:44 am
Mar 31, 2015 at 8:07 am -
All, https://wiki.php.net/rfc/array-to-string (which I voted yes to) deviates from our guidelines of deprecating features first, and removing them later; It’s addressed in the RFC – but I’m a bit ...
Zeev Suraski
Mar 2, 2015 at 2:24 pm
Mar 20, 2015 at 10:31 am -
Hello internals, In the light of recent events, I would like to propose a change to the way we vote. The change would be switching from visible casted votes to private / hidden votes until the ...
Stelian Mocanita
Mar 17, 2015 at 8:02 pm
Mar 18, 2015 at 9:06 am -
Hi folks, I'd like to initiate discussion on a proposal to implement generator delegation via the following new syntax inside generator functions: yield * <expr The Generator Delegation RFC is ...
Daniel Lowrey
Mar 1, 2015 at 11:52 pm
Mar 3, 2015 at 1:28 pm -
Hi, Recently, Xinchen and me worked on optimization that eliminates useless reallocations and copying during string concatenation (ZEND_ADD_STRING and family + ZEND_CONCAT). The idea comes from ...
Dmitry Stogov
Mar 23, 2015 at 10:41 pm
Mar 24, 2015 at 9:22 pm -
Hi, I've been reading about PHP7 RFC ans I did not see anything about HTTP/2 support in any threads on internals nor the wiki. I'm aware that HTTP is the responsibility of the underlying web server, ...
Grégory Planchat
Mar 31, 2015 at 1:32 pm
Apr 3, 2015 at 4:54 pm -
Hi Internals, This email is to announce the formal opening of discussion for an RFC to clean up the behaviour of the constructors shown by several internal classes ...
Dan Ackroyd
Mar 1, 2015 at 2:56 pm
Mar 9, 2015 at 4:52 am -
Hi all, First of all, I have no intention to remove nor deprecate old function names. Old function names must exist for compatibility and should be able to use forever. We have CODING_STANDARDS[1] ...
Yasuo Ohgaki
Mar 2, 2015 at 9:52 pm
Mar 8, 2015 at 1:54 pm -
All, One thing that I think we should change is how we refer to the ‘weak’ type hints. The word ‘weak’ has a negative ring to it, and considering this is how the language behaves across the board ...
Zeev Suraski
Mar 30, 2015 at 2:16 pm
Apr 1, 2015 at 7:15 am -
The 2nd PR I made addresses this (https://github.com/php/php-src/pull/1123), exposing 3 much simpler interfaces depending on what the user wants/needs to implement, which combined covers all the 11 ...
Thomas Gielfeldt
Mar 2, 2015 at 7:43 am
Mar 8, 2015 at 8:03 pm -
Per PHPsadness... http://phpsadness.com/sad/30 Since 7 is allowed to have BC breaks this would be the time to fix this. I'll let someone with more seniority actually write this up - but please, ...
Michael Morris
Mar 26, 2015 at 8:54 pm
Mar 27, 2015 at 1:35 pm -
I know that many people talked about this over and over. Why it’s not possible to change the old PHP API ? The answer is always because it will make HUGE BC breaks I’ve seen this wonderful idea about ...
Nathan wesley
Mar 21, 2015 at 4:15 am
Mar 23, 2015 at 9:59 pm -
I'm not against removing E_STRICT and reclassifying the errors, however, like Derick , I'd like to keep the trait and redefining constructor ones as they may really help to spot problems. About the ...
Julien Pauli
Mar 2, 2015 at 6:14 pm
Apr 2, 2015 at 8:37 am -
Hi, I would like to add a new option to JSON for dealing with large floats. The use case is mainly for decoder but can be used for encoder as well. JSON_FLOAT_AS_STRING decode: all float values will ...
Jakub Zelenka
Mar 29, 2015 at 7:33 pm
Apr 1, 2015 at 7:07 pm -
Extra! Extra! Read all about it: voters come out of the woodwork to vote on contentious issues! (Sorry, just poking fun...) The user page [1] on master.php.net shows when they applied for an account ...
Peter Cowburn
Mar 16, 2015 at 1:56 pm
Mar 19, 2015 at 6:23 pm -
Hi Dan, Your RFC is going to be accepted and I support the idea, however the patch looks a bit surprising to me. Actually, returning NULL from constructors wasn't simple :) We have special function ...
Dmitry Stogov
Mar 26, 2015 at 8:19 pm
Apr 4, 2015 at 6:16 pm -
Could you add a paragraph or two explaining the reasons for choosing this particular proposal? Some examples of what I would like to read: - why we can't do preg_replace_callback($array_of_regexes, ...
Peter Cowburn
Mar 16, 2015 at 9:46 am
Mar 21, 2015 at 9:44 pm -
Hi Philip [Robert Stoll] I like the RFC +1 :) Can I also use traits in combination with anonymous classes?=3D20
Robert Stoll
Mar 3, 2015 at 5:03 pm
Mar 9, 2015 at 1:48 am -
Hi all, There are too many things that I would like to improve ;) https://bugs.php.net/bug.php?id=69127 This bug is known fatal bug for session module. I proposed "lazy_destroy" to fix this before, ...
Yasuo Ohgaki
Mar 1, 2015 at 4:54 am
Mar 20, 2015 at 10:13 pm -
Hi, Please consider possibility of using the same optimization for ARM, PPC and may be other platforms. On x86(_84) it makes 2-7% speedup. Only the similar changes in zend_execute.c and Zend.m4 are ...
Dmitry Stogov
Mar 17, 2015 at 11:01 am
Mar 18, 2015 at 1:16 pm -
Hi, internals I'm moving the "Strict Argument Count" RFC into discussion phase: RFC: https://wiki.php.net/rfc/strict_argcount PR: https://github.com/php/php-src/pull/1108 Many different opinions were ...
Marcio Almada
Mar 1, 2015 at 11:02 pm
Mar 16, 2015 at 9:07 am -
Hi internals, I'd like to deprecate function: sizeof() [1][2], which is an alias of count(). some people expect it return the memory size of the variable. The doc page's[1] user contributed notes ...
Reeze
Mar 7, 2015 at 3:52 pm
Mar 9, 2015 at 4:03 am -
Hi all, With 7.0 feature freeze in effect, and proposals and RFCs still coming in that are going to target 7.1, I think it's time we branched master and selected a release manager (or two) for 7.0 ...
Leigh
Mar 22, 2015 at 1:38 am
Apr 5, 2015 at 7:05 am -
If I've understood the RFC's correctly, your point is moot. With any scalar type hints, a library will not be able to tell how it is being called. All it knows is that it has received an int, string, ...
David Muir
Mar 16, 2015 at 11:54 am
Mar 16, 2015 at 10:01 pm -
Hi Sara, There's been a little bit of traffic on the list in the past few days; I don't think your RFC has received enough cogent discussion. In particular the keywords 'Resource' and 'mixed' seem to ...
Dan Ackroyd
Mar 16, 2015 at 11:37 pm
Apr 6, 2015 at 5:01 pm -
All, Ever since we introduced password_hash() in 5.5, I've been watching its usage as much as possible. I've setup google alerts and such, as well as auditing implementations I've found on github to ...
Anthony Ferrara
Mar 31, 2015 at 6:49 pm
Apr 1, 2015 at 6:26 pm -
PHP Internals folks-- We're doing some performance work in WinCache, and we're finding that some frameworks are...uh...enthusiastically using file_exists(), is_file() and is_dir() functions on ...
Eric Stenson
Mar 19, 2015 at 8:26 pm
Mar 20, 2015 at 5:23 pm -
Some of this Syntactic sugar would in the past have been developed in PEAR, but the support for 'userland' solutions via that path seems to have lost favour, with even the suggestion that PEAR should ...
Lester Caine
Mar 16, 2015 at 8:04 am
Mar 30, 2015 at 1:01 pm -
Hi, One month ago, I sent a message (https://marc.info/?l=php-internals <https://marc.info/?l=php-internals&m=142449701107797 &m=142449701107797) explaining in details why I thought we should take ...
François Laupretre
Mar 21, 2015 at 3:52 pm
Mar 24, 2015 at 5:23 am -
Hi! Looking into some issue, I've discovered that, to my surprise, Exceptions are serializable. Except that it doesn't always work of course (e.g. see http://stackoverflow.com/q/9747813/214196) ...
Stanislav Malyshev
Mar 23, 2015 at 5:21 am
Mar 23, 2015 at 11:36 am -
Whoa, hold on there a second. An RFC was created, presumably intending to follow that line of procedure. Then Xinchen comes along and puts a middle finger up to the whole process, reverts back to the ...
Peter Cowburn
Mar 21, 2015 at 12:31 pm
Mar 22, 2015 at 9:43 am -
Hey Internal: there is one confused behavior with disable_functions: $ sapi/cli/php -n -d disable_functions=strlen -r 'var_dump(function_exists("strlen")); var_dump(is_callable("strlen"));' ...
Xinchen Hui
Mar 26, 2015 at 3:28 pm
Mar 27, 2015 at 9:14 am -
Hi php internals, After some long and deep research i finally decided to write my first RFC about a feature i'd be interested to be improved in the php core: *Nested enclosing returns* The main ...
Georges.L
Mar 21, 2015 at 1:15 pm
Mar 22, 2015 at 9:41 am -
While you can easily question the value or motives of Anthony's post about voting irregularities, some simple improvements can be made which are uncontroversial. I consider this a low hanging fruit, ...
Philip Sturgeon
Mar 16, 2015 at 6:01 pm
Mar 21, 2015 at 2:33 am -
Hi all, I think this is important, but not many people realize the importance. Therefore I created this as a new thread at the last minutes of vote. If this kind of behavior is allowed, why "strict ...
Yasuo Ohgaki
Mar 16, 2015 at 7:54 pm
Mar 18, 2015 at 11:57 am -
All, Currently, use has a few error cases that are rather fragile. For example: namespace Biz { class Bar {}; } namespace Foo { use Biz\Bar; $a = new Bar; var_dump($a); } namespace Foo { class Bar ...
Anthony Ferrara
Mar 5, 2015 at 7:40 pm
Mar 6, 2015 at 2:40 pm -
Hey Zeev, I think that rejecting leading and trailing spaces for stringy ints is for the best. If I only want to accept an integer (in either int or string form), then by enabling spaces in that ...
Thomas Punt
Mar 1, 2015 at 2:02 pm
Mar 2, 2015 at 10:18 am -
Hi, Since no more issues appeared on discussion, the voting for the "Context Sensitive Lexer" is now open. The voting will close in exactly 14 days counting from now: RFC ...
Marcio Almada
Mar 1, 2015 at 1:11 am
Mar 9, 2015 at 5:48 am -
Le mer. 25 févr. 2015 à 12:16, Xinchen Hui a écrit : Hey: Hello, I'm explaining here the reasons of my "-1" vote. 1) You suggest (in your PR) changing the conversion in _convert_to_string() but not ...
Patrick ALLAERT
Mar 2, 2015 at 12:39 pm
Mar 6, 2015 at 3:18 pm -
I don't know if this is a question for the documentation team or not, but figured I'd start here. There does not appear to be any definitive, clear, reliable information on PHP's op caching ...
J adams
Mar 5, 2015 at 4:13 pm
Mar 5, 2015 at 6:51 pm -
The patch has a pretty major bug in it. If the function is called dynamically first, and then called statically the warning is not given. i.e. the code below gives an error 50% of the time. This is ...
Dan Ackroyd
Mar 16, 2015 at 12:41 pm
Mar 28, 2015 at 8:09 pm -
Hello Internals, I had requested a wiki account (mwillbanks) as I would like to propose an RFC on Object casts to scalar types. This has previously been discussed prior to scalar type hints and since ...
Mike Willbanks
Mar 19, 2015 at 2:35 pm
Mar 21, 2015 at 8:50 pm -
However your proposal here (it's own merits aside), doesn't actually address what I mentioned. Since it still requires the use of a 'function first' phraseology instead of a more natural language ...
Eli
Mar 16, 2015 at 1:45 pm
Mar 19, 2015 at 10:51 am -
Hi all, I had this idea for a long time, but I didn't have time to mention. Since I did mention this idea in basic type hints thread, I've created RFC for it ...
Yasuo Ohgaki
Mar 16, 2015 at 10:01 pm
Mar 16, 2015 at 10:50 pm -
I was testing CakePHP framework with PHP 7 and some tests were failing. Digging into the issue I found that using compact in a certain way can cause PHP to create an array with length but no content ...
Juan Basso
Mar 7, 2015 at 5:23 am
Mar 7, 2015 at 3:52 pm
Group Overview
group | php-internals |
categories | php |
discussions | 110 |
posts | 988 |
users | 145 |
website | php.net |
145 users for March 2015
Archives
- June 2016 (1)
- May 2016 (648)
- April 2016 (33)
- March 2016 (575)
- February 2016 (423)
- January 2016 (40)
- December 2015 (266)
- November 2015 (481)
- October 2015 (23)
- April 2015 (156)
- March 2015 (988)
- February 2015 (836)
- January 2015 (1,468)
- December 2014 (710)
- November 2014 (703)
- October 2014 (787)
- September 2014 (730)
- August 2014 (700)
- July 2014 (1,142)
- June 2014 (488)
- May 2014 (816)
- April 2014 (355)
- March 2014 (611)
- February 2014 (971)
- January 2014 (963)
- December 2013 (489)
- November 2013 (468)
- October 2013 (562)
- September 2013 (622)
- August 2013 (451)
- July 2013 (330)
- June 2013 (422)
- May 2013 (364)
- April 2013 (359)
- March 2013 (497)
- February 2013 (537)
- January 2013 (547)
- December 2012 (335)
- November 2012 (148)
- October 2012 (480)
- September 2012 (632)
- August 2012 (661)
- July 2012 (841)
- June 2012 (362)
- May 2012 (317)
- April 2012 (1,101)
- March 2012 (908)
- February 2012 (780)
- January 2012 (428)
- December 2011 (466)
- November 2011 (690)
- October 2011 (331)
- September 2011 (628)
- August 2011 (777)
- July 2011 (558)
- June 2011 (1,099)
- May 2011 (488)
- April 2011 (345)
- March 2011 (236)
- February 2011 (137)
- January 2011 (230)
- December 2010 (434)
- November 2010 (701)
- October 2010 (211)
- September 2010 (277)
- August 2010 (362)
- July 2010 (205)
- June 2010 (399)
- May 2010 (416)
- April 2010 (473)
- March 2010 (635)
- February 2010 (148)
- January 2010 (325)
- December 2009 (335)
- November 2009 (334)
- October 2009 (270)
- September 2009 (205)
- August 2009 (276)
- July 2009 (605)
- June 2009 (460)
- May 2009 (285)
- April 2009 (254)
- March 2009 (351)
- February 2009 (335)
- January 2009 (451)
- December 2008 (347)
- November 2008 (475)
- October 2008 (795)
- September 2008 (620)
- August 2008 (673)
- July 2008 (829)
- June 2008 (654)
- May 2008 (642)
- April 2008 (653)
- March 2008 (872)
- February 2008 (804)
- January 2008 (751)
- December 2007 (752)
- November 2007 (563)
- October 2007 (490)
- September 2007 (499)
- August 2007 (660)
- July 2007 (965)
- June 2007 (359)
- May 2007 (904)
- April 2007 (476)
- March 2007 (451)
- February 2007 (465)
- January 2007 (499)
- December 2006 (480)
- November 2006 (454)
- October 2006 (391)
- September 2006 (437)
- August 2006 (389)
- July 2006 (840)
- June 2006 (397)
- May 2006 (778)
- April 2006 (426)
- March 2006 (591)
- February 2006 (291)
- January 2006 (391)
- December 2005 (434)
- November 2005 (1,060)
- October 2005 (554)
- September 2005 (677)
- August 2005 (1,157)
- July 2005 (419)
- June 2005 (704)
- May 2005 (195)
- April 2005 (446)
- March 2005 (474)
- February 2005 (770)
- January 2005 (210)
- December 2004 (295)
- November 2004 (308)
- October 2004 (558)
- September 2004 (580)
- August 2004 (734)
- July 2004 (927)
- June 2004 (653)
- May 2004 (575)
- April 2004 (774)
- March 2004 (585)
- February 2004 (819)
- January 2004 (700)
- December 2003 (903)
- November 2003 (682)
- October 2003 (530)
- September 2003 (297)
- August 2003 (659)
- July 2003 (604)
- June 2003 (952)
- May 2003 (994)
- April 2003 (557)
- March 2003 (556)