Not quite... if it did, something else broke because now I get a Segfault: #0 0x403247cc in zend_throw_exception_internal (exception=0x0, tsrm_ls=0x81aa958) at /home/john/working/php-src/Zend/zend_execute_API.c:1205 #1 0x403236e3 in zend_call_function (fci=0xbfffe9f0, fci_cache=0xbfffe9d0, tsrm_ls=0x80de480) at /home/john/working/php-src/Zend/zend_execute_API.c:789 #2 0x4033912b in zend_call_method (object_pp=0xbfffea7c, obj_ce=0x80e201c, fn_proxy=0x0, function_name=0x4041d700 "__destruct", function_name_len=10, retval_ptr_ptr=0x0, param_count=135012600, arg1=0x0, arg2=0x0, tsrm_ls=0x80de480) at /home/john/working/php-src/Zend/zend_interfaces.c:79 #3 0x40339d88 in zend_objects_destroy_object (object=0x80eaba4, handle=135012600, tsrm_ls=0x80de480) at /home/john/working/php-src/Zend/zend_objects.c:71 #4 0x4033bc81 in zend_objects_store_call_destructors (objects=0x80c23a8, tsrm_ls=0x80de480) at /home/john/working/php-src/Zend/zend_objects_API.c:54 #5 0x40322afb in shutdown_executor (tsrm_ls=0x80de480) at /home/john/working/php-src/Zend/zend_execute_API.c:211 #6 0x4032beeb in zend_deactivate (tsrm_ls=0x80de480) at /home/john/working/php-src/Zend/zend.c:812 #7 0x402f6ec8 in php_request_shutdown (dummy=0x0) at /home/john/working/php-src/main/main.c:1241 #8 0x4035258a in apache_php_module_main (r=0x820bd8c, display_source_mode=0, tsrm_ls=0x80de480)
On Wed, 2004-02-04 at 13:26, Zeev Suraski wrote: > Fixed. > > 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/ > >-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- 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