<ol
class
=
"dp-xml"
>
<li
class
=
"alt"
><span><span>
abstract
class
AbstractClass { </span></span></li>
<li
class
=
""
><span>
abstract
public
function
test(); </span></li>
<li
class
=
"alt"
><span>} </span></li>
<li
class
=
""
><span> </span></li>
<li
class
=
"alt"
><span>
class
ImplementedClass
extends
AbstractClass { </span></li>
<li
class
=
""
><span>
public
function
test() { </span></li>
<li
class
=
"alt"
><span>
echo
"ImplementedClass::test() called. "
; </span></li>
<li
class
=
""
><span> } </span></li>
<li
class
=
"alt"
><span>} </span></li>
<li
class
=
""
><span> </span></li>
<li
class
=
"alt"
>
<span>$</span><span
class
=
"attribute"
><font color=
"#ff0000"
>o</font></span><span> = </span><span
class
=
"attribute-value"
><font color=
"#0000ff"
>
new
</font></span><span> ImplementedClass; </span>
</li>
<li
class
=
""
>
<span>
$o
-</span><span
class
=
"tag"
><strong><font color=
"#006699"
>></font></strong></span><span>test(); </span>
</li>
</ol>