Skip to content
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

DCOM-307: Create a "Code Inliner" component for inlining function calls #621

Open
doctrinebot opened this issue Nov 7, 2015 · 2 comments
Assignees

Comments

@doctrinebot
Copy link

Jira issue originally created by user @Ocramius:

Given following pieces of code:

function baz($tab) {
    $taz;
}
function foo () {
    return baz('tab');
}

echo foo();

we want to have a simple (safe - must bail out eagerly) code-inliner that produces following:

$foo*generated*tab = 'tab';
echo $foo*generated*tab;

This sort of code generator/inliner would be useful to simplify generated hydrators

@doctrinebot
Copy link
Author

@doctrinebot
Copy link
Author

Comment created by yourwebmaker:

Hi Marco,

Could you give more in/out examples?

@doctrinebot doctrinebot added this to the 3.0 milestone Dec 6, 2015
@alcaeus alcaeus removed this from the next milestone May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants