PHP 5.2:Indirect modification of overloaded property
從 PHP 5.1 升級到 5.2 需要注意一些事情:
但在 PHP 5.2 需改成需改成:
- What has changed in PHP 5.2.x
- Backward Incompatible Changes
- New Error Messages
- Changes in PHP datetime support
- New Parameters
- New Functions
- New Methods
- Removed Extensions
- New Extensions
- New Classes
- New Global Constants
- New Class Constants
- New INI Configuration Directives
- Error Reporting
- Other Enhancements
$objColumn->Datas[$strLang]->$strColumnName = $strValue;
但在 PHP 5.2 需改成需改成:
$arrDatas = $objColumn->Datas;
$arrDatas[$strLang]->$strColumnName = $strValue;
Comments