Re: Negative string offsets
| From: | Andreas Heigl | Date: | Thu, 17 Apr 2014 16:41:51 +0000 |
| Subject: | Re: Negative string offsets | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73727@lists.php.net to get a copy of this message | ||
On 17.04.14 18:20, Crypto Compress wrote:
> "foobarbazbuz"[4:7] => "barbazb"
> "foobarbazbuz"[4-7] => "barb"
> "foobarbazbuz"[4,7] => ["b", "b"]
> ...
>
"foobarbazbuz"[4,7,8,12] => ["b", "b", "a",
"z"] ?
"foobarbazbuz"[4,7-8,3:2] => ["b", "ba", "ob"] ???
"foobarbazbuz"[4:3,4] => ["bar", "b"] or ["bar",
"barb"] ?????
"foobärbuz"[5] => [\xC3] or ["ä"] ????
Regards
Andreas
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl |
| mailto:andreas@heigl.org N
50°22'59.5" E 08°23'58" |
| http://andreas.heigl.org http://hei.gl/wiFKy7 |
+---------------------------------------------------------------------+
| http://hei.gl/root-ca
|
+---------------------------------------------------------------------+
Attachment: [application/pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/pkcs7-signature] S/MIME Cryptographic Signature smime.p7s