Comments (4)
Perhaps because this extension doesn't provide any function ;)
Try:
php --re yac
from yac.
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.
@joostshao as @remicollet said, this extension doesn't provide any functions. only a class
from yac.
sorry, i understand it . Thank you
i mix the functions and methods in class.
from yac.
Related Issues (20)
- 请问yac的info其中几个字段的含义 HOT 1
- 【建议】get新增支持获取多维数组的某一项 HOT 1
- [2.1.0] Broken build on 32-bit HOT 2
- Serializer choice at runtime HOT 2
- Cli模式下,获取不到缓存,每次执行都在写缓存,是需要特殊配置吗? HOT 2
- 为什么ipcs -m查不到yac的共享内存,但是能访问到key,那要怎么查看呢 HOT 2
- How can I get the actual value memory usage? HOT 1
- 亲测是支持PHP8的,充分证明当年代码质量和写时考虑周全。 HOT 1
- 文档中的常量名称错误 HOT 2
- 请问通过哪个参数可以控制给yac分配的最大内存? HOT 1
- 使用 Yac 2.0.2 时出现了缓存不一致的问题 HOT 6
- PHP8.1.1+yac-2.3.1 开启 msgpack压缩报错 HOT 3
- Use in different processes HOT 5
- ab test yac poor performance than only use redis HOT 2
- How does the cas work? (compare and swap)
- 新增incr功能
- yac 读取出来数据不正确 HOT 1
- wsl ubuntu16.04 php7.3.3 使用pecl 安装yac2.0.2 报错 recipe for target 'yac.lo' failed HOT 1
- php 7.3.4 make 错误 HOT 2
- closed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yac.