Hi!

Negative string offsets is a wish and also an implementation of my running
PHP version for long. It operates in the same fashion like substr() with
negative offsets, but avoids the function call and is much smarter if one
single character has to be extracted:

$str = "Hallo";

Sounds OK, but what would happen if I do $str[-10] = '?'; ?

Would be glad to see this in 5.4

For that you'll need RFC with attached patch ready quite soon.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to