It works great.
Enter this after you see Interactive mode enabled:
<?php
echo "test\n";
?>
and press ctrl + d.
test will be printed.
Also see this question: mac os php intratactive mode doesn't have a hint
To use the standard version phpthat ships with OS X, you can do this in the terminal:
mv /Applications/MAMP/bin/php/php5.3.6/bin/php /Applications/MAMP/bin/php/php5.3.6/bin/php.bak
ln -s /usr/bin/php /Applications/MAMP/bin/php/php5.3.6/bin/php
Tyilo source
share