[UPHPU] reassigning foreach function opposed to all at once

Wade Preston Shearer lists at wadeshearer.com
Wed Apr 11 20:58:33 MDT 2007


Is there a performance difference between…

$pretty_user_url = substr($author->user_url, 7);
$pretty_user_url = str_ireplace('www.', '', $pretty_user_url);
$pretty_user_url = rtrim($pretty_user_url, '/');


…and…

$pretty_user_url = rtrim(str_ireplace('www.', '', substr($author- 
 >user_url, 7)), '/');


…or is it just a preference of legibility?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20070411/ac4a267d/smime.bin


More information about the UPHPU mailing list