Possible Duplicate:
Multiple Inheritance in PHP
Can I extend a class using more than 1 class in PHP?
Does anyone know how can I extend 2 classes from one class?
Example: How can I add another class called classB into the following class?
<?php
class Test extends classA
{
echo "test";
}
?>
I tried the following code, but this is not work:
<?php
class Test extends classA, classB
{
echo "test";
}
?>
Anyone know how can I solve this issue?