--TEST--
Bug #46426 (3rd parameter offset of stream_get_contents not works for "0")
--FILE--
<?php

$tmp 
tmpfile();

fwrite($tmpb"12345");

echo 
stream_get_contents($tmp21);
echo 
"\n";
echo 
stream_get_contents($tmp, -1);
echo 
"\n";
echo 
stream_get_contents($tmp, -10);
echo 
"\n";
echo 
stream_get_contents($tmp, -12);
echo 
"\n";
echo 
stream_get_contents($tmp00);
echo 
"\n";
echo 
stream_get_contents($tmp10);
echo 
"\n";
echo 
stream_get_contents($tmp, -1);

@
unlink($tmp);

?>
--EXPECT--
23
45
12345
345

1
2345