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

🤑 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

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

  • 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
    • Showing results for:
    • PHP
    • PHP Standards and Best Practices
    • Close
  • Lars Holmberg
    Lars Holmberg
    19,949 Points

    Recommend Removal or Update of Video for php style guide

    Posted on Nov 30, 2021 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 on Nov 30, 2021 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 on Jan 19, 2018 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 on Sep 5, 2016 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 on Jul 7, 2016 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 on Jul 7, 2016 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 on Jul 6, 2016 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 on Apr 6, 2016 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 on Mar 5, 2016 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 on Dec 17, 2015 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 on Nov 18, 2015 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 on Sep 1, 2015 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 on Jun 8, 2015 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 on May 25, 2015 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 on Apr 2, 2015 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 on Mar 22, 2015 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 on Mar 20, 2015 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 on Jan 18, 2015 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 on Jan 9, 2015 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 on Jan 7, 2015 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 on Dec 25, 2014 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 on Dec 19, 2014 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 on Dec 6, 2014 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 on Dec 2, 2014 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 on Nov 20, 2014 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 on Nov 19, 2014 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 on Nov 19, 2014 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 on Nov 19, 2014 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 on Nov 18, 2014 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 on Nov 18, 2014 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.