deprecate
「deprecate」的意思
vt. 反对;抨击;轻视;声明不赞成
vt.抗议,不赞成,抨击,反对,藐视,轻视
「deprecate」的用法
deprecate使...过时;废弃 - 在PHP中,可以使用`@deprecated`注释来标记一个函数或方法为过时。
「deprecate」的例句
@deprecated This function is deprecated. Use newFunction() instead.
@deprecated 这个函数已过时。请使用newFunction()代替。
The old method has been deprecated in favor of the new one.
旧方法已被新方法取代。
The use of global variables is deprecated. Encapsulate them in a class.
全局变量的使用已过时。请将它们封装在一个类中。
The deprecated feature will be removed in the next major release.
已过时的功能将在下一个主要版本中移除。
@deprecated This class is deprecated. Use the newClass instead.
@deprecated 这个类已过时。请使用newClass代替。
The old way of doing things is deprecated. Try the new approach.
旧的做事方式已过时。尝试新的方法。
@deprecated This method is deprecated. Please use anotherMethod() instead.
@deprecated 这个方法已过时。请使用anotherMethod()代替。
The use of magic methods like __get and __set is deprecated. Use properties directly.
使用魔术方法如__get和__set是已过时的。直接使用属性。
The deprecated function will be removed in version 2.0.
已过时的函数将在版本2.0中移除。
The use of global functions is deprecated. Encapsulate them in a namespace.
全局函数的使用已过时。请将它们封装在一个命名空间中。