Are you sure you don't have something different from strings and
integers in one of your keys?

Anyway, you can still quiet the error up by prepeding the function with
an at-mark:

$myArray = @array_change_key_case($result,CASE_UPPER);


--
Maxim Maletsky
[EMAIL PROTECTED]



"R B" <[EMAIL PROTECTED]> wrote... :

> Hello,
> 
> I'm using array_change_key_case to return an array with all string keys 
> uppercased.
> 
> ex:
> 
> $myArray = array_change_key_case($result,CASE_UPPER);
> 
> If i have the display_errors = on and error_reporting  =  E_ALL in my 
> php.ini then i get the warning:
> 
> "Warning: Wrong datatype in array_change_key_case() call in....."
> 
> How can i fix this warning?
> 
> Thanks,
> 
> RB
> 
> _________________________________________________________________
> MSN Fotos: la forma más fácil de compartir e imprimir fotos. 
> http://photos.msn.es/support/worldwide.aspx
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to