I have been seen this Does variable name length matter for performance C#? topic and have same question about php.
My co-worker (Front-end) have been encoded everything like $o, $r, $x, $m, $c and motivated it best performance. I really very doubt about it and code became difficult to read.
- $o - object or obj
- $m - $model
- $r - $query_result or $result
- $x - $xml_node
Every thing look like
if ( isset ( self::$o[ self::$x -> name ] ) ) :
$c = 'ClassPrefix_' . self::$o[ self::$x -> name ];
$o = new $c;
self::$x -> read ( );