# [RFC][VOTE] Generalize support of negative string offsets

- Thread: https://externals.io/message/91319
- Original archive: https://news-web.php.net/php.internals/91319
- Started by francois@php.net on 2016-02-19T12:19:49+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #91319 — francois@php.net — 2016-02-19T12:19:49+00:00

URL: https://externals.io/message/91319#91319

Hi,

(sorry, posting again to force new thread)

Starting vote about : https://wiki.php.net/rfc/negative-string-offsets

Voting period ends in 2 weeks : Monday, March 7th 00:00 UTC.

As, during the discussion, we talked about many related but off-topic 
subjects, please remember that the subjects below remain *out of scope 
of this RFC* and deserve their own thread :

- Support '{}/[]' (empty braces) on string offset assignments,
- Reserve/recommand '{}' syntax for string offsets and '[]' for arrays,
- Auto-conversion of empty string to array on string offset assignment,
- the same with true/false,
- support '++/--' on string offsets...

If you want to go further discussing one of these subjects, please 
create a new thread for this.

Regards

François

---

## #91522 — Pascal MARTIN — 2016-03-06T20:00:40+00:00

URL: https://externals.io/message/91319#91522 · In reply to: #91319

Le 19/02/2016 13:19, François Laupretre a écrit :
> Starting vote about : https://wiki.php.net/rfc/negative-string-offsets
>
> Voting period ends in 2 weeks : Monday, March 7th 00:00 UTC.

Hi,

We talked about this RFC at AFUP and are +1, by a huge margin.

Basically: more coherence between functions, behavior that's kind of 
expected by many, useful feature; and low risk of bc-break.

Thanks for your work on this!

-- 
Pascal MARTIN, AFUP - French UG
http://php-internals.afup.org/

---

## #91525 — francois@php.net — 2016-03-07T10:49:07+00:00

URL: https://externals.io/message/91319#91525 · In reply to: #91319

Le 19/02/2016 13:19, François Laupretre a écrit :
>
> Starting vote about : https://wiki.php.net/rfc/negative-string-offsets
>

Vote is over. RFC is approved with a score of 28 Yes to 0 No. Thanks to 
all who took time for discussion and vote.

Can someone please review and merge the PR to the master branch, while I 
patch the documentation and the language spec. Thanks.

Regards

François
