Re: [PHP-DEV] from __future__ import...

2011-06-25 Thread Sebastian Bergmann
Am 24.06.2011 14:00, schrieb Florian Anderiasch: > - Would it be worth some effort in PHP itself so that people could > code forward-compatible in 5.x to anticipate BC breaks in 5.x+1? Along the same lines, but not WRT BC, is http://pear.php.net/PHP_Compat which backports features by implement

[PHP-DEV] from __future__ import...

2011-06-24 Thread Florian Anderiasch
Hello, there's something that's been on my mind for a while, but I've not yet fully managed to think more about feasibility. For those who didn't know this already, Python has a pseudo-module __future__ that allows BC breaks in future versions to be anticipated. I'll quote an example: ==