Compiled PHP with pthreads in Debian -


i compiled php-7.0.0rc1 pthreads in debian without error according http://php.net/manual/en/pthreads.installation.php#114837.

then listed php modules 'php -m ' command , pthread listed there, inistalled correctly. after test it, used following simple code:

<?php     class cls extends thread {      } ?> 

but have error below:

enter image description here

and if remove 'extends thread' run no error.

any appreciated.

you allowed load latest version of pthreads in cli.

if aren't getting error, aren't using latest release.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -