Donny wrote:
can we make simple codes in-line instead of function
calls?
or, it makes no help in PHP?
Donny, can you please explain what you mean by this, perhaps with a code sample? I am
not really sure what you are asking.
Matthew Horn
Principal
Spielboy.com
--
PHP Database Mailing
Matthew Horn wrote:
Donny wrote:
can we make simple codes in-line instead of function
calls?
or, it makes no help in PHP?
Donny, can you please explain what you mean by this, perhaps
with a code sample? I am not really sure what you are asking.
Ohhh.. sorry for that. it's quite
Donny Lee wrote:
Ohhh.. sorry for that. it's quite simple, i'm wondering if
we can have something like those in-line functions in C++:
class someCLASS {
var $varLength;
// other stuff
inline function length() {
return $this-varLength;
}
}
i
Leif K-Brooks wrote:
Ohhh.. sorry for that. it's quite simple, i'm wondering if
we can have something like those in-line functions in C++:
class someCLASS {
var $varLength;
// other stuff
inline function length() {
return $this-varLength;
}
}
i expect it will make