PHP 8 Migration: Transitioning from Resources to Objects
Master the modern PHP type system by understanding how legacy resource types are replaced with robust, type-safe objects for cleaner and more maintainable code.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
As PHP continues to evolve, one of its most significant modern shifts is the systematic replacement of legacy resource types with standard objects. This transition improves type safety, enables better static analysis, and simplifies memory management, but it also requires a clear understanding of how your database connections, file handles, and XML parsers behave under the hood. This text-based course guides you through this architectural shift, helping you write modern, future-proof PHP code.
You will start with foundational concepts, learning exactly what resources were, why they are being phased out, and how the new object-oriented alternatives behave. Through clear written explanations and practical code examples, you will learn how to identify legacy patterns in your codebase and update them to use modern, type-safe objects.
What you'll learn:
- Understand the core differences between legacy resource types and modern PHP objects
- Identify which extensions and functions have transitioned to objects in recent PHP updates
- Apply type hinting and strict typing to newly objectified structures like CurlHandle and GdImage
- Refactor legacy database and file-handling code to utilize modern object-oriented APIs
- Debug and resolve common migration errors associated with resource-to-object conversions
- Implement modern PHP practices like static analysis and strict type safety in your migrated code
This course is designed for PHP developers who want to modernize their coding practices and prepare legacy applications for current and future PHP versions. No advanced object-oriented design experience is required, as we cover all foundational concepts step by step. Read on to bring your PHP development skills up to modern industry standards.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
3 ساعة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
🌟 اختيار الطلاب
🎓 بشهادة
بناء تطبيقات الويب الكاملة (Full-Stack) باستخدام Python و Django
شهادة
تطبيق عملي
SR 50.00
→
🎓 بشهادة
تطوير Laravel: بناء موقع بوابة إخبارية
شهادة
تطبيق عملي
SR 50.00
→
⚡ الأفضل للبداية
🎓 بشهادة
تطوير الويب القائم على المشاريع باستخدام PHP و MySQL
شهادة
تطبيق عملي
SR 50.00
→
💼 جاهز لسوق العمل
🎓 بشهادة
تطوير الويب باستخدام Laravel: بناء منصة إعلانات مبوبة
شهادة
تطبيق عملي
SR 50.00
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع