-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reserved class method names are scrambled under certain conditions #11
Comments
As you can see in http://php.net/manual/en/reserved.keywords.php: _call is processed differently, it is part of $t_reserved_method_names: |
Hello, this issue is not resolved - please reopen. We may have misunderstood eachother. The issue is that I do want the functionality of Please check this line: https://github.com/pk-fr/yakpro-po/blob/master/include/classes/scrambler.php#L265 The The ignore list should additionally be populated with |
Hi Oliver, |
When limiting the scope of predefined functions which are scanned, the scrambler catches some reserved function names such as
__call
because they do not appear in any of the scanned predefined classes.The reason for this is that in scrambler.php, line 265, t_ignore is populated with a list of reserved functions, not methods. No fancy example this time ;).
The text was updated successfully, but these errors were encountered: