[PHP-DEV] Is it a good idea to have a strict mode?

2015-01-29 Thread César Rodas
Hi! I'm wondering if it would be a good idea to have a `strict` mode in PHP. Many language have them and it is a good idea. I think it should be a bit different in PHP, it should encourage the following things: - Avoid deprecated things, it should throw an exception. - Avoid explicit

Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors

2015-01-17 Thread César Rodas
Hi Pierre! On 17/01/15 08:02, Pierre Joye wrote: On Jan 17, 2015 5:58 PM, Tony Marston tonymars...@hotmail.com wrote: Stelian Mocanita wrote in message news:camc0ws5lpdvqf_5p8uiwbzuqc+max+shmmi8pzlggrfoj7a...@mail.gmail.com... Florian Margaine wrote on 16/01/2015 13:01: Hi Stelian,