PHP 4.0 Bug #10071: print and echo dont work for string of size >65k

From: Date: Fri, 30 Mar 2001 04:29:00 +0000
Subject: PHP 4.0 Bug #10071: print and echo dont work for string of size >65k
Groups: php.dev 
Request: Send a blank email to php-dev+get-50324@lists.php.net to get a copy of this message
From: shazlista@usa.net Operating system: windowsNT/2000 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: print and echo dont work for string of size >65k If you try to print (or echo) a variable string with size larger than 65k, It does not work. The reason of this is that the engine uses fwrite function with str_length (in this case say it is 155000) so fwrite fails because it uses size_t which is defined as unsigned int (limited to 65k). -- Edit Bug report at: http://bugs.php.net/?id=10071&edit=1

« previous php.dev (#50324) next »