My webcode written in PHP and it is running in the interpreted way. My problem
is it is not giving the desired performance so want to try the compiler if any.
Please suggest if we have any compiler option available for the PHP code and
more important is this new option.
Thanks
Nora
On Fri, Mar 15, 2013 at 4:34 PM, Sebastian Krebs wrote:
>
>
>
> 2013/3/15 Kevin Peterson
>
>> 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
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.
In my database design, I tend to store some variable that is meant to be acting
as a ROLE or TYPE as SMALLINT. For example :
CREATE TABLE `house` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` smallint(11) NOT NULL,
)
And in php, I do
define('HOUSE_SMALL_TYPE', '0');
4 matches
Mail list logo