Giter Club home page Giter Club logo

test-php-stemmer's Introduction

PHP 7.x - Using php-stemmer master

$ docker build --build-arg PHP_VERSION=7.4 --tag test:7.4 .
...
$ docker run -t test:7.4 && echo $?
dakpann
balletj
0

PHP 8.x - Using php-stemmer master

$ docker build --build-arg PHP_VERSION=8.0 --tag test:8.0 .
...
#6 17.28 /tmp/php-stemmer-master/stemmer.c: In function 'zif_stemword':
#6 17.28 /tmp/php-stemmer-master/stemmer.c:87:47: error: expected ')' before 'TSRMLS_CC'
#6 17.28      if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzz", &arg,&lang,&enc) == FAILURE)RETURN_NULL();
#6 17.28                                                ^~~~~~~~~
#6 17.28 /tmp/php-stemmer-master/stemmer.c:87:9: error: too few arguments to function 'zend_parse_parameters'
#6 17.28      if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzz", &arg,&lang,&enc) == FAILURE)RETURN_NULL();
#6 17.28          ^~~~~~~~~~~~~~~~~~~~~
#6 17.28 In file included from /usr/local/include/php/main/php.h:35,
#6 17.28                  from /tmp/php-stemmer-master/stemmer.c:5:
#6 17.28 /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
#6 17.28  ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
#6 17.28                       ^~~~~~~~~~~~~~~~~~~~~
#6 17.30 make: *** [Makefile:209: stemmer.lo] Error 1

PHP 7.x - Using php-stemmer php-8 branch

$ docker build --build-arg PHP_STEMMER_VERSION=php-8 --build-arg PHP_VERSION=7.4 --tag test-pr:7.4 .
...
$ docker run -t test-pr:7.4 && echo $?
dakpann
balletj
0

PHP 8.x - Using php-stemmer php-8 branch

$ docker build --build-arg PHP_STEMMER_VERSION=php-8 --build-arg PHP_VERSION=8.0 --tag test-pr:8.0 .
...
$ docker run -t test-pr:8.0 && echo $?
dakpann
balletj
0

test-php-stemmer's People

Contributors

ferrastas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.