Peter Colberg wrote: > Since __tostring works fine with a struct pointer, should __len work, too? Yes it should. Thank you for the bug report and the test case! Fixed in git HEAD. --Mike