segmentation fault 11 fix

Long string causes segmentation fault:
"UPDATE AcmeBundle:Document d SET d.tag = '".str_repeat('a',1000000)."' WHERE d.id=:id"

It happens because there is too much recursion:
https://bugs.php.net/bug.php?id=64046