Zeev
At 20:02 04/02/2004, John Coggeshall wrote:
I'm still getting that for an abstract class:
Fatal error: Invalid binding type in /web/php5/sandbox/adv_gd/classes/gdFontObject.class.php on line 12
abstract class gdFontObject extends gdObject implements gdFontInterface {
/* Catch API differences for methods beyond the interface */ function __call($m, $a) { $classname = get_class($this); throw new Exception("Method $m is not implemented when using Font Class $classname"); return false; }
} On Wed, 2004-02-04 at 12:14, Zeev Suraski wrote: > Try now. > > Zeev > > At 18:55 04/02/2004, Sebastian Bergmann wrote: > >Zeev Suraski wrote: > > > zeev Wed Feb 4 11:30:17 2004 EDT > > > > > > Modified files: > > > /ZendEngine2 zend_compile.c zend_compile.h zend_execute.c > > > zend_execute.h zend_execute_API.c > > > zend_language_parser.y > > > Log: > > > Reinstate early-binding for classes. > > > > 1 <?php > > 2 interface PHPUnit_Framework_Test { > > 3 public function countTestCases(); > > 4 public function run(PHPUnit_Framework_TestResult $result); > > 5 } > > 6 ?> > > > > results in > > > > Fatal error: Invalid binding type in > > E:\home\php\pear\PHPUnit\Framework\Test.php on line 5 > > > >-- > >Sebastian Bergmann > >http://sebastian-bergmann.de/ http://phpOpenTracker.de/ > > > >Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ > > > >-- > >PHP Internals - PHP Runtime Development Mailing List > >To unsubscribe, visit: http://www.php.net/unsub.php -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbook http://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php