374
374
The above class is named "helloworld". It inherits the [class]object[/class] class.
375
375
This means that it acquires all the [class]object[/class] functions: [classfnc:object]$name[/classfnc](),
377
377
Additionally, it has the $sayhello() function, that "echoes Hello world" to the console.
378
378
Now you can create an instance of this class: