 Binary-safe

A binary-safe function is one that treats its input as a raw stream of bytes and ignores every textual aspect it may have.The term is mainly used in the PHP programming language to describe expected behaviour when passing binary data into functions whose main responsibility is text and string manipulating, and is used widely in the official PHP documentation.