Inizia a dire quale versione hai tu, che se magari ne hai una più nuova della mia o di qualcun altro che non ha problemi sai subito che non è quello.
Tu dici che il problema non è quello del true, ma hai provato a non metterci il true?
Hai letto a cosa serve il true?
If you would like to capture the output of print_r(), use the return parameter. When this parameter is set to TRUE, print_r() will return the information rather than print it.

Rispondi quotando