🤑 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
    • 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
  • 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
  • Lars Holmberg
    Lars Holmberg
    19,949 Points

    Recommend Removal or Update of Video for php style guide

    Posted November 30, 2021 11:39am by Lars Holmberg
    Lars Holmberg
    19,949 Points
    • PHP
    • PHP Standards and Best Practices
    • Creating Distributable OOP Packages
    • PSR-2

    0 Answers

  • Lars Holmberg
    Lars Holmberg
    19,949 Points

    Are there updates coming for this course?

    Posted November 30, 2021 11:25am by Lars Holmberg
    Lars Holmberg
    19,949 Points
    • PHP
    • PHP Standards and Best Practices
    • Creating Distributable OOP Packages
    • Creating Components

    0 Answers

  • Alex Efimov
    Alex Efimov
    26,991 Points

    Namespace

    Posted January 19, 2018 1:42pm by Alex Efimov
    Alex Efimov
    26,991 Points
    • PHP
    • PHP Standards and Best Practices
    • Creating Distributable OOP Packages
    • Composer Metadata

    1 Answer

  • Ed Bennett
    Ed Bennett
    10,612 Points

    Not a question but an observation....

    Posted September 5, 2016 12:59pm by Ed Bennett
    Ed Bennett
    10,612 Points
    • PHP
    • PHP Standards and Best Practices
    • Error Handling
    • Errors

    0 Answers

  • Kaustav Banerjee
    Kaustav Banerjee
    5,786 Points

    Exceptions Code not running properly!

    Posted July 7, 2016 5:16pm by Kaustav Banerjee
    Kaustav Banerjee
    5,786 Points
    • PHP
    • PHP Standards and Best Practices
    • Error Handling
    • Exceptions

    2 Answers

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

    When running program I get an error

    Posted July 7, 2016 12:32pm by Mayur Pande
    Mayur Pande
    Courses Plus Student 11,711 Points
    • PHP
    • PHP Standards and Best Practices
    • Autoloading and Composer
    • Composer

    0 Answers

  • Kaustav Banerjee
    Kaustav Banerjee
    5,786 Points

    The workspace associated with this video does not have the required src files to download or to write the code on!

    Posted July 6, 2016 12:15am by Kaustav Banerjee
    Kaustav Banerjee
    5,786 Points
    • PHP
    • PHP Standards and Best Practices
    • Autoloading and Composer
    • Namespaces

    3 Answers

  • Peter Waters
    Peter Waters
    13,327 Points

    Custom exception files

    Posted April 6, 2016 3:42pm by Peter Waters
    Peter Waters
    13,327 Points
    • PHP
    • PHP Standards and Best Practices
    • Error Handling
    • Exceptions

    1 Answer

  • Laurie Addoms
    Laurie Addoms
    14,568 Points

    Speaks way too fast.

    Posted March 5, 2016 12:59pm by Laurie Addoms
    Laurie Addoms
    14,568 Points
    • PHP
    • PHP Standards and Best Practices
    • Creating Distributable OOP Packages
    • PSR-1

    2 Answers

  • Robert Walker
    Robert Walker
    17,146 Points

    Little confused need help!

    Posted December 17, 2015 10:27am by Robert Walker
    Robert Walker
    17,146 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Time Zones

    0 Answers

  • Matthew Stroh
    Matthew Stroh
    3,307 Points

    I noticed you used <?= ?> instead of echo. I recall reading somewhere that it's not wide to use <?= instead of echo.

    Posted November 18, 2015 2:14am by Matthew Stroh
    Matthew Stroh
    3,307 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding UTF-8

    1 Answer

  • Ellen Sun
    Ellen Sun
    1,605 Points

    The screenshots for the code are too small for me to see what is written.

    Posted September 1, 2015 4:21pm by Ellen Sun
    Ellen Sun
    1,605 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • DateTime Comparisons

    2 Answers

  • George Akinian
    George Akinian
    17,615 Points

    line 21 $statusGroup = $substr((string) $statusCode, 0, 1); what is (string)?

    Posted June 8, 2015 6:48pm by George Akinian
    George Akinian
    17,615 Points
    • PHP
    • PHP Standards and Best Practices
    • Error Handling
    • Exceptions

    2 Answers

  • marcelo pereira
    marcelo pereira
    3,201 Points

    does not make sense

    Posted May 25, 2015 6:17pm by marcelo pereira
    marcelo pereira
    3,201 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • DateTime Comparisons

    1 Answer

  • Placid Rodrigues
    Placid Rodrigues
    12,630 Points

    Getting Fatal Error: Call to a member function format() on a non-object

    Posted April 2, 2015 6:59am by Placid Rodrigues
    Placid Rodrigues
    12,630 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Working with DateTime

    1 Answer

  • lihaoquan
    lihaoquan
    12,045 Points

    Callbacks in PHP?

    Posted March 22, 2015 3:00am by lihaoquan
    lihaoquan
    12,045 Points
    • PHP
    • PHP Standards and Best Practices
    • Autoloading and Composer
    • Autoloading

    1 Answer

  • Adrian Gordon
    Adrian Gordon
    9,008 Points

    Did anyone else get a "Fatal error"?

    Posted March 20, 2015 4:32am by Adrian Gordon
    Adrian Gordon
    9,008 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Working with DateTime

    1 Answer

  • Sue Dough
    Sue Dough
    35,800 Points

    Output date does not make sense to me in the video

    Posted January 18, 2015 4:23am by Sue Dough
    Sue Dough
    35,800 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Working with DateTime

    0 Answers

  • Alex Howes
    Alex Howes
    13,424 Points

    Standards and Best Practices Unit Testing Video

    Posted January 9, 2015 7:25pm by Alex Howes
    Alex Howes
    13,424 Points
    • PHP
    • PHP Standards and Best Practices
    • Creating Distributable OOP Packages
    • Creating Components

    2 Answers

  • Robert Leira
    Robert Leira
    1,544 Points

    It would help a lot if you droped the coffe before doing the videos. Thanks. :)

    Posted January 7, 2015 9:04pm by Robert Leira
    Robert Leira
    1,544 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Time Zones

    4 Answers

  • Mohsen Qaddoura
    Mohsen Qaddoura
    22,237 Points

    Workspaces launched do not match what is in the class videos! for example there is no src folder for namespaces class!

    Posted December 25, 2014 6:07am by Mohsen Qaddoura
    Mohsen Qaddoura
    22,237 Points
    • PHP
    • PHP Standards and Best Practices
    • Autoloading and Composer
    • Namespaces

    0 Answers

  • Daniel Horowitz
    PLUS
    Daniel Horowitz
    Courses Plus Student 7,305 Points

    Cannot download the files for this class, please fix the link.

    Posted December 19, 2014 3:54pm by Daniel Horowitz
    Daniel Horowitz
    Courses Plus Student 7,305 Points
    • PHP
    • PHP Standards and Best Practices
    • Autoloading and Composer
    • Namespaces

    2 Answers

  • Ben James
    Ben James
    893 Points

    it says 2 days three months and then 2m 3d.. is this an error?

    Posted December 6, 2014 10:21am by Ben James
    Ben James
    893 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • DateTime Comparisons

    1 Answer

  • Davis Vilums
    Davis Vilums
    18,105 Points

    Wrong Workspaces

    Posted December 2, 2014 10:02pm by Davis Vilums
    Davis Vilums
    18,105 Points
    • PHP
    • PHP Standards and Best Practices
    • Error Handling
    • Converting errors to exceptions

    1 Answer

  • Sean Washington
    Sean Washington
    12,330 Points

    Error in the DateTimeZone quiz?

    Posted November 20, 2014 1:43am by Sean Washington
    Sean Washington
    12,330 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Timezones

    1 Answer

  • Matt Libera
    Matt Libera
    4,089 Points

    Correct answer not available in question?

    Posted November 19, 2014 6:16pm by Matt Libera
    Matt Libera
    4,089 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Timezones

    0 Answers

  • Heesang Chae
    Heesang Chae
    4,147 Points

    Where is PSR-4 episode?

    Posted November 19, 2014 12:17pm by Heesang Chae
    Heesang Chae
    4,147 Points
    • PHP
    • PHP Standards and Best Practices
    • Autoloading and Composer
    • Composer

    1 Answer

  • Christopher Mendes
    Christopher Mendes
    1,645 Points

    Which timezone should you convert all of your dates to before storing them? Answer is UTC but varchar is the correct?

    Posted November 19, 2014 8:40am by Christopher Mendes
    Christopher Mendes
    1,645 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Timezones

    1 Answer

  • James Fehr
    James Fehr
    8,427 Points

    the answer isn't in the list

    Posted November 18, 2014 11:40am by James Fehr
    James Fehr
    8,427 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Timezones

    3 Answers

  • Cauli Tomaz
    Cauli Tomaz
    12,362 Points

    Question "Which timezone should you convert all of your dates to before storing them?" has "varchar" as answer

    Posted November 18, 2014 1:08am by Cauli Tomaz
    Cauli Tomaz
    12,362 Points
    • PHP
    • PHP Standards and Best Practices
    • Databases and International Concerns
    • Understanding Timezones

    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.