On Mar 21, 2007, at 7:14 PM, Chris wrote:
Erik Jones wrote:
That's not true, running with v. 5.2.1:
?php
class A
{
function A() {
echo works\n;
}
}
$a = new A();
?
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can
They're basically the same thing, however, you can only use __construct in
PHP5.
--
itoctopus - http://www.itoctopus.com
John Comerford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Folks,
I am still pretty new to PHP and I have a question regarding classes and
using
That's not true, running with v. 5.2.1:
?php
class A
{
function A() {
echo works\n;
}
}
$a = new A();
?
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can only use
__construct in
PHP5.
--
itoctopus -
Erik Jones wrote:
That's not true, running with v. 5.2.1:
?php
class A
{
function A() {
echo works\n;
}
}
$a = new A();
?
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can only use
__construct in
PHP5.
He
John Comerford wrote:
Hi Folks,
I am still pretty new to PHP and I have a question regarding classes and
using _construct. Up until now I have been creating my classes as follows:
class test1 {
var $name;
function test1($pName) {
$this-name = $pName;
}
}
So I when I create a new
5 matches
Mail list logo