On Sun, Sep 21, 2003 at 09:10:16AM -0700, Raquel Rice wrote:
:
: On Wed, 17 Sep 2003 21:22:36 +1000
: Justin French [EMAIL PROTECTED] wrote:
:
: I posted a similar topic a few months back. I guess the answer is
: that the collaborative nature of open source, and the fact that
: PHP has grown
One thing that's always bothered me about PHP is that the function names
are not terribly consistent. For example, when are underscores okay?
strip_tags() has an underscore but stripslashes() does not. Also,
should inverse functions be named appropriately? htmlentities() and
I posted a similar topic a few months back. I guess the answer is that
the collaborative nature of open source, and the fact that PHP has
grown from very humble beginnings has meant that naming standards and
conventions are a little lacking.
It would've been nice if these issues were
:[EMAIL PROTECTED]
Sent: 17 September 2003 10:51
To: [EMAIL PROTECTED]
Subject: [PHP] consistent PHP function names?
One thing that's always bothered me about PHP is that the function names
are not terribly consistent. For example, when are underscores okay?
strip_tags() has an underscore
Am Mit, 2003-09-17 um 14.26 schrieb [EMAIL PROTECTED]:
In practice, I find that all my code is wrapped up in custom functions and
objects anyway - I name those quite carefully to avoid confusing myself and
others, but don't need to worry too much about the naming conventions of the
functions
Hello Steve,
Thursday, October 25, 2001, 10:30:16 PM, you wrote:
SC On Thursday, October 25, 2001, at 02:08 PM, Martín Marqués wrote:
On Jue 25 Oct 2001 15:36, you wrote:
Hello php-general,
I have such code:
class A
{
var $xxx;
function print()
{
MM Check your code again. Without the this- I get the same error that you got.
With this- I don't.
I don't know what php you're using... Or maybe you haven't understood
something. Try this code:
?php
class A
{
function print()//line 4
{
echo foo;
Hello php-general,
I have such code:
class A
{
var $xxx;
function print()
{
echo $xxx;
}
}
And that's what I get:
Parse error: parse error, expecting `T_STRING' in xxx.php on line nn
Php doesn't let any function or class member
On Thursday, October 25, 2001, at 02:08 PM, Martín Marqués wrote:
On Jue 25 Oct 2001 15:36, you wrote:
Hello php-general,
I have such code:
class A
{
var $xxx;
function print()
{
echo $xxx;
$xxx is internal to the print function.
9 matches
Mail list logo