Skip to content

ianton-ru/php_test_extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php_test_extension

php test extension to reproduce bug 78747

FIXED

build:

phpize && ./configure && make && make install

add to php.ini:

extension=testextension.so

or for docker:

docker-php-ext-enable testextension

Test

OpCache corrupts class static method result in custom extension when method name matches with some php function. Without OpCache or with unique method name all works fine.

php -c php.ini test.php

or

docker build . -t php_test_extension
docker run php_test_extension

Expected result:

Test

Actual result with OpCache:

NULL

About

php test extension to reproduce bug

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published