beLine Perspectives

Category Archives: Php

PHP: Hypertext Preprocessor. It’s quick, it’s dirty, it pays the bills.

PHP: `get_class($this)` vs `static::class`

March 13, 2017 11:35 am \ by Michael Mulligan

Without getting into too much detail, I recently wanted to see what the support was like for static::class, and came across this SO answer that got me to thinking.

 » Read more about: PHP: `get_class($this)` vs `static::class`  »

Posted in: Counting Cycles, Counting Opcodes, PHP, Programming

PHP: Not Strict Equals or Strict Not Equals

March 24, 2016 1:33 pm \ by Michael Mulligan

I was wondering, in PHP land, what is more performant? Strict Not Equals ( $var !== null) or Not Strict Equals ( !($var === null)), so I did some digging, in case anyone else was wondering the same.

 » Read more about: PHP: Not Strict Equals or Strict Not Equals  »

Posted in: Counting Opcodes, PHP

About Mike

172009_549766347104_5195684_o

Born May 19, 1984, from Brunswick, Maine, I am a Photographer, Web-Developer, Husband, with an intense addictive personality.

This space will hold musings, photography, nerdery, and pretty much what ever happens to be on my mind. It's not for you, it's for me, but maybe you'll enjoy it a bit too.

Recent Posts

  • Irony: Write about WordPress Security, get hosed
  • PHP: `get_class($this)` vs `static::class`
  • S3 (in)Sanity: When `info` doesn’t cut it.
  • PHP: Not Strict Equals or Strict Not Equals
  • Protecting WordPress with Fail2Ban

Recent Comments

    Archives

    • February 2018
    • March 2017
    • March 2016
    • January 2016

    Categories

    • Counting Cycles
    • Counting Opcodes
    • Ops
    • Personal
    • Photography
    • PHP
    • Programming
    • Web-hosting
    • WordPress

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    © Copyright 2023 - beLine Perspectives
    Prana Theme ⋅ Powered by WordPress
    WP2Social Auto Publish Powered By : XYZScripts.com