doctrine/doctrine2 — comment on commit c6a3ff4da54e904311e87a2fcaa37906aed61582
File: lib/Doctrine/ORM/UnitOfWork.php line 438
By Partugal:

"the ternary operator always copies the value whereas the if statement does not".

see http://fabien.potencier.org/article/48/the-php-ternary-operator-fast-or-not