Download the PHP package quizlet/fb_intercept_polyfill without Composer

On this page you can find all versions of the php package quizlet/fb_intercept_polyfill. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fb_intercept_polyfill

fb_intercept_polyfill

A polyfill for using fb_intercept across hhvm 3.24 -> 4.present

Why you don't need this polyfill. The polyfill bridges the gap between a hhvm that understands inout without being in the transition period for &$references and one that doesn't understand &$references. The HH\Lib\Ref<T> is a class does not require runtime support, so it can be used as a mediator. If your hhvm is not in the transition period for &$references, but it does have HH\Lib\Ref<T> support, you may want to use this polyfill.

Limitations

fb_intercept() is a built-in function. This gives it the superpower that it can't be intercepted itself. The polyfill is userland code, so it can be intercepted. Therefore you can't use the catchall interceptor key '' (empty string), since you would be intercepting calls to the polyfill itself. This makes it impossible to call fb_intercept() after that. The polyfill will throw if you pass it the catchall key, telling you that this is not supported. If you intercept the polyfill by name intentionally, you'll not be able to restore it. So don't do that. :wink:

Installation instructions for library authors

Version v1.x.x and v2.x.x will retain API intercompatibility as a promise. v1 will only run on hhvm 4.28 and below and v2 will only run on 4.20 and up. The public API has not changed, only the hhvm version requirement and some implementation details.

We therefore STRONGLY advice that your version constraint for this library is "^1|^2". This is required to be installable on all hhvm versions.

Users of this library who do not intend to run on older hhvm versions can set a "^2" constraint, but the "^1|^2" constraint would also work for you.


All versions of fb_intercept_polyfill with dependencies

PHP Build Version
Package Version
Requires hhvm Version >=4.26
hhvm/hhvm-autoload Version ^1|^2|^3
hhvm/hsl Version >=4.7 <5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package quizlet/fb_intercept_polyfill contains the following files

Loading the files please wait ...