Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-27 Thread Pierre Joye
hi Joe! On Thu, Sep 26, 2013 at 8:59 AM, Joe Watkins wrote: > Ok, I included just about all the information on use cases that is obvious > or has been discussed, so I think we got use cases covered now, right ?? Thanks for the updates! > See a good one yet ?? I think it should be enough, and

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Yasuo Ohgaki
Hi Leigh, On Fri, Sep 27, 2013 at 7:12 PM, Leigh wrote: > So on a successful session hijack (correct SID, new IP) the attacker > gets a new SID and keeps the valid session while the legitimate user > gets kicked out. > > Not seeing how that improves things at all. > There are 2 improvements 1.

Re: [PHP-DEV] RFC: Automatic Property Initialization

2013-09-27 Thread Andrea Faulds
On 27/09/2013 08:17, Gordon Oheim wrote: I think this is a great proposal. Anything that reduces code verbosity, increases programmer productivity, improves readability and doesn't bloat PHP gets my support. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] RFC: Automatic Property Initialization

2013-09-27 Thread Tobias Schlitt
Hi, big +1 from my side. Would love to see this functionality in 5.6. Thanks for the proposal, Gordon. Cheers, Toby -- Helping people to create high quality web apps http://qafoo.com Tobias Schlitthttp://schlitt.infoGPG Key: 0xC462BC14 signature.asc Description: OpenPGP

RE: [PHP-DEV] Bug tracker is down

2013-09-27 Thread Chris Wright
> bugs.php.net appears to be down. This is not a matter for internals. There is a webmasters list for this sort of thing, and it will likely resolve itself soon anyway -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Bug tracker is down

2013-09-27 Thread Thomas Hruska
bugs.php.net appears to be down. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you might find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Gnu/Hurd support

2013-09-27 Thread Derick Rethans
On Thu, 26 Sep 2013, Lior Kaplan wrote: > Hi, > > In Debian we build PHP for GNU/Hurd system, which need some minor fixes > available here: > > http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/patches/116-posixness_fix.patch 46 --- php5.orig/main/php.h 47 +++ php5/main/ph

Re: [PHP-DEV] Gnu/Hurd support

