Giter Site home page Giter Site logo

Comments (4)

remicollet avatar remicollet commented on May 18, 2024

Perhaps because this extension doesn't provide any function ;)

Try:

 php  --re  yac

from yac.

joostshao avatar joostshao commented on May 18, 2024
ubt@ubt:~/yac-php7$ php  --re  yac
Extension [ <persistent> extension #53 yac version 2.0.1-dev ] {

  - INI {
    Entry [ yac.enable <SYSTEM> ]
      Current = '1'
    }
    Entry [ yac.debug <ALL> ]
      Current = '0'
    }
    Entry [ yac.keys_memory_size <SYSTEM> ]
      Current = '4M'
    }
    Entry [ yac.values_memory_size <SYSTEM> ]
      Current = '64M'
    }
    Entry [ yac.compress_threshold <SYSTEM> ]
      Current = '-1'
    }
    Entry [ yac.enable_cli <SYSTEM> ]
      Current = '0'
    }
  }

  - Constants [5] {
    Constant [ string YAC_VERSION ] { 2.0.1-dev }
    Constant [ integer YAC_MAX_KEY_LEN ] { 48 }
    Constant [ integer YAC_MAX_VALUE_RAW_LEN ] { 67108863 }
    Constant [ integer YAC_MAX_RAW_COMPRESSED_LEN ] { 1048576 }
    Constant [ string YAC_SERIALIZER ] { PHP }
  }

  - Classes [1] {
    Class [ <internal:yac> class Yac ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [1] {
        Property [ <default> protected $_prefix ]
      }

      - Methods [10] {
        Method [ <internal:yac, ctor> public method __construct ] {

          - Parameters [1] {
            Parameter #0 [ <optional> $prefix ]
          }
        }

        Method [ <internal:yac> public method add ] {

          - Parameters [3] {
            Parameter #0 [ <required> $keys ]
            Parameter #1 [ <optional> $value ]
            Parameter #2 [ <optional> $ttl ]
          }
        }

        Method [ <internal:yac> public method set ] {

          - Parameters [3] {
            Parameter #0 [ <required> $keys ]
            Parameter #1 [ <optional> $value ]
            Parameter #2 [ <optional> $ttl ]
          }
        }

        Method [ <internal:yac> public method __set ] {

          - Parameters [2] {
            Parameter #0 [ <required> $key ]
            Parameter #1 [ <required> $value ]
          }
        }

        Method [ <internal:yac> public method get ] {

          - Parameters [1] {
            Parameter #0 [ <required> $keys ]
          }
        }

        Method [ <internal:yac> public method __get ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:yac> public method delete ] {

          - Parameters [2] {
            Parameter #0 [ <required> $keys ]
            Parameter #1 [ <optional> $ttl ]
          }
        }

        Method [ <internal:yac> public method flush ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:yac> public method info ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:yac> public method dump ] {

          - Parameters [0] {
          }
        }
      }
    }
  }
}

and the class Yac exits.
and

php > var_dump(method_exists('Yac','set'));
bool(true)

from yac.

laruence avatar laruence commented on May 18, 2024

@joostshao as @remicollet said, this extension doesn't provide any functions. only a class

from yac.

joostshao avatar joostshao commented on May 18, 2024

sorry, i understand it . Thank you
i mix the functions and methods in class.

from yac.

Related Issues (20)

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.