Re: Type of a variable in PHP
| From: | Karim Geiger | Date: | Fri, 15 Mar 2013 09:58:19 +0000 |
| Subject: | Re: Type of a variable in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320560@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc