摘要: The only rule is that static methods or properties are out of object context. For example, you cannot use $this inside of a static method. $MyClass = 阅读全文
posted @ 2020-05-12 14:38 qqisnow2021 阅读(125) 评论(0) 推荐(0)
摘要: $ which mysqld /usr/sbin/mysqld $ /usr/sbin/mysqld --verbose --help | grep -A 1 "Default options" Default options are read from the following files in 阅读全文
posted @ 2020-05-12 11:23 qqisnow2021 阅读(604) 评论(0) 推荐(0)
摘要: 非强制: 代码必须使用4个空格缩进,而不是使用tab。 类的左花括号一定在下一行,右花括号也一定在类内容的下一行。 方法的左花括号一定在方法名的下一行,右花括号一定在方法体的下一行。 所有的属性和方法一定要定义可见性;abstract和final必须在可见性之前定义;static一定在可见性之后定义 阅读全文
posted @ 2020-05-12 10:39 qqisnow2021 阅读(169) 评论(0) 推荐(0)