Forgot about PHP 5.3 compatibility.
Added a test for Issue 26.