joelwan / php-object-generator

ORM class generator for PHP
http://www.phpobjectgenerator.com
29 stars 30 forks source link

Fixes calling by reference #20

Closed vladoschreiner closed 3 years ago

vladoschreiner commented 3 years ago

Calling functions using reference sign on a function call breaks the code on newer versions of PHP 5.

There is no reference sign on a function call - only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. See the PHP docs