Re: [PHP] Type of a variable in PHP

2013-03-16 Thread Kevin Peterson
Thanks Nora On Fri, Mar 15, 2013 at 4:34 PM, Sebastian Krebs krebs@gmail.comwrote: 2013/3/15 Kevin Peterson qh.res...@gmail.com Have two questions - 1. How to find type of a variable in PHP. gettype(), or one of the is_*()-functions. But for me more interesting for me: Why do you

Re: [PHP] Type of a variable in PHP

2013-03-16 Thread Norah Jones
at 09:55 +, 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

[PHP] Type of a variable in PHP

2013-03-15 Thread Kevin Peterson
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.

Re: [PHP] Type of a variable in PHP

2013-03-15 Thread Karim Geiger
Hi, On Fri, 2013-03-15 at 09:55 +, 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

Re: [PHP] Type of a variable in PHP

2013-03-15 Thread Lester Caine
Karim Geiger 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 BUT - bear in mind that the nice thing about PHP 'arrays' is that they are a not restricted

Re: [PHP] Type of a variable in PHP

2013-03-15 Thread Sebastian Krebs
2013/3/15 Kevin Peterson qh.res...@gmail.com Have two questions - 1. How to find type of a variable in PHP. gettype(), or one of the is_*()-functions. But for me more interesting for me: Why do you _need_ this? 2. How to find the type of an array in PHP. An array is of type array