Search Discussions
-
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 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 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 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 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 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 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 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 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 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 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 ...
Leigh
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 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 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 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 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 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 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 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 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 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 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 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 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 ...
Reeze
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 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 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 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 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 ...
S.A.N
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 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 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 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 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 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 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 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 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 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 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 ...
Pascal MARTIN, AFUP
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 ...
Pascal MARTIN, AFUP
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 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 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 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 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 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 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 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 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 Ohgaki
Feb 27, 2015 at 11:36 pm
Feb 27, 2015 at 11:36 pm
Group Overview
group | php-internals |
categories | php |
discussions | 55 |
posts | 836 |
users | 97 |
website | php.net |
97 users for February 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)