🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • josue exhume
    josue exhume
    20,981 Points

    php methods

    Posted January 9, 2016 3:07pm by josue exhume
    josue exhume
    20,981 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    1 Answer

  • Leon Segal
    Leon Segal
    14,754 Points

    what does the . do?

    Posted November 28, 2015 4:40pm by Leon Segal
    Leon Segal
    14,754 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    3 Answers

  • Mayur Pande
    PLUS
    Mayur Pande
    Courses Plus Student 11,711 Points

    How comes there is no workspaces for this section?

    Posted November 11, 2015 1:41pm by Mayur Pande
    Mayur Pande
    Courses Plus Student 11,711 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    0 Answers

  • ammarkhan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points

    Easy way to remember $this

    Posted November 8, 2015 7:09pm by ammarkhan
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    1 Answer

  • Shir Ekerling
    Shir Ekerling
    1,769 Points

    Where is all the code gone?

    Posted September 16, 2015 1:57pm by Shir Ekerling
    Shir Ekerling
    1,769 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    4 Answers

  • Mohamed Roshdy
    Mohamed Roshdy
    2,437 Points

    should i read every doc attached to every video ?

    Posted July 21, 2015 6:24am by Mohamed Roshdy
    Mohamed Roshdy
    2,437 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    1 Answer

  • Jason Chiu
    Jason Chiu
    4,373 Points

    The use of $this property

    Posted March 7, 2015 2:42am by Jason Chiu
    Jason Chiu
    4,373 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    2 Answers

  • jumper lejava
    jumper lejava
    191 Points

    I couldnt get what "->" actually mean. could you please explain?

    Posted November 30, 2014 9:09am by jumper lejava
    jumper lejava
    191 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    3 Answers

  • adam mashburn
    adam mashburn
    193 Points

    $this inside method

    Posted April 7, 2014 1:16am by adam mashburn
    adam mashburn
    193 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    2 Answers

  • Marko Zelic
    Marko Zelic
    727 Points

    $this sudo, what's up with the dot?

    Posted March 31, 2014 6:16pm by Marko Zelic
    Marko Zelic
    727 Points
    • PHP
    • Object-Oriented PHP Basics (Retired)
    • Properties and Methods
    • Methods

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.