[PHP] why does trim() remove NUL? From: John A. Grant (jazrant <email protected>)
Date: 10/15/01

Are PHP strings NUL-terminated? If so, why does trim()
remove the NUL? After using trim() on a blank line, presumably
strlen() will return 0. How does strlen() work, if the NUL has
been removed?

--
John A. Grant  * I speak only for myself *  (remove 'z' to reply)
Radiation Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it here

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>