Is "strpos(...)" safe to use on binary data?

From: Date: Sat, 26 Apr 2003 03:10:12 +0000
Subject: Is "strpos(...)" safe to use on binary data?
Groups: php.general 
Request: Send a blank email to php-general+get-145331@lists.php.net to get a copy of this message
I'm trying to extract some Photoshop info from jpeg files by looking for specific xml markers and "strpos" doesn't seem to be able to find strings that I know for a fact are in my test file. Does "strpos" do some sort of character conversion in the background to make whatever it is passed officially a "string"? Thanks, Ken

« previous php.general (#145331) next »