السلام عليكــم ورحمـة الله وبركاتــه
اليوم في زيارة لي لموقع php.net ,جدت أنهم قاموا بطرح المفسر PHP 5.3 ،الغريب أني زرت الموقع البارحة و لم أجد هذا الخبر جديد و لكن اليوم أجده تحت تاريخ 24 مارس 2009 !
هذه بعض التحسينات التي صدرت في هذه النسخة ،الترجمة رديئة إضافة أني لم أضع كل شيء و ذلك لكبر الصفحات .
دعم أسماء الفضائات .
تحسين الأداء .
زيادة و تغيير في قواعد اللغة (NOWDOC,__callStatic(),ternary short cut "?:",goto).
إضافة mysqlnd التي ستكون بديل للمكتبة libmysql (المكتبة linysql تسمح لسكربتك بالإتصال بقواعد البيانات).
تحسين الدعم للوندوز و هذا بتوفير نسخ PHP مترجمة تحت VC6 و VC9 .
تقريب أكثر للأعداد العشرية .
رسائل الخطأ الناجمة من السكربت يتم التحكم فيها من طرف E_DEPRECATED .
ميزات جديدة يمكن التحكم فيها من طرف الملف php.ini .
إضفات جديدة extention) :(phar, intl, fileinfo, sqlite3, enchant .
إضافة تحسينات منها أمنية : openssl,spl,date
حذف بعض الإضافات : mhash , msql, pspell, sybase .
نقل بعض الإضافات إلى الحزمة PECL : ming, fbsql, ncurses, fdf
حذف التوجيه zend.ze1_compatibility_mode .
ملاحظة :
اقتباسSeveral enhancements to enable more flexiblity in php.ini (and ini parsing in general)
الهدف من هذه تمكين كل دومين أو دومين فرعي التحكم في الdirective الخاصة بphp.ini بما يناسبه مثل خاصية virtual host الموجودة في apache .
مثال :
[HOST=sub.arabteam2000-forum.com]
error_reporting = E_ALL
display_errors = On
هذه ستسمح بإظهار رسائل الخطأ الدومين sub.arabteam2000-forum.com
[HOST=sub.arabteam2000-forum.com]
error_reporting = E_ALL
display_errors = Off
هذه لن تسمه بإظهار أي رسالة خطأ رغم أن كلا من الموقعين على إستضافة واحدة .
معلومات من الموقع الرسمي :
اقتباسSupport for namespaces ** Under the hood performance improvements
* Late static binding
* Lambda functions and closures
* Syntax additions: NOWDOC, limited GOTO, ternary short cut "?:" and __callStatic()
* Optional garbage collection for cyclic references
* Optional mysqlnd PHP native replacement for libmysql
* Improved windows support including VC6 and VC9 binaries
* More consistent float rounding
* Deprecation notices are now handle via E_DEPRECATED (part of E_ALL) instead of the E_STRICT error level
* Several enhancements to enable more flexiblity in php.ini (and ini parsing in general)
* New bundled extensions: ext/phar, ext/intl, ext/fileinfo, ext/sqlite3, ext/enchant
* Countless bug fixes and improvements to existing extensions in particular to: ext/openssl, ext/spl and ext/date
This release also drops several extensions and unifies usage of internal APIs. Users should be aware of the following known backwards compatibility breaks:
* Parameter parsing API unification will cause some functions to behave more or less strict when it comes to type juggling
* Removed the following extensions: ext/mhash (see ext/hash), ext/msql, ext/pspell (see ext/enchant), ext/sybase (see ext/sybase_ct)
* Moved the following extensions to PECL: ext/ming, ext/fbsql, ext/ncurses, ext/fdf
* Removed zend.ze1_compatibility_mode
* See the upgrading guide for other minor changes
المصدر : php.net
