• Stars
    star
    1
  • Language
    C
  • Created over 8 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Zend OPcache Binary Loader

Zend OPcache Binary Loader

Build

After cloning hit:

phpize
./configure
make

Note! If opcache ext sources are located in non-standard path use CPFLAGS env during ./configure like that:

CPPFLAGS=-I/home/mbrzuchalski/.phpbrew/build/php-7.0.0/ ./configure

Contributing

After build it is possible to run simple test for loading with PHP:

php -n -d extension_dir=./modules -d extension=opbinloader.so -m

You should notice opbinloader in modules.

You can also get extension information with:

php -n -d extension_dir=./modules -d extension=opbinloader.so --re opbinloader

Extension information:

Extension [ <persistent> extension #39 opbinloader version 1.0 ] {

  - Functions {
    Function [ <internal:opbinloader> function opcache_compile ] {

      - Parameters [2] {
        Parameter #0 [ <required> $source ]
        Parameter #1 [ <required> $destination ]
      }
    }
  }
}

License

The MIT License (MIT)

Copyright (c) 2016 Michał Brzuchalski (aka brzuchal) [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.