Date: 11/03/00
- Next message: Ron Chmara: "Re: [PHP-DEV] Bizarre includes on PHP CVS build"
- Previous message: Daniel Beulshausen: "Re: [PHP-DEV] 4.0.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7585
Updated by: joey
Reported By: php <email protected>
Status: Analyzed
Bug Type: *General Issues
Assigned To:
Comments:
This would work if you would stop using octals as array keys:
$montharray[1]
Previous Comments:
---------------------------------------------------------------------------
[2000-11-02 06:15:10] waldschrott <email protected>
> printf("DEBUG2: $montharray[01]<br>");
this is a possible failure in auto-conversion....
> printf("DEBUG3: %s<br>", $montharray["01"]);
this one is allright, read the manual on "auto-conversion", it should read $montharray[01]
---------------------------------------------------------------------------
[2000-11-02 05:18:35] php <email protected>
When trying to assign variables to arrays the dont apply.
Ie,
$StrJanuary = "januari";
$montharray[01] = $StrJanuary;
printf("DEBUG1: $StrJanuary<br>");
printf("DEBUG2: $montharray[01]<br>");
printf("DEBUG3: %s<br>", $montharray["01"]);
outputs...
DEBUG1: januari
DEBUG2:
DEBUG3:
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7585
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Ron Chmara: "Re: [PHP-DEV] Bizarre includes on PHP CVS build"
- Previous message: Daniel Beulshausen: "Re: [PHP-DEV] 4.0.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

