SitePoint Sponsor

User Tag List

Results 1 to 1 of 1

Thread: Typecast

  1. #1
    PEACE WILL WIN abalfazl's Avatar
    Join Date
    Feb 2005
    Location
    Beyond the seas there is a town
    Posts
    711
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Typecast

    Hello firends

    It is said about type cast in PHP:

    (array)To force the covertion of the operand to an array if it is not one already



    (object)To force the covertion of the operand to an object if it is not one already


    What does it mean (array) or (object),I know About something like (int),It changes type to int
    May someone give examples about those?

    GOOD LUCK!
    Last edited by abalfazl; Sep 26, 2005 at 19:41.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •