Last Month codepad.viper-7.com was down and a lot of stackoverflow answers with code pasted there became broken include some of mine. When it was back all scripts where lost.
Am looking for a free anonymous alternative to codepad.viper-7.com where i can test php
scripts with minimal restriction (fopen
, curl
, mb_strlen
etc); on different versions.
There so many of them recommended here but its difficult to find suitable replacement to codepad.viper-7.com
Simple Testing Script
<?php
echo strlen(file_get_contents("http://google.com"));
?>
Output
Question:
Is there any anonymous alternative with minimal restrictions ?
You can test PHP MySQL with PDO, and also test PHP Sodium (PHP 7.4. 8 and PHP 8 Only). To execute your code, you must copy and paste, drag and drop a PHP file or directly type in the "PHP code" online editor below, and click on "Run" button. You can see the user guide to help you to use this php sandbox tool.
You can load your PHP script into your browser by pressing ↵ Enter. Your page will load correctly if your script is working. If you have errors in your script, you will receive errors or your page will not load properly.
PHP code checker tool PHP error checker tool allows to find syntax errors (lint). You can test your PHP code online directly in your browser. If a syntax error is detected, then the line in error is highlighted, and it jumps to it to save time (no need to search the line).
You can try phpfiddle.org. But be aware that http://google.com
is redirected to https://www.google.com
, so file_get_contents
will return 301 Moved
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With