On 05.04.2010, at 13:01, donald sullivan wrote: > is it possible to return unsigned chars from an extension? > I have looked and cant find anything on it, or maybe i am looking for the > wrong keywords.
Return to PHP-code? No. PHP doesn't have explicitly signed or unsigned chars. PHP has "strings" you can return: 1) string of chars 2) int (array of ints?) Also, see http://docs.php.net/ord ord() function converts first byte of byte-string to it's unsigned numeric representation -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php