extract and autoloading object

Discussion in 'PHP' started by charu11, Feb 8, 2009.

  1. charu11

    charu11 New Member

    Joined:
    Dec 31, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Res Sir,

    Explain the functionality of extract() and autoloading object in php.
     
  2. Prasanna Gopal

    Prasanna Gopal New Member

    Joined:
    Mar 11, 2009
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    0
    Extract function takes the values from associative arrays and puts them into their own variables.

    For example: Array("color=>'blue', type=>'sedan') when extracted becomes $color = 'blue' and $type = 'sedan'. Have a look at the look for more support.

    au. php. net/extract
     
    shabbir likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice