نقل قول :منم با آقای مخلصی موافقم زیاد باهاش موافق نیستم. در ضمن اگر قرار بود تغییری اعمال بشه باید توی نسخه ۶ اعمال میشد که نشده.
من Documention درست حسابی از php 6 ندیدم که بشه بگیم . هیچ تغییری نمی کنه
شما داری ؟ به منم معرفی کنی؟
نقل قول :The register_globals, safe_mode and the various magic quotes options will be removed.
The ereg extension is removed, while the XMLReader, XMLWriter and Fileinfo extensions are added to the core, and by default are on.
Another addition I find particularly exciting is that APC (Alternative PHP Cache) will be added to the core, though will be off by default. APC can provide serious performance benefits.
All E_STRICT messages will be merged into E_ALL, another positive change that will encourage good programming practice.
ASP style <% tags will no longer be supported.
Addition of a new 64-bit integers. The current integer type remains as is, 32 or 64-bit dependent on the platform.
Use of foreach with multi-dimensional arrays, for example foreach($array as $k => list($a, $b)).
A new switch in php.ini will allow you to disable Unicode semantics (by default they will be on).
There will also be various string improvements related to Unicode.
The microtime() function will return the full floating point number, rather than microseconds unix_timestamp, as at present, probably making the function more readily useful for most people.
The {} notation for string indexes will no longer be supported, while the [] version will get added substr() and array_slice() functionality. Previously [] was deprecated, but most developers, including myself, seem to use [].
FastCGI will always be enabled for the CGI SAPI, and will not be able to be disabled.
The ancient HTTP_*_VARS globals will no longer be supported. Everyone should have had more than enough time to remove any traces of these.
var will alias public. var was permitted with PHP4 classes, but in PHP 5 this raised a warning. In PHP 6 var will simply be an alias for public, so no warning is necessary.
The ze1 compatibility mode, which tried to retain PHP 4 behaviour but had some bugs, will be removed.
Dynamic functions will no longer be permitted to be called with static syntax.
در حال حاظر این مطالب رو در مورد php 6 دیدم و ... چندین مطالب . تیکه تیکه در جای مختلف
فکر نکنم این تمامی امکانات نسخه جدید باشه
نقل قول :من توی مثال چند ریختی رو مثال زدم توجه نکردید؟
توی جاوا چه کاربردهایی رو داریم؟ لطفا مثال بزنید چون حقیقتا نمی دونم
نه دقت نکردم . برسی می کنم مرسی
در جاوا کاربرد Interface به این صورته
اول دکتر گوگل
http://www.google.com/search?hl=en&q=jav...f&aqi=&oq=
و دوم
1 . یکی از قابلیت مشخص interface ها در جاوا اینه که به چندین صورت مختلف و جالب این امکان رو فراهم میکنه که بین
چند کلاس ارتباط برقرار کرد
(برای مثال به یک صفت دسترسی پیدا کرد )
2 . فرض کنیم 2 تا کلاس داریم .
کلاس A و کلاس B
حالا کلاس A رو به B
extends می کنیم
و بعد سعی می کنیم به یکی از متد های کلاس B دسترسی داشته باشیم
که متدی با همین نام در کلاس A هم وجود داره . در اینجاست که به وسیله interface میشه
وضعیت رو کنترل کرد
3. در جاوا میشه . در یک کلاس چند متد . با یک نام تعریف کرد به شرطی که
یک متد . تعداد آرگومان ها یا نوعش با هر متد دیگه متفاوت باشه
در چنین شرایطی اگر 2 کلاس به هم Extends
بشن . مشکلاتی پیش میاد که با interface قابل حل است
4 . میشه با متصل کردن یک interface به 2 کلاس . بین آنها ارتباط بر قرار کرد
و ... خیلی شرایط حساس و پیچیده که . مربوط به Over loadding
میشه