Re: [PHP] Type of a variable in PHP

[email protected] (Karim Geiger)
Newsgroups php.general
Organization B1 Systems GmbH
Message-ID <[email protected]>
Hi,

On Fri, 2013-03-15 at 09:55 +0000, Kevin Peterson wrote:
> Have two questions -
> 1. How to find type of a variable in PHP.
> 2. How to find the type of an array in PHP.
> 
> Please help.
> 

Use this:
http://php.net/manual/en/function.gettype.php

Regards

Karim

-- 
Karim Geiger

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAABAgAGBQJRQvC7AAoJEP3U0UyBvgwD9+gH/RucylUCsAFcowxGQFflfNZ/
Vn52Ayfe8ynSiVROcR2UePim8g8h/GhdT+RO+v1LvLu3F+Ac9/nQ9S3t9dlNodsy
BQ0HmMJlO8rL5ISWUd08JccFvQDdYfAjT2J35R3Ptj9FomYRDLSWceKAdBkGrA+m
KAVcgFZL7chS1hMtBLaEqQHj/MOYfPRe/EQW/bHHK3AVsykWSs7AsGa2ZVuRnRB8
OOVU8W1atcbYE2hL9I9uN19fdqbHPvPomOV7fTgl0w0340jh2sRcArj3hYBgLo1I
uBkS8bSYEQHyrNb69ZmtrdEIgOtudgqS5B7aB/CtZLoCeLeS4sAaPw/h5xEjtuI=
=GxJO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.