Ideone is an online Compiler and debugging tool which allows you to compile source code and execute it online in more than 60 programming languages. Ideone uses their Sphere Engine™ API to execute code on a remote server within a complete & secure runtime environment and to retrieve results of the execution. You can also create your own account to save, review and share your code.
Languages supported by Ideone-
Here are some samples provided by Ideone in different languages.