Binsafe log

https://bugs.php.net/bug.php?id=64439

What do we think of this approach ??