Codierungsstandards für die PHP-Entwicklung
/ PHP方法或函數
PHP方法或函數
PHP方法或函數
方法或函數命名遵循以下規(guī)則:
a. 首字母小寫;
b. 多個單詞間不使用間隔,除第一個單詞外,其他單詞首字母大寫。
例子:function myFunction ()或function myDbOracle ()等。
PHP方法或函數
方法或函數命名遵循以下規(guī)則:
a. 首字母小寫;
b. 多個單詞間不使用間隔,除第一個單詞外,其他單詞首字母大寫。
例子:function myFunction ()或function myDbOracle ()等。