Re: Offset-only results from preg_match

From: Date: Sat, 16 Mar 2019 08:49:22 +0000
Subject: Re: Offset-only results from preg_match
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-104770@lists.php.net to get a copy of this message
On 14.03.19 20:33, C. Scott Ananian wrote:
ps. more ambitious would be to introduce a new "substring" type, which would share the allocation of a parent string with its own offset and length fields. That would probably be as invasive as the ZVAL_INTERNED_STR type, though -- a much much bigger project.
That feature would be incredible to have. Erlang/Elixir use these concept and it's incredible what they can do with this. However, the data types there are also immutable so it's whole other league… - Markus

« previous php.internals (#104770) next »