DTMF error after verbose

Hello,
I’m using phpagi.php and have a strange behavior.
If I’m using the verbose command (for debugging) and then call $agi->get_data I get result ‘0’ as the returned DTMF, the moment i removeing the verbose I gets the correct DTMF signs as supposed.
Any idea why its happens?