1--TEST-- 2ZE2 The child class can re-use the parent class name for a function member 3--FILE-- 4<?php 5class base { 6 function base() { 7 echo __CLASS__."::".__FUNCTION__."\n"; 8 } 9} 10 11class derived extends base { 12 function base() { 13 echo __CLASS__."::".__FUNCTION__."\n"; 14 } 15} 16 17$obj = new derived(); 18$obj->base(); 19?> 20--EXPECTF-- 21base::base 22derived::base 23