Re: Intervals representation with brackets
| From: | Hannes Magnusson | Date: | Fri, 20 Nov 2009 22:06:27 +0000 |
| Subject: | Re: Intervals representation with brackets | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46132@lists.php.net to get a copy of this message | ||
On Fri, Nov 20, 2009 at 22:56, Samuel ROZE <samuel.roze@gmail.com> wrote:
[...]
> <?php
> // A list of intervals
> $list = [ $from_1, $to_1] + [$from_2, $to_2] + ... [$from_n, $to_n];
> $list_2 = [$from_1, $to_1] + ... + $interval_n;
> ?>
This made no sense to me.
Are you suggesting new object operator? Short-syntax-array?
What exactly are you asking/informing/reporting/whatever?
-Hannes