Search Discussions

55 discussions - 836 posts

  • Hi Yasuo, Following our conversation, I tried to imagine how DbC should look like in PHP from user perspective. Finally, I was influenced by the semantic proposed in D, and syntax proposed for Java ...
    Dmitry StogovDmitry Stogov
    Feb 5, 2015 at 11:14 am
    Mar 5, 2015 at 1:32 am
  • Good evening, At long last, I’m going to put the RFC to a vote. It’s been long enough - I don’t think there needs to be, or will be, much further discussion. I’d like to make sure that everyone ...
    Andrea FauldsAndrea Faulds
    Feb 5, 2015 at 8:14 pm
    Feb 9, 2015 at 9:22 am
  • hi, could you please write down few use cases, when strict scalar type hints are really useful. Thanks. Dmitry.
    Dmitry StogovDmitry Stogov
    Feb 2, 2015 at 9:12 am
    Feb 5, 2015 at 11:14 pm
  • Hi, properly after the voting phase the https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts moves to the voting. Each item is voted separately. The voting ends on 2015-02-09 at 21:00 CET. Regards ...
    Anatol BelskiAnatol Belski
    Feb 2, 2015 at 7:11 pm
    Feb 4, 2015 at 10:29 am
  • Dmitry and Zend, Thank you for sharing your code. I look forward to playing with it. Perhaps after 7 stabilizes (and ships) you could write up your thoughts around it? Why decisions were made and the ...
    Anthony FerraraAnthony Ferrara
    Feb 27, 2015 at 3:12 pm
    Mar 4, 2015 at 8:31 am
  • Hi all, I would like to discuss my "must have it in PHP 7" item. PHP RFC: script() and script_once() https://wiki.php.net/rfc/script_and_script_once I have proposed similar RFC before. Optional PHP ...
    Yasuo OhgakiYasuo Ohgaki
    Feb 5, 2015 at 1:53 am
    Feb 6, 2015 at 10:12 am
  • Hi Zeev, All those are due to a bug in substr(), that we see now only thanks to proper type identification. There is no reason for substr() to ever return a boolean. It really needs to be fix to ...
    Damien TournoudDamien Tournoud
    Feb 27, 2015 at 1:37 pm
    Feb 28, 2015 at 9:24 am
  • We have had quite a number of changes to the extension API and it worries me a little bit how long it will take everyone to get their extensions ported. We have UPGRADING.INTERNALS which still needs ...
    Rasmus LerdorfRasmus Lerdorf
    Feb 5, 2015 at 10:28 pm
    Feb 9, 2015 at 7:11 am
  • Hi internals! Currently we do not allow [1] removing a typehint during inheritance. For example the following code is not valid: interface A { public function method(Typehint $param); } class B ...
    Nikita PopovNikita Popov
    Feb 4, 2015 at 6:49 pm
    Feb 5, 2015 at 11:12 pm
  • Hey: we used to use lval of zval as a handle to access resource type.. but now, we introduced a new type IS_RESOURCE, which make the handle(id) sort of redundant . further more, the common usage when ...
    Xinchen HuiXinchen Hui
    Feb 2, 2015 at 5:35 am
    Feb 4, 2015 at 6:25 am
  • Hi list, How do we feel about a zero-fill right shift operator? PHPs current right shift operator preserves signage, but this is not always desirable. I propose the same syntax as JavaScript for ...
    Feb 3, 2015 at 1:20 pm
    Feb 4, 2015 at 12:45 pm
  • I've been trying to catch up on the plans in PHP 7 for changes in security features and APIs and I got confused. Questions on my mind at the moment include: 1. Will there be a portable API for ...
    Tom WorsterTom Worster
    Feb 7, 2015 at 7:24 pm
    Feb 8, 2015 at 8:42 pm
  • Hmm. I'm not sure, but do we really want to have the optimizations depending on opcache? I'd rather shift to slowly adding the optimizations into Zend/, in separate compiler steps you can (like in ...
    Bob WeinandBob Weinand
    Feb 27, 2015 at 3:09 pm
    Mar 3, 2015 at 4:04 pm
  • My personal experience of PHP4 is simply one of having been developing all my code in PHP5.0 to 5.2 but ensuring that the code also still run clean on the PHP4 host. It was not until 5.3 that it was ...
    Lester CaineLester Caine
    Feb 7, 2015 at 12:36 pm
    Feb 9, 2015 at 9:54 am
  • I have voted yes on "Allow exceptions in the engine and conversion of existing fatals?" and no on "Introduce and use BaseException?" and would like to elaborate on the latter. I am sorry that I was ...
    Sebastian BergmannSebastian Bergmann
    Feb 27, 2015 at 2:31 pm
    Mar 8, 2015 at 6:26 pm
  • Hi everyone, Since it's been two weeks and there are no remaining issues (aside from the lack of a language specification patch - but that can be done later), I'm opening voting on this RFC. Voting ...
    Andrea FauldsAndrea Faulds
    Feb 2, 2015 at 12:07 pm
    Feb 5, 2015 at 7:34 am
  • Hi! Our header() function supports multiline HTTP headers, which are allowed by RFC 2616. However, newer RFC - https://tools.ietf.org/html/rfc7230#section-3.2.4 - deprecates them and says ...
    Stanislav MalyshevStanislav Malyshev
    Feb 4, 2015 at 7:25 am
    Feb 4, 2015 at 11:16 am
  • Hi all, This RFC was renamed from "script() and script_once()". Original proposal had defect. It wasn't perfect. This RFC proposes "script_path" INI directive to eliminate file/script inclusion at ...
    Yasuo OhgakiYasuo Ohgaki
    Feb 6, 2015 at 12:03 pm
    Feb 8, 2015 at 8:02 pm
  • Been tied up with a family matter for the last couple of days, so I've not been able to read all 200 posts in my in box for internals. Whilst I've been away from the computer I've had time to ...
    Lester CaineLester Caine
    Feb 5, 2015 at 10:58 am
    Feb 5, 2015 at 10:58 pm
  • Hi, Opening the vote for : https://wiki.php.net/rfc/cyclic-replace This RFC adds support in str_replace() and str_ireplace() for the combination of (string needle, array replace). In this case, each ...
    François LaupretreFrançois Laupretre
    Feb 2, 2015 at 5:00 pm
    Feb 4, 2015 at 9:41 am
  • hi, Should we push json_parser.tab.c? Which is generated (re2c), just like what is done in date or other? Cheers, -- Pierre @pierrejoye | http://www.libgd.org
    Pierre JoyePierre Joye
    Feb 9, 2015 at 2:40 am
    Feb 9, 2015 at 9:46 am
  • Hi Rowan, allow_local_stream_include is one possible solution. It has the same problem with allow_url_include. Since allor_url_include is global INI, it applies to child scripts. e.g. A.php ----- ...
    Yasuo OhgakiYasuo Ohgaki
    Feb 28, 2015 at 2:37 am
    Mar 1, 2015 at 9:40 am
  • Hi, I was testing few things today and I released one bug in the serialize function. The serialize function returns a corrupted value when it is serializing an object that contains a __sleep magic ...
    Juan BassoJuan Basso
    Feb 3, 2015 at 1:57 am
    Feb 6, 2015 at 4:49 am
  • Hi all, RFC: https://wiki.php.net/rfc/internal_function_return_types I noticed that return types RFC[1] didn't support internal functions, I just open a PR[2] to support it. There are some open ...
    Feb 5, 2015 at 3:54 am
    Feb 5, 2015 at 8:23 am
  • Hi, Opening the vote for : https://wiki.php.net/rfc/streams-is-cacheable This RFC proposes a generic way for opcode caches to decide if a given URI is cacheable or not. Cheers François
    François LaupretreFrançois Laupretre
    Feb 2, 2015 at 4:39 pm
    Feb 3, 2015 at 7:02 pm
  • This announcement doesn't say when voting will close and the RFC doesn't either. When do you expect voting to close?
    Levi MorrisonLevi Morrison
    Feb 27, 2015 at 11:01 pm
    Mar 1, 2015 at 2:29 am
  • Hello everyone, I've been following the "Static type hints" discussion for a while now. Aside from its content, which there are some strong sentiments about, there's also another recurring pattern - ...
    Timm FriebeTimm Friebe
    Feb 8, 2015 at 12:04 pm
    Feb 8, 2015 at 3:52 pm
  • Hi Guys, I have a doubt, is it efficient include/require files from a source different than the "real file system" a stream wrapper class? My question is, would the op-code cache work as it would ...
    Cesar RodasCesar Rodas
    Feb 3, 2015 at 11:26 pm
    Feb 4, 2015 at 4:14 pm
  • Hi internals. I really hope that in the future PHP 7, there will be new server API. May be you interested to know about them, here is the link, I am not the author of development ...
    Feb 8, 2015 at 10:48 pm
    Feb 9, 2015 at 2:16 am
  • OK slowly getting back into raw code again ... Looking at imagick phpinfo problem ... This one of the few places I can find smart_string_appends used, and I can't work out just where it's code is? ...
    Lester CaineLester Caine
    Feb 7, 2015 at 12:56 am
    Feb 7, 2015 at 12:12 pm
  • Hello, I'd like to request src karma to merge recently accepted jsond to master and further maintain json extension and committing perf improvements into it. In addition I'd like to look to few other ...
    Jakub ZelenkaJakub Zelenka
    Feb 1, 2015 at 5:23 pm
    Feb 4, 2015 at 12:52 am
  • mycrypt was abandoned by its developers in 2007. The package in Debian is from 2009. It has been removed from RHEL. This is already unacceptable. But it would be an insult to the idea of "security" ...
    Tom WorsterTom Worster
    Feb 8, 2015 at 3:38 pm
    Feb 8, 2015 at 11:23 pm
  • Hi all, Since PHP-5.2.1 we have an artifact of PHP-6 in the engine means we can define binary strings but such definitions haven't any effect. So what we can define is the following: $str = "str" ...
    Marc BennewitzMarc Bennewitz
    Feb 8, 2015 at 8:10 pm
    Feb 8, 2015 at 9:53 pm
  • I use !empty() very often and decided to make a benchmark test. Here is the code and results: http://pastebin.com/fMhhdQiW if (!empty(...)) working on 23% slower than if (empty()) expression. So if ...
    Oleg SerovOleg Serov
    Feb 7, 2015 at 11:13 pm
    Feb 8, 2015 at 2:50 am
  • Hey Yasuo, I noticed that you removed the invalid_session_id boolean from php_session.h. For extensions that do: PS(invalid_session_id) = 1; what is the new way for them? -Rasmus
    Rasmus LerdorfRasmus Lerdorf
    Feb 3, 2015 at 4:20 pm
    Feb 4, 2015 at 1:56 am
  • Hey: opcache is disabled by default configure, I am plan to enable it by default and also add zend_extension=opcache.so in php.ini-product/developmement is there any objections or concerns? thanks -- ...
    Xinchen HuiXinchen Hui
    Feb 3, 2015 at 4:26 am
    Feb 3, 2015 at 9:06 am
  • I agree with this direction and have a few comments. 1. You say it "doesn't leave any room for interoperability" but I'm not sure I agree. I invite you again to look at the Cryptography lib for ...
    Tom WorsterTom Worster
    Feb 27, 2015 at 9:14 pm
    Feb 28, 2015 at 12:23 am
  • Matthew, Thanks a bunch for going through this and writing such a detailed report. I think this last bit is misguided. Your *tests* are running differently depending if they are in strict and weak ...
    Jordi BoggianoJordi Boggiano
    Feb 27, 2015 at 1:44 pm
    Feb 27, 2015 at 3:31 pm
  • Hello, First of all, thank you for php. Secondly, I hope this doesn't come across as impertinent. I'm an average user of php. I don't know enough about programming languages to contribute here; but I ...
    Matt ParkerMatt Parker
    Feb 8, 2015 at 9:52 pm
    Feb 9, 2015 at 3:36 am
  • Le 13/02/2015 21:51, Thomas Bley a écrit : Hi, We've discussed this RFC with a few other people at AFUP, and we would be -1. Our reasons are probably the same as expressed here by others: updating ...
    Feb 27, 2015 at 5:08 pm
    Feb 27, 2015 at 11:26 pm
  • Hi, Not many of us at AFUP participated in our discussion about this proposal, but it seems we would be on the -1 side. Basically, even if a good HTTP layer is a good thing, we feel it kind of has ...
    Feb 27, 2015 at 5:19 pm
    Feb 27, 2015 at 9:09 pm
  • That is absolutely awful. But it's a fault with declare. Can't that be fixed once and for all by fixing declare parsing - when used that way inside a function, make its scope end with the end of the ...
    Patrick SchaafPatrick Schaaf
    Feb 8, 2015 at 9:20 am
    Feb 8, 2015 at 7:25 pm
  • Dear Internals, I have updated the RFC for removing PHP 4 constructors[1]. Notably, I have pushed off the removal to PHP 8, and instead only deprecate them in PHP 7. The rationale is that eventual ...
    Levi MorrisonLevi Morrison
    Feb 6, 2015 at 10:05 pm
    Feb 7, 2015 at 1:32 pm
  • Please let me know which mailing list address to use if I have sent this to the wrong list. filter_var does not properly validate emails with international characters. For example, this returns ...
    J adamsJ adams
    Feb 6, 2015 at 12:05 am
    Feb 6, 2015 at 3:15 pm
  • Hi Anatol! Your recent fixes to headers_list() - 55cefb2814bde5815a92e8820fff45e037fa8d4f and b5d3c5ca8dee6303498849448e3574cc3642eeea - broke head.phpt test and also are BC-breaking since previously ...
    Stanislav MalyshevStanislav Malyshev
    Feb 5, 2015 at 8:41 pm
    Feb 6, 2015 at 8:38 am
  • Hi! I see you've added test for #61470 to 5.5 and up. But this test is failing on CI. Could you please look into it and fix it or revert it until it works? Thanks, -- Stas Malyshev <span ...
    Stanislav MalyshevStanislav Malyshev
    Feb 2, 2015 at 8:04 pm
    Feb 3, 2015 at 9:17 am
  • Hi Benjamin, We are in the state, when we mainly have to concentrate on big improvements that we have to deliver till mid of March. I keep your ideas, but they are stuck at the end of my TODO list ...
    Dmitry StogovDmitry Stogov
    Feb 2, 2015 at 5:53 am
    Feb 2, 2015 at 6:43 am
  • Currently I'm seeing some odd behavior with PHP 7 and SoapClient embedded deep into a Symfony2 application. That same code works with 5.x. Unfortunately I cannot yet reproduce the issue with a short ...
    Martin JansenMartin Jansen
    Feb 1, 2015 at 4:27 pm
    Feb 1, 2015 at 5:51 pm
  • As both you and Matthew noted in an earlier thread, technically these RFCs are not competing. They're not Apples and Oranges, but more like Gala Apples and Honeycrisp apples. (Now I'm hungry...) We ...
    Larry GarfieldLarry Garfield
    Feb 28, 2015 at 1:16 am
    Feb 28, 2015 at 1:16 am
  • Hi Francois, allowed as leading blank (with ascii values) : Space (32) , tab (9) , linefeed (10), carriage-return (13), vertical tab (11), and form feed (12). I agree. Emitting E_STRICT and ...
    Yasuo OhgakiYasuo Ohgaki
    Feb 27, 2015 at 11:36 pm
    Feb 27, 2015 at 11:36 pm
Group Navigation
period‹ prev | Feb 2015 | next ›
Group Overview
groupphp-internals @

97 users for February 2015

Andrea Faulds: 78 posts Yasuo Ohgaki: 71 posts Dmitry Stogov: 65 posts Pierre Joye: 61 posts Lester Caine: 41 posts Stanislav Malyshev: 39 posts Rowan Collins: 36 posts François Laupretre: 31 posts Leigh: 24 posts Andrey Andreev: 23 posts Michael Wallner: 22 posts Anatol Belski: 19 posts Xinchen Hui: 13 posts Pavel Kouřil: 11 posts Zeev Suraski: 11 posts Andi Gutmans: 10 posts Guilhermeblanco: 10 posts Matteo Beccati: 10 posts Jakub Zelenka: 9 posts Robert Stoll: 9 posts
show more