You can create these magic methods in a class for a variety of action types.
可以在一个类中为各种不同的动作创建这些魔术方法。
First, the complexity of classes increases tremendously when you start writing magic methods.
首先,在刚开始编写魔法方法时,类的复杂性显著增加。
PHP V5 has several specially defined methods that can be used inside classes known as magic methods.
PHPV5提供了一些可用于类内部的特别定义的方法,称为魔术方法。
You might combine these techniques into a class wrapper for convenience, using some magic methods.
为了方便起见,可以将这些技术组合成一个类包装器。
Within these magic methods, you can examine the specific attribute name being accessed, assigned, or deleted.
通过使用这些方法,您可以检查被访问、赋值或删除的特定属性名。
What magic methods on earth do you have?
你到底有什么神奇的魔法?
This is in effect dynamic code, and any such dynamic entities are processed by what are called magic methods.
这实际上是动态代码,任何这样的动态实体都是由所谓的魔术方法(magic methods)来处理。
I love that the designers of PHP have been thoughtful enough to include these magic methods in the language so that we can write precisely this type of code.
我非常喜欢PHP的设计者这么有想法,把这些魔法方法包含在语言中,这样我们才能编写这类代码。
The PHP engine recognizes a number of "magic" methods.
PHP引擎识别许多“魔术”方法。
The PHP engine recognizes a number of "magic" methods.
PHP引擎识别许多“魔术”方法。
应用推荐