Sunday, November 20, 2011

What are built-in and user-defined variables? Give Example.


Ans

PHP provides a large number of predefined variables to all scripts
$GLOBALS
$_SERVER
$_GET
$_POST
$_FILES
$_COOKIE
$_SESSION
$_REQUEST
$_ENV
……………………………………………………………………
……………………………………………….(Incomplate)

1 comment:

  1. When user need to store a value in a defined variable is called User defined Variable.

    As User creating a variable containing a string, and a variable containing a number:
    Such as

    ReplyDelete