0 comments / August 31, 2016

What is binary safe functions in php

In PHP, Some functions are marked as binary safe functions. It means that the functions works correctly even when you pass binary data. Ex: A string containing non-ascii bytes, null bytes etc..


0 comments / February 26, 2015

Remove non printable characters in string - php

We can remove non printable characters in string by using preg_replace function in php, It's quite simple.