النتائج 1 إلى 5 من 5

الموضوع: [ PHP 6 ] جهز نفسك لتغييرات هامة !

  1. #1
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2006
    المشاركات
    318

    [ PHP 6 ] جهز نفسك لتغييرات هامة !



    هلا شباب ,

    اليوم قرأت هذه المقالة على أحد المواقع التطويرية ,
    المقالة بعنوان " التغييرات المقبلة فى بى اتش بى 6 " و وددت مشاركتكم بها حتى نسمع آراءكم

    The PHP world is really excited about the upcoming release of PHP 6.0. Amongst all the uncertainties in any new release, PHP 6.0 seems to be getting rid of three of the earlier troublesome features: register_globals, magic_quotes_gpc and safe_mode. The first was a big security hole, the second messed with the data and made changing environments quite difficult, while the third was usually misread, and provided a false sense of security. There's also quite a lot of work scheduled to do with Unicode. Read more for some of the changes:

    * The register_globals, safe_mode and various 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 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.
    * The {} notation for string indexes will no longer be supported, while the [] version will get added to substr() and array_slice() functionality.
    * FastCGI will always be enabled for the CGI SAPI, and will not allow it to be disabled.
    * The ancient HTTP_*_VARS globals will no longer be supported.
    * 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 behavior but had some bugs, will be removed.
    * Dynamic functions will no longer be permitted, to be called with static syntax.


    There's a lot to be determined, namespaces being one of the more important, but it would take a while before we see the final product, but everyone’s excited the way it seems to be heading, and the progres
    صراحة التغييرات أقل ما توصف به أنها كبيرة , خذ على سبيل المثال حذف العمل بال register globals و الوضع الآمن و magic_quotes_gpc و زيادة دعم اليونيكود

    بالإضافة لتحسين طريقة عمل عدد من الدوال و تغييرات فى طريقة استدعاء البيانات

    خلينا نسمع رأى الخبراء حتى نعرف كيف هيكون المستقبل ..

    المقالة الأصلية : http://www.phphacks.com/content/view/49/33/

    سلامى





    __________________
    لاَ اِلَهَ اِلاَّ اَنْتَ سُبْحَانَكَ اِنِّي كُنْتُ مِنَ الظَّالِمِينَ


  2. #2
    عضو نشيط
    تاريخ التسجيل
    Sep 2006
    المشاركات
    202


    إنشاء خير و ما تسبب مزيد من المشاكل





    __________________
    webayu لحلول الإنترنت
    www.webayu.net

    لأول مرة في الإستضافات العربية.......الآن300000 ميغا بايت بسعر 6.99شهريا فقط ...

  3. #3
    عضو نشيط
    تاريخ التسجيل
    Sep 2006
    المشاركات
    83


    مشكوووور يالغلا على الخبر وإن شاء الله ماتسبب أي صعوبات أو مشاكل





    __________________
    رفيع العتيبي .. ستبقى في قلوبنا

    اللهم ابدله دارا خيرا من داره واهلا خيرا من اهله وادخله الجنة واعذه من عذاب القبر ومن عذاب النار .



  4. تعديل ممتاز و لكن ما زال الإستغناء عن register globals و الوضع الآمن و magic_quotes_gpc امر مبهم ما السبب يعني

    register globals و الوضع الآمن و magic_quotes_gpc* The register_globals, safe_mode and various quotes options will be removed.

    ركز على كلمة various quotes

    و لكن اغلبها ممتازه

    الله يجيب الي فيه الخير





    __________________
    سبحان الله و بحمده .... سبحان الله العظيم

    للمراسلة

  5. #5
    عضو فعال
    تاريخ التسجيل
    Apr 2004
    المشاركات
    1,479


    التعديلات اغلبها في المصلحه ولكن للمبرمجين اللي بيشتغلوا صح
    يعني مثلا
    register_globals
    كانت فعلا سبب في اختراق الكثير من المواقع لان المبرمجين بيستسهلوا انما دلوقت اصبحوا ملتزمين بكتابتها بالطريقه الصحيحه

    والHTTP_*_VARS كانت قديمه والناس كلها اتعودت علي الShortcut منها $_*[VAR]

    وان شاء الله خير وفي انتظارها علي فارغ الصبر





    __________________
    سبحان الله وبحمده .. سبحان الله العظيم
    المستضيفون العرب لخدمات ادارة السيرفرات





ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض