Re: cvs: pear /Auth Auth.php

From: Date: Sun, 23 Dec 2001 07:59:45 +0000
Subject: Re: cvs: pear /Auth Auth.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1666@lists.php.net to get a copy of this message
On Sat, 22 Dec 2001 13:49:06 -0500, Jon Parise wrote: >On Sat, Dec 22, 2001 at 02:37:51PM -0000, Martin Jansen wrote: > >> mj Sat Dec 22 09:37:51 2001 EDT >> >> Modified files: >> /pear/Auth Auth.php >> Log: >> * Remove _setAuth which is not needed and was introduced by last commit. >> * Slight PHPDoc fix. >> * Change '' to "". > >I'm curious about that last change. I generally make it a rule >to use 'single quotes' for string literals. I think it might >even be slightly faster (although probably immeasurably so) >because the engine doesn't need to think about variable >interpolation. That's an interesting point: I thought it was recommened to put string parameters for methods and function in " and to use ' for arrays. Does one have some benchmark tests which show some differences? If it has some advantages in relation to execution speed, we should perhaps note that down in the coding standards ;-). - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

« previous php.pear.cvs (#1666) next »