title: Compiled PHP with pthreads in Debian
body: <p>I compiled PHP-7.0.0RC1 with pthreads in Debian completely without any error according to <a href="http://php.net/manual/en/pthreads.installation.php#114837" rel="nofollow noreferrer">http://php.net/manual/en/pthreads.installation.php#114837</a>.</p>
  
  <p>Then I listed PHP Modules with 'php -m ' command and pthread listed there, so it is inistalled correctly.
  After that to test it, I used following simple code:</p>
  
  <pre><code>&lt;?php
      class cls extends Thread {
  
      }
  ?&gt;
  </code></pre>
  
  <p>But I have an error as below:</p>
  
  <p><a href="https://i.stack.imgur.com/35XrE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/35XrE.jpg" alt="enter image description here"></a></p>
  
  <p>and if I remove 'extends Thread' it will run successfully with no error.</p>
  
  <p>Any help will be appreciated.</p>