Re: New function bytesize()

From: Date: Wed, 19 Jul 2000 14:26:58 +0000
Subject: Re: New function bytesize()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25112@lists.php.net to get a copy of this message
MK(>> But ehm I have this silly question. MK(>> sizeof(string) = strlen(string) right? No. sizeof(string) = strlen(string) + 1. In PHP, though, length of string and actual buffer size allocated for that string can significantly differ. Look for example at fgets code. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#25112) next »