C'è una funzione per sapere se un array è stato definito?
C'è una funzione per sapere se un array è stato definito?
quiCodice PHP:
function is_array( mixed_var ) {
return ( mixed_var instanceof Array );
}
usare google troppa fatica
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it
Grazie, non conoscevo la instanceofOriginariamente inviato da whisher
quiCodice PHP:
function is_array( mixed_var ) {
return ( mixed_var instanceof Array );
}
usare google troppa fatica
![]()
Mille grazie!