for ruby1.8
define_php_magic_method
bugfix __clone
version 1.3.6