On 09/12/2009 3:45 PM, Brian Vuyk wrote:
I'm sure I'm not the only person who's done something like the following by mistake:Is there an established convention for this within Drupal core?
<?php global $user; // Do one thing like access $user->uid. // Other, unrelated code. $user = user_load(...); // Boom!This makes me think that standardizing on $GLOBALS would be a good thing. Can you link to where you found the 25% faster benchmark?
--Andrew
