title: Test PHP Script Online
body: <p>Last Month <a href="http://codepad.viper-7.com/" rel="noreferrer">codepad.viper-7.com</a> was down and a lot of <a href="http://stackoverflow.com">stackoverflow</a> answers with code pasted there became broken include some of mine. When it was back all scripts where lost.</p>
  
  <p>Am looking for a free anonymous alternative to <a href="http://codepad.viper-7.com/" rel="noreferrer">codepad.viper-7.com</a> where i can test <code>php</code> scripts with minimal restriction (<code>fopen</code>, <code>curl</code> , <code>mb_strlen</code> etc); on different versions.</p>
  
  <p>There so many of them recommended here but its difficult to find suitable replacement to <a href="http://codepad.viper-7.com/" rel="noreferrer">codepad.viper-7.com</a></p>
  
  <p>Simple Testing Script </p>
  
  <pre><code>&lt;?php
     echo strlen(file_get_contents("http://google.com"));
  ?&gt;
  </code></pre>
  
  <p>Output </p>
  
  <ul>
  <li><a href="http://codepad.viper-7.com/JvuOqy" rel="noreferrer">codepad.viper-7.com</a>  = 43736</li>
  <li><a href="http://sandbox.onlinephpfunctions.com/" rel="noreferrer">sandbox.onlinephpfunctions.com</a> = disabled </li>
  <li><a href="http://writecodeonline.com/php/" rel="noreferrer">writecodeonline.com</a> = disabled </li>
  <li><a href="http://www.exorithm.com/algorithm/sandbox" rel="noreferrer">exorithm.com</a> = 43736 but non-anonymous func, print_r  etc disabled </li>
  <li><a href="http://codepad.org" rel="noreferrer">codepad.org</a> = failed </li>
  <li><a href="http://ideone.com/WRcC9t" rel="noreferrer">ideone.com</a> = disabled </li>
  <li><a href="http://www.coderun.com/ide/" rel="noreferrer">coderun.com</a> = 43736 but Only PHP Version 5.3.1 supported</li>
  <li><a href="https://codeanywhere.net/" rel="noreferrer">codeanywhere.net</a> = Registration Required </li>
  <li><a href="http://eval.in/5093" rel="noreferrer">eval.in</a> = Forbidden syscall socketcall</li>
  <li><a href="http://3v4l.org/JVoIh" rel="noreferrer">3v4l.org</a> = failed </li>
  </ul>
  
  <p><strong>Question:</strong></p>
  
  <p>Is there any anonymous alternative with minimal restrictions ? </p>