Having functions behave differently on different OS'es, and some functions are available only on specific OS'es.
For example, the mail()
function on Windows cannot take sender name in the $to
parameter. It can only contain email address. On Linux all works fine.
Another example, the function strptime()
is only available on Linux, and not Windows (this got me in an existing project I wanted to run on my Windows box).
Sure, there are some functions that make sense only on certain OS'es (like Win32API functions), but many others seem like they should behave the same on all OS'es, when in fact they do not.