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

2012-12-05 Thread jpauli
On Wed, Dec 5, 2012 at 2:18 AM, Adam Harvey ahar...@php.net wrote: On 5 December 2012 08:26, Kris Craig kris.cr...@gmail.com wrote: Seriously, though, 1and1 is a joke. That's not exactly breaking news. If it really bugs us that much, we could always put up a statement on the website

[PHP-DEV] Required __construct call in SplFileObject

2012-12-05 Thread Christoph Rosse
Hi, I'm just curious is there a reason why SplFileObject requires a call to parent::__construct() if I override the class? Someone on my twitter feed mentioned it because he tried to create a Mock-Object. The following code gives me: PHP Fatal error: Uncaught exception 'LogicException' with

Re: [PHP-DEV] Required __construct call in SplFileObject

2012-12-05 Thread Paul Dragoonis
The way this class is designed, it needs to take the file name via the constructor as an initiation point. if you try to call a method of this class without initiation occurring it will throw an exception. this is why you must instantiate the SplFileObject's __construct() method to start the

Re: [PHP-DEV] Required __construct call in SplFileObject

2012-12-05 Thread Christoph Rosse
Maybe this should be mentioned in the docs. I know how to use http://edit.php.net but where do I put this kind of information? In the __construct method documentation http://php.net/manual/en/splfileobject.construct.php or somewhere else? On 12/05/2012 03:46 PM, Paul Dragoonis wrote: The way

Re: [PHP-DEV] Required __construct call in SplFileObject

2012-12-05 Thread Paul Dragoonis
You could put it either inside introduction or just below it, in the 'info' style, just to inform people they must call parent::__construct() upon instantiation of their object in order to use this. On Wed, Dec 5, 2012 at 2:46 PM, Paul Dragoonis dragoo...@gmail.com wrote: The way this class is

[PHP-DEV] Re: date/strtotime poor performance - further digging (v 5.4.9) [PATCH]

2012-12-05 Thread Paul Taulborg
I ended up digging deeper and created a patch for this, and have created a bug with the patch attached. https://bugs.php.net/bug.php?id=63699 Summary of changes: - Created a new tz_checked_valid flag on the global date structure - Created a callback method when date.timezone is modified by the

[PHP-DEV] a simple question about PHP extension: using user function in my own extension

2012-12-05 Thread Amir
Hi I am trying to build an PHP extension for my personal project. For some reason. I want to build some part of my project with extension. So, I can make a connection via my extension as you can see below my c++ source code. Cause of poor document, I confused with zend engine source code and c++

Re: [PHP-DEV] a simple question about PHP extension: using user function in my own extension

2012-12-05 Thread Pierre Joye
hi, On Wed, Dec 5, 2012 at 12:18 PM, Amir ad...@ecdcconference.org wrote: Hi I am trying to build an PHP extension for my personal project. For some reason. I want to build some part of my project with extension. So, I can make a connection via my extension as you can see below my c++ source

Re: [PHP-DEV] a simple question about PHP extension: using user function in my own extension

2012-12-05 Thread Will Fitch
On Wed, Dec 5, 2012 at 6:18 AM, Amir ad...@ecdcconference.org wrote: Hi I am trying to build an PHP extension for my personal project. For some reason. I want to build some part of my project with extension. So, I can make a connection via my extension as you can see below my c++ source

[PHP-DEV] Git Access

2012-12-05 Thread Sara Golemon
It's been awhile since I last commited (pre git, in fact) and now I'm getting a failure during 'git push'. It asks for my password, I enter it, it asks again, I enter again, and I get a permission denied error. Do I need to do something to update my access? I've done a password change on

Re: [PHP-DEV] Git Access

2012-12-05 Thread Rasmus Lerdorf
On 12/05/2012 05:02 PM, Sara Golemon wrote: It's been awhile since I last commited (pre git, in fact) and now I'm getting a failure during 'git push'. It asks for my password, I enter it, it asks again, I enter again, and I get a permission denied error. Do I need to do something to update

Re: [PHP-DEV] Git Access

2012-12-05 Thread Hannes Magnusson
Which push url are you using? See https://wiki.php.net/vcs/gitfaq?#clone_url_and_push_url You may want to upload your key to master and use the ssh urls -Hannes On Wed, Dec 5, 2012 at 2:02 PM, Sara Golemon poll...@php.net wrote: It's been awhile since I last commited (pre git, in fact) and

[PHP-DEV] Bug #63615 DateTime::modify() ignores timezone [PATCH]

2012-12-05 Thread Paul Taulborg
I looked into this, and the modify function was not setting the timezone information back to the parent dateobj. I have created a patch that does this, IF the timezone information is set on the new modified timestamp. It is attached to the bug itself, and here as well. This is, of course,

Re: [PHP-DEV] Git Access

2012-12-05 Thread Sara Golemon
RTFMing is hard, thanks. :) remote: Welcome pollita. remote: Changesets accepted. Thank you for your contribution. remote: remote: Attempting to push to mirror g...@github.com:php/php-src.git remote: Write failed: Broken pipe remote: fatal: The remote end hung up unexpectedly To

Re: [PHP-DEV] Git Access

2012-12-05 Thread Alexey Zakhlestin
On 06.12.2012, at 3:38, Sara Golemon poll...@php.net wrote: RTFMing is hard, thanks. :) remote: Welcome pollita. remote: Changesets accepted. Thank you for your contribution. remote: remote: Attempting to push to mirror g...@github.com:php/php-src.git remote: Write failed: Broken pipe

Re: [PHP-DEV] re2c --no-generation-date

2012-12-05 Thread Stas Malyshev
Hi! Okay. But does the patch look okay? Is it sufficient? How can I force a rebuild of all files generated through re2c to remove the date from the files? To which branches should the patch be applied? Thanks! I think 5.5, since we're not touching 5.4 that much anymore, especially not in