ovr / phpsa

Smart/Static Analyzer(sis) for PHP :bowtie::neckbeard:
Other
637 stars 77 forks source link

Assign ref new analyzer #305

Closed ovr closed 7 years ago

ovr commented 7 years ago

Hey!

Type: new feature

Link to issue: Sorry, from my mind 🥉

This pull request affects the following components (please check boxes):

In raising this pull request, I confirm the following (please check boxes):

Small description of change:

All objects in PHP are passed by reference, it's not needed to write: But currently I support a simple way with new and object

target: (maybe someone wrote a type)

$a = & new \stdClass();

Thanks

ovr commented 7 years ago

Thanks for review @ddmler 👍