My Struggles with PHP

I’ve been programming since 2005, and doing PHP since circa 2006, WordPress circe 2010. I never received a formal education in programming so, while I don’t have school debt, I do have substantive gaps in my knowledge. Like a road with pot holes.

 

Recently, I’ve started a new company, wppluginco.com, and shifted back into programming. As I’ve dived back in I am being reminded of the pot holes never filled. I’ve noticed these things are common among developers who pre-date the online-interactive-classes that exist today, and lack a formal education. So I put together this list of what I’ve found to be the hardest things to comprehend and learn in PHP and will add notes as I settle my questions:

  • __construct – I literally cannot understand what this is, when or how to use it. No amount of reading has helped me. This is a tough one I’ll probably hire a private tutor for.
  • self::
  • “static” function – There was a time where I knew what this was, but I have since forgotten. I think, for me, I felt like “What’s the point” with it. But I’m certain that shows some of my own ignorance.
  • == vs === – This is a Comparison Operator. If used indiscretionarily they function exactly the same. But, in reality, === assumes that what you’re comparing are exactly the same type. So it’s slightly faster than == which evaluates the type.



By Spencer Hill
Categorized in: PHP
This post is related to: how is == different than === in php?, learning php, what does == mean in php?, what is a static function in php?, what is php __construct?, what is php self::,

  • Generic selectors
    Exact matches only
    Search in title
    Search in content
    Search in posts
    Search in pages
    Filter by Categories
    10
    2D Vector Design
    8.1
    Adobe
    AdWords
    Analytics
    Apple
    Apps
    Bash / Shell
    Bedrock
    Blade
    Business Development
    ChromeOS
    Company News
    Content Marketing
    Digital Design
    Digital Marketing
    Freelancing
    Gaming
    Google
    Google Hangouts
    Illustrator
    Linux
    Mac
    New Products or Services
    Operating Systems
    OS X
    Pay Per Click Management
    Paypal
    PHP
    Press Releases
    Programming
    Razer
    Reviews
    Roots
    Sage Theme
    Search Engine Marketing
    Search Engine Optimization
    Search Marketing
    Tips and Tricks
    Trellis
    Tutorials
    Ubuntu
    Uncategorized
    Video Production
    Web Hosting
    Website Development
    Website Development
    Windows
    WordPress
  • Recent Posts

  • Categories

  • About

    Since 2005 we've been offering digital and content marketing strategy and implementation. Including website development, search engine optimization and marketing, search marketing and more.

    Continue Reading »

    Contact

    Email

    us@theportlandcompany.com

    Phone

    503-567-9561

    Follow

  • Logo for The Portland Company with a Coyote
    Thank you for using our site. x