Fix for broken BC through #1503: The slice filter works as the array_slice PHP function for arrays
updated repo URLs in the docs
bug #1553 Fix for broken BC through #1503: The slice filter works as the array_slice PHP function for arrays (RLasinski)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Fix for broken BC through #1503: The slice filter works as the array_slice PHP function for arrays

The pull request #1503 has broken the described BC in documentation: "The slice filter works as the array_slice PHP function for arrays".

If the start-value is out of bounds the current implementation throws an OutOfBoundsException. The old implementation returns an empty array.

I also added some test cases.

Commits
-------

d95d0fd Fix for broken BC through #1503: The slice filter works as the array_slice PHP function for arrays
fixed PHP 5.2 compatibility
updated CHANGELOG
Fixed "in" operator for resources and strings