Bug #1544: Array in return of function bug

From: Date: Tue, 15 Jun 1999 14:53:05 +0000
Subject: Bug #1544: Array in return of function bug
Groups: php.dev 
Request: Send a blank email to php-dev+get-6988@lists.php.net to get a copy of this message
From: aulbach@unter.franken.de Operating system: Linux 2.0.36 PHP version: 3.0.8 PHP Bug Type: Parser error Bug description: Array in return of function bug <? function bla() { $r="16% Bla"; $r[x]=0.16; return($r); } echo bla(); ?> Returns: 06% Bla (very strange!) I have other examples, where the first char is e.g. a '.'. Think there will be something mixed up.

« previous php.dev (#6988) next »