I know that the usage of invoke() in the example below is wrong, but it should not segfault:
<?php class Foo { function bar() {} } $class = new Reflection_Class('Foo'); $method = $class->getMethod('bar'); $method->invoke(); ?> zif_reflection_method_invoke(int 0, _zval_struct * 0x00affad0, _zval_struct * 0x00affc40, int 0, void * * * 0x00ae42c0) line 948 + 3 bytes zend_do_fcall_common_helper(_zend_execute_data * 0x0012faa4, _zend_op_array * 0x00afef10, void * * * 0x00ae42c0) line 2636 + 54 bytes zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012faa4, _zend_op_array * 0x00afef10, void * * * 0x00ae42c0) line 2736 + 17 bytes execute(_zend_op_array * 0x00afef10, void * * * 0x00ae42c0) line 1192 + 19 bytes zend_execute_scripts(int 8, void * * * 0x00ae42c0, _zval_struct * * 0x00000000, int 3) line 1017 + 33 bytes php_execute_script(_zend_file_handle * 0x0012ff48, void * * * 0x00ae42c0) line 1568 + 27 bytes main(int 2, char * * 0x00ae3ed0) line 910 + 17 bytes mainCRTStartup() line 338 + 17 bytes -- 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