tony2001 Mon Aug 18 14:34:32 2008 UTC
Modified files:
/php-src README.PARAMETER_PARSING_API
Log:
these are not bits, but bytes..
http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?r1=1.24&r2=1.25&diff_format=u
Index: php-src/README.PARAMETER_PARSING_API
diff -u php-src/README.PARAMETER_PARSING_API:1.24
php-src/README.PARAMETER_PARSING_API:1.25
--- php-src/README.PARAMETER_PARSING_API:1.24 Mon Aug 18 13:09:32 2008
+++ php-src/README.PARAMETER_PARSING_API Mon Aug 18 14:34:32 2008
@@ -82,7 +82,7 @@
Note on 64bit compatibility
---------------------------
Please do not forget that int and long are two different things on 64bit
-OSes (int is 4bit and long is 8bit), so make sure you pass longs to "l"
+OSes (int is 4 bytes and long is 8 bytes), so make sure you pass longs to "l"
and ints to strings length (i.e. for "s" you need to pass char * and int),
not the other way round!
Remember: "l" is the only case when you need to pass long (and that's why
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php