Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hash, className & id methods for Php::Value #120

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add hash, className & id methods for Php::Value #120

wants to merge 3 commits into from

Commits on Jul 10, 2014

  1. Add hash method for Php::Value

    If you want to use Php::Value as a key of unordered_map, you can use
    this method to implement the hash function. But it only works correctly
    when patched #114.
    andot committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    70cb080 View commit details
    Browse the repository at this point in the history
  2. Add className method for Php::Value

    This method can return the calss name of the object. and return empty
    string when the value is not an object.
    andot committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    6c07a08 View commit details
    Browse the repository at this point in the history
  3. Add id method of Php::Value

    This method return an id of the object. It is like spl_object_hash, it
    return empty string when the value is not an object.
    andot committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    65548c6 View commit details
    Browse the repository at this point in the history