The offset parameter was put in the position
the encoding parameter used to be.
Backward compatibility has been
provided by allowing encoding to be specified
as the third parameter. Using this backward compatibility mode is
not recommended because it will be removed in a future release of PHP.