--TEST-- stream_get_contents() with negative max length --FILE-- getMessage() . "\n"; } ?> --EXPECT-- string(2) "bc" stream_get_contents(): Argument #2 ($length) must be greater than or equal to -1