Entire difference is, you don't get $this
supplied inside the static function. If you try to use $this
, you'll get a Fatal error: Using $this when not in object context
.
Well, okay, one other difference: an E_STRICT
warning is generated by your first example.