What is Type juggle in php?

Thursday, February 4, 2010 23:15
Posted in category PHP Interview Questions

In order to declare a variable in PHP, the type of the variable is not required. The data type is determined by the value / context of the variable. If integer value is assigned to the variable $num, then the variable $num is of the type integer. If string value is assigned to the variable $str, the variable $str is of the type string.

  • Share/Bookmark
You can leave a response, or trackback from your own site.

2 Responses to “What is Type juggle in php?”

  1. Anonymous says:

    April 6th, 2010 at 8:05 pm

    I found your blog on google and read a few of your other posts. I just added you to my Google News Reader. Keep up the good work Look forward to reading more from you in the future.

  2. Anonymous says:

    April 6th, 2010 at 8:11 pm

    Very super information.

Leave a Reply