Why $methods[$name] !== 0