Skip to content

fix bug with inherited old-style constructors #35

Closed
wants to merge 1 commit into from

2 participants

@tony2001

we need some additional safechecks when redefining/adding these cursed
old-style ctors.

@tony2001 tony2001 fix bug with inherited old-style constructors
we need some additional safechecks when redefining/adding these cursed
old-style ctors
d63c984
@zenovich zenovich added a commit that referenced this pull request Sep 17, 2012
@zenovich All ways of adding and removing magic methods and old-style construct…
…ors were reworked and corrected (issue #35).

Magic methods __isset, __unset, __callStatic, and __toString are now supported.
Functions runkit_class_adopt & runkit_class_emancipate now change class-hierarchy (issue #13).
tony2001's patch d63c984 was applied and reworked.
New tests were added.
7f5b7b1
@zenovich zenovich closed this Sep 17, 2012
@tony2001 tony2001 added a commit to tony2001/runkit that referenced this pull request Sep 18, 2012
@tony2001 tony2001 Merge git://github.com/zenovich/runkit
* git://github.com/zenovich/runkit:
  Adding and redefining functions and methods, which return references, were fully implemented (#12). New optional argument 'return_ref' of functions runkit_function_add and runkit_function_redefine was introduced. New constant RUNKIT_ACC_RETURN_REFERENCE was introduced for use with functions runkit_method_add and runkit_method_redefine. New tests were added.
  The possible crash on manipulating constants having length less than two characters was eliminated. Functions manipulating constants were corrected to work in PHP5.4, new tests were added.
  All ways of adding and removing magic methods and old-style constructors were reworked and corrected (issue #35). Magic methods __isset, __unset, __callStatic, and __toString are now supported. Functions runkit_class_adopt & runkit_class_emancipate now change class-hierarchy (issue #13). tony2001's patch d63c984 was applied and reworked. New tests were added.
  functions and methods redefining in PHP 5.4 was corrected in all places, new tests were added (#36, #32)
  a fix was added to package.xml
  mad casing of classnames in different versions of PHP
  compilation bug (gcc 4.3+) with definition of internal function was fixed
3c35dda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.