hhvm-hni-cookbook icon indicating copy to clipboard operation
hhvm-hni-cookbook copied to clipboard

Cookbook with snippets to help implementing extensions for HHVM/HNI extensions

HHVM/HNI Extensions Cookbook

This repository contains a set of recipes on how to do specific tasks with HHVM/HNI. Each of the recipes were found out during the development of the official HHVM driver for MongoDB_ (currently in the prototype phase).

Feel free to provide pull requests with recipes of our own, or pull requests to fix and/or improve existing recipes.

This cookbook is released under a CC0 1.0 Universal_ license.

.. _official HHVM driver for MongoDB: https://github.com/10gen-labs/mongo-hhvm-driver-prototype .. _CC0 1.0 Universal: LICENSE.rst

Contents

  • Classes_
  • Adding Resources to Classes_
  • Dealing with Exceptions_
  • Compiling and Setting up for Debugging_
  • Debugging_

.. _Classes: classes.rst .. _Adding Resources to Classes: add-class-storage.rst .. _Dealing with Exceptions: exceptions.rst .. _Compiling and Setting up for Debugging: compiling.rst .. _Debugging: debugging.rst