Bug #2345: overloads, incompatibility with php2

From: Date: Tue, 21 Sep 1999 21:38:24 +0000
Subject: Bug #2345: overloads, incompatibility with php2
Groups: php.dev 
Request: Send a blank email to php-dev+get-11168@lists.php.net to get a copy of this message
From: krauss@b2b.com.br Operating system: Linux (2.0.36) PHP version: 3.0.11 PHP Bug Type: Compile Failure Bug description: overloads, incompatibility with php2 The overload, $x=1; $x[0]="a"; $x[1]="b"; is valid in PHP2 (and Perl), but not in PHP3 (3.0.11). Message: Warning: Illegal string index in /... on line ... (when $x is from cookie) or Warning: Variable $x is not an array or string in /... on line ... I had problemens with $x from a SetCookie and $x[$i] in script attribs.

« previous php.dev (#11168) next »