Sorry if this sounds dumb or have been asked previously; it's not exactly about performance, more about "how does it work under the hood". So, what would be (if any) speed difference between:
if(!empty($a)) { $a = 'whatever';}
and
$a = ''; $a = 'whatever';
...where 'whatever' is not always a string, but anything, incl. function value return.
It's like very basic things have escaped me (or it's just a lack of sleep); please, feel free to crucify me and thank you in advance for replies.