2013-09-27 Thread Lior Kaplan
On Thu, Sep 26, 2013 at 5:04 PM, Christopher Jones < christopher.jo...@oracle.com> wrote: > > Can you create a PR on github for them? > Of course. https://github.com/php/php-src/pull/476 Kaplan

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Tjerk Meesters
Hi, On Fri, Sep 27, 2013 at 6:54 PM, Leigh wrote: > On 27 September 2013 11:39, Peter Lind wrote: > > On 27 September 2013 12:12, Leigh wrote: > >> > >> So on a successful session hijack (correct SID, new IP) the attacker > >> gets a new SID and keeps the valid session while the legitimate us

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Peter Lind
On 27 September 2013 12:54, Leigh wrote: > On 27 September 2013 11:39, Peter Lind wrote: > > On 27 September 2013 12:12, Leigh wrote: > >> > >> So on a successful session hijack (correct SID, new IP) the attacker > >> gets a new SID and keeps the valid session while the legitimate user > >> get

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Leigh
On 27 September 2013 11:39, Peter Lind wrote: > On 27 September 2013 12:12, Leigh wrote: >> >> So on a successful session hijack (correct SID, new IP) the attacker >> gets a new SID and keeps the valid session while the legitimate user >> gets kicked out. >> >> Not seeing how that improves things

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Peter Lind
On 27 September 2013 12:12, Leigh wrote: > On 26 September 2013 11:32, Tjerk Meesters > wrote: > > > > On Thu, Sep 26, 2013 at 6:19 PM, Leigh wrote: > >> > >> There's several scenarios where a users IP changes and you don't want to > >> drop their session. (That doesn't mean it should simply ha

Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-27 Thread Joe Watkins
On 09/27/2013 10:42 AM, Terence Copestake wrote: Just ... Isn't that something, we can simply keep out of _this_ RFC and create separate RFC(s) for it later? Like it was done with "$this in Closures"? Do we want another 5.3/5.4 closures situation? Why not iron it all out to begin with? If the

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Andreas Heigl
Am 27.09.13 12:12, schrieb Leigh: > On 26 September 2013 11:32, Tjerk Meesters wrote: >> >> On Thu, Sep 26, 2013 at 6:19 PM, Leigh wrote: >>> >>> There's several scenarios where a users IP changes and you don't want to >>> drop their session. (That doesn't mean it should simply have an option to

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Leigh
On 26 September 2013 11:32, Tjerk Meesters wrote: > > On Thu, Sep 26, 2013 at 6:19 PM, Leigh wrote: >> >> There's several scenarios where a users IP changes and you don't want to >> drop their session. (That doesn't mean it should simply have an option to >> disable it either) > > > Let's be clea

Re: [PHP-DEV] Re: RFC: Automatic Property Initialization

2013-09-27 Thread Sebastian Krebs
2013/9/27 Matthieu Napoli > Le 27/09/2013 09:17, Gordon Oheim a écrit : > > >> Independent but related to >> >> - >> https://wiki.php.net/rfc/**constructor-promotion >> >> I wrote an RFC about porting Dart-like Automatic Property Initialization >>

Re: [PHP-DEV] RFC: Automatic Property Initialization

2013-09-27 Thread Sebastian Krebs
2013/9/27 Gordon Oheim > > Independent but related to > > - > https://wiki.php.net/rfc/**constructor-promotion > > I wrote an RFC about porting Dart-like Automatic Property Initialization > to PHP. Nikic was so generous to provide an initial PoC fo

Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-27 Thread Terence Copestake
> Just ... Isn't that something, we can simply keep out of _this_ RFC and > create separate RFC(s) for it later? Like it was done with "$this in > Closures"? Do we want another 5.3/5.4 closures situation? Why not iron it all out to begin with? If there's a sound, logical reason not to implement

Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-27 Thread Sebastian Krebs
2013/9/27 Michael Wallner > On 27 September 2013 09:55, Nicolas Grekas > wrote: > > If you need access to the methods in AProxifier then why does the > anonymous > >> class extend A, you should extend AProxifier as you would with any other > >> class. > >> > > > > Because A has the behavior I wa

Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-27 Thread Michael Wallner
On 27 September 2013 09:55, Nicolas Grekas wrote: > If you need access to the methods in AProxifier then why does the anonymous >> class extend A, you should extend AProxifier as you would with any other >> class. >> > > Because A has the behavior I want to extend? > > An other example: > > class

[PHP-DEV] Re: RFC: Automatic Property Initialization

2013-09-27 Thread Matthieu Napoli
Le 27/09/2013 09:17, Gordon Oheim a écrit : Independent but related to - https://wiki.php.net/rfc/constructor-promotion I wrote an RFC about porting Dart-like Automatic Property Initialization to PHP. Nikic was so generous to provide an initial PoC for it (since I don't do C): - https://wiki.

Re: [PHP-DEV] RFC: Anonymous Classes

2013-09-27 Thread Nicolas Grekas
If you need access to the methods in AProxifier then why does the anonymous > class extend A, you should extend AProxifier as you would with any other > class. > Because A has the behavior I want to extend? An other example: class A {...} class B {...} class Factory { protected function pro

Re: [PHP-DEV] Failing builds on Travis

2013-09-27 Thread Tjerk Meesters
Hi Mike, On Fri, Sep 27, 2013 at 3:27 PM, Michael Wallner wrote: > On 27 September 2013 04:37, Tjerk Meesters > wrote: > > Hi, > > > > The success of builds on Travis seems to hinge on a particular test case: > > > > ext/standard/tests/file/disk_free_space_basic.phpt > > > > It asserts that if

[PHP-DEV] RFC: Automatic Property Initialization

2013-09-27 Thread Gordon Oheim
Independent but related to - https://wiki.php.net/rfc/constructor-promotion I wrote an RFC about porting Dart-like Automatic Property Initialization to PHP. Nikic was so generous to provide an initial PoC for it (since I don't do C): - https://wiki.php.net/rfc/automatic_property_initializat

Re: [PHP-DEV] Failing builds on Travis

2013-09-27 Thread Michael Wallner
On 27 September 2013 04:37, Tjerk Meesters wrote: > Hi, > > The success of builds on Travis seems to hinge on a particular test case: > > ext/standard/tests/file/disk_free_space_basic.phpt > > It asserts that if a file is written to, the free space after the write > must always be lower than the p