neoform Posted May 14, 2008 Share Posted May 14, 2008 Is there some special function to declare a string as a binary string? Link to comment https://forums.phpfreaks.com/topic/105645-binary-strings/ Share on other sites More sharing options...
DarkWater Posted May 14, 2008 Share Posted May 14, 2008 No, not in PHP 5. In PHP 6, you can typecast between (binary) (string) and (unicode), although all 3 are handled in the same way pretty much. You don't need to declare anything in PHP5 (or php6, but it's just if you NEED to typecast) for it to work. Link to comment https://forums.phpfreaks.com/topic/105645-binary-strings/#findComment-541276 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.