^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$
and
6 - functions which are called methods.
<?php
class test0x
{
// class properties
public $v01 = 'Variable 1';
. . . . . .
public $v0n = 'Variable N';
// and methods
public function funcNAME()
{
// function description
}
}
$obj01 = new test0x;
. . . . . .
$obj0N = new test0x;
?>
<?php
class test01
{
var $var01 = 'Alea jacta est';
var $var02 = 'Luck is on';
}
$obj01 = new test01;
?>
<?php
class test02
{
public $var03 = 'Alea jacta est';
public $var04 = 'Luck is on';
}
$obj02 = new test02;
$obj02->var03;
$obj02->var04;
?>