Hello all!
I have a question regarding next few lines of code.
<?php
$person->name = "John Doe";
$person->age = "26";
?>
What does this piece of code actually do? It seems to create object $person,
but i am not shure if i can create objects without defining class first? I'm
little confused here :) This reminds me of structures in C...
Thanx!
--
Relaxen und watch das blinkenlights.. .
I have a question regarding next few lines of code.
<?php
$person->name = "John Doe";
$person->age = "26";
?>
What does this piece of code actually do? It seems to create object $person,
but i am not shure if i can create objects without defining class first? I'm
little confused here :) This reminds me of structures in C...
Thanx!
--
Relaxen und watch das blinkenlights.. .
Comment