Re: [PHP-DEV] [RFC] Working With Substrings

2024-07-27 Thread Rob Landers
On Sat, Jul 27, 2024, at 15:26, Christoph M. Becker wrote: > On 15.02.2023 at 06:18, Rowan Tommins wrote: > > > On 15 February 2023 02:35:42 GMT, Thomas Hruska > > wrote: > > > >> On 2/14/2023 2:02 PM, Rowan Tommins wrote: > >> > >> I thought about that but didn't know how well it would be recei

Re: [PHP-DEV] [RFC] Working With Substrings

2024-07-27 Thread Christoph M. Becker
On 15.02.2023 at 06:18, Rowan Tommins wrote: > On 15 February 2023 02:35:42 GMT, Thomas Hruska > wrote: > >> On 2/14/2023 2:02 PM, Rowan Tommins wrote: >> >> I thought about that but didn't know how well it would be received nor, >> perhaps more importantly, the direction it should take (i.e. a

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-16 Thread Lydia de Jongh
Hi Derick, Thomas, Op do 16 feb. 2023 om 08:57 schreef Derick Rethans : > > > https://wiki.php.net/rfc/unicode_text_processing > > And yes, that won't be as fast as just calling strtoupper. > > cheers > Derick > Looks great!!! Complex string manipulation inside an object will be faster then al

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-15 Thread Derick Rethans
On 15 February 2023 13:03:39 GMT, Lydia de Jongh wrote: >Hi, >Very interesting topic! On which I have NO experience 🙈 > > > >Op wo 15 feb. 2023 om 08:02 schreef Rowan Tommins : > >> On 15 February 2023 05:18:50 GMT, Rowan Tommins >> wrote: >> >My instinct was that it could just be a built-in clas

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-15 Thread Larry Garfield
On Wed, Feb 15, 2023, at 1:35 PM, Thomas Hruska wrote: > On 2/15/2023 6:03 AM, Lydia de Jongh wrote: >> Hi, >> Very interesting topic! On which I have NO experience 🙈 >> >> >> In some other languages every variable IS an object. by default. >> >> As far as I understand, the code above is mea

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-15 Thread Thomas Hruska
On 2/15/2023 6:03 AM, Lydia de Jongh wrote: Hi, Very interesting topic! On which I have NO experience 🙈 In some other languages every variable IS an object. by default. As far as I understand, the code above is meant as internal. But what if any variable is a small object. Has this been ev

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-15 Thread Lydia de Jongh
Hi, Very interesting topic! On which I have NO experience 🙈 Op wo 15 feb. 2023 om 08:02 schreef Rowan Tommins : > On 15 February 2023 05:18:50 GMT, Rowan Tommins > wrote: > >My instinct was that it could just be a built-in class, with an internal > pointer to a zend_string that's completely in

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Rowan Tommins
On 15 February 2023 05:18:50 GMT, Rowan Tommins wrote: >My instinct was that it could just be a built-in class, with an internal >pointer to a zend_string that's completely invisible to userland. Something >like how the SimpleXML and DOM objects just point into a libxml parse result. To make th

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Rowan Tommins
On 15 February 2023 02:35:42 GMT, Thomas Hruska wrote: >On 2/14/2023 2:02 PM, Rowan Tommins wrote: >I thought about that but didn't know how well it would be received nor, >perhaps more importantly, the direction it should take (i.e. a formal Zend >type in the engine, extending the existing zend

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Thomas Hruska
On 2/14/2023 2:02 PM, Rowan Tommins wrote: On 14/02/2023 15:32, Thomas Hruska wrote: Hello Internals, I would like to start the discussion on adding several functions and parameters to existing functions for improved substring handling in PHP: https://wiki.php.net/rfc/working_with_substrings

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Rowan Tommins
On 14/02/2023 15:32, Thomas Hruska wrote: Hello Internals, I would like to start the discussion on adding several functions and parameters to existing functions for improved substring handling in PHP: https://wiki.php.net/rfc/working_with_substrings Hi Thomas, Thanks for your effort on th

[PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Thomas Hruska
Hello Internals, I would like to start the discussion on adding several functions and parameters to existing functions for improved substring handling in PHP: https://wiki.php.net/rfc/working_with_substrings Please see the Open Issues section for a series of possible issues/questions that I