Search Discussions

110 discussions - 988 posts

  • 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 OhgakiYasuo 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 BowersAlex 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 KovacsFerenc 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 FerraraAnthony 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 JoyePierre 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 PopovNikita 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 SuraskiZeev 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 MocanitaStelian 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 LowreyDaniel 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 StogovDmitry 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 PlanchatGré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 AckroydDan 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 OhgakiYasuo 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 SuraskiZeev 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 GielfeldtThomas 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 MorrisMichael 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 wesleyNathan 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 PauliJulien 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 ZelenkaJakub 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 CowburnPeter 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 StogovDmitry 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 CowburnPeter 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 StollRobert 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 OhgakiYasuo 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 StogovDmitry 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 AlmadaMarcio 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 ...
    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 ...
    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 MuirDavid 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 AckroydDan 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 FerraraAnthony 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 StensonEric 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 CaineLester 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 LaupretreFranç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 MalyshevStanislav 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 CowburnPeter 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 HuiXinchen 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 ...
    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 SturgeonPhilip 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 OhgakiYasuo 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 FerraraAnthony 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 PuntThomas 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 AlmadaMarcio 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 ALLAERTPatrick 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 adamsJ 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 AckroydDan 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 WillbanksMike 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 ...
    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 OhgakiYasuo 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 BassoJuan Basso
    Mar 7, 2015 at 5:23 am
    Mar 7, 2015 at 3:52 pm
Group Navigation
period‹ prev | Mar 2015 | next ›
Group Overview
groupphp-internals @

145 users for March 2015

Yasuo Ohgaki: 111 posts Rowan Collins: 73 posts Pierre Joye: 58 posts Stanislav Malyshev: 47 posts Lester Caine: 41 posts Alex Bowers: 38 posts Dmitry Stogov: 25 posts Leigh: 22 posts Zeev Suraski: 22 posts Xinchen Hui: 19 posts Dan Ackroyd: 17 posts Grégory Planchat: 16 posts Ferenc Kovacs: 15 posts Nikita Popov: 15 posts Christoph Michael Becker: 14 posts François Laupretre: 13 posts Pascal Martin, AFUP: 13 posts Pavel Kouřil: 13 posts Anthony Ferrara: 11 posts Julien Pauli: 10 posts
show more