Re: [PHP-DEV] RFC Proposal - static modifier for classes

2023-11-19 Thread Rowan Tommins
On 19 November 2023 21:28:08 GMT, Lanre Waju wrote: >Hi, similar to the abstract and readonly modifiers to classes (similar in >syntax only), I propose a class level "static" modifier that ensures: Hi Lanre, There was a proposal for this several years ago which was declined at the voting

Re: [PHP-DEV] [RFC] [Discussion] Resource to object conversion

2023-11-19 Thread Philip Hofstetter
Hi, On Thu, Nov 16, 2023 at 17:14 Jakub Zelenka wrote: > I will personally vote against this if there is no is_resource > change as I think it's just too big BC break even for 9.0 - it will likely > require massive update of many code bases. As someone maintaining a large code-base going

Re: [PHP-DEV] RFC Proposal - static modifier for classes

2023-11-19 Thread Daniil Gentili
Hi again, > Super on board with this Sorry for top posting everyone, my bad, forgot to delete the rest of the message :) Regards, Daniil Gentili

Re: [PHP-DEV] RFC Proposal - static modifier for classes

2023-11-19 Thread Daniil Gentili
19 nov 2023 22:28:16 Lanre Waju : > Hi, similar to the abstract and readonly modifiers to classes (similar in > syntax only), I propose a class level "static" modifier that ensures: > > 1. The class cannot be instantiated and will throw an exception if attempted. > > 2. All methods and

[PHP-DEV] RFC Proposal - static modifier for classes

2023-11-19 Thread Lanre Waju
Hi, similar to the abstract and readonly modifiers to classes (similar in syntax only), I propose a class level "static" modifier that ensures: 1. The class cannot be instantiated and will throw an exception if attempted. 2. All methods and variables in the class are implicitly static. 3.

[PHP-DEV] Re: DOMXPath / XSLTProcessor function callbacks

2023-11-19 Thread Niels Dossche
Hi Frederik On 16/11/2023 20:34, Frederik Bosch wrote: > Hi Niels, > > On 16-10-2023 23:19, Niels Dossche wrote: >> Sorry for the resend... I accidentally replied to you only without including >> the list the first time. >> >> On 15/10/2023 21:37, Frederik Bosch wrote: >>> Dear Niels, >>> >>>