Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Just to be clear: this module does not actually eval()
the code. It relies on the (totally awesome) http://codepad.org service to evaluate the code and return the output.
Evaluate code and view the output with your IRC bot!
The default language is PHP. Opening <?php tags are not necessary.
<you> ?eval echo "Hello World!";
<bot> http://codepad.org/3dmXczl9 Hello World!
You can specify other languages with ?eval:[language] [code]
<you> ?eval:python import time; print(time.time())
<bot> http://codepad.org/go2hbYRZ 1303271492.62
Supported languages:
- c
- cpp
- d
- haskell
- lua
- ocaml
- php
- perl
- python
- ruby
- scheme
- tcl
Powered by: http://codepad.org/
Project information
- Module categories: Developer Tools
- Created by pifantastic on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.