Menu

#4 Can't handle strings with character '0'

v1.0 (example)
open
nobody
None
5
2004-08-11
2004-08-11
No

<?php echo strlen(chr(0)); ?>

// This must show 1 but it shows 0
// Problem: std::string handle only stringz

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.