Aliens School
Cinematic Knowledge Experience
0%
Aliens School
Now Playing
Aliens School · HIEN
⌨️ Keyboard Shortcuts
Next slide Previous slide SpacePlay / Pause MNarration on/off FFullscreen ?Show/hide this
Press any key to close
Skill Topic · Cinematic

PHP Static Properties

Version: v2.0.0 | Modified: 2026-03-25 Static properties class-level variables hain jo sab objects…

Overview
🌟

PHP Static Properties — Quick Facts

📌

Rule: Detail

🎯

`$this` nahi: Static me $this use nahi hota…

`self::$prop`: Same class me access karne ke liye

🔑

`static::$prop`: Late Static Binding -- inheritance…

Topic 1
📚

Static Property Kya Hai?

📚 Normal properties aur static properties me ek fundamental farak hai. Normal property har…
Topic 2
📥 ⚙️ 🔬 💡

Basic Static Property

💡 Sabse classic example hai object counter: kitne objects bane hain ek class ke. Har object…
Topic 3
🔒

Access Static Inside Class

🎯 Static properties ko class ke andar se self::$propertyName se access karte hain. Yeh…
Topic 4
📥 ⚙️ 🔬 💡

Object Counter Pattern

Object counter pattern static properties ka sabse common aur samajhne me easy use case…
Topic 5
📥 ⚙️ 🔬 💡

Static in Inheritance

🔑 Static properties inheritance me bhi interesting behavior dikhati hain. Yahaan bhi self::…
Topic 6
📥 ⚙️ 🔬 💡

Practical -- Registry Pattern

Registry pattern me ek central jagah pe services ya objects register karte ho aur jab…
Topic 7
🔒

Practical -- Cache Manager

🌟 Cache manager ek aur bahut practical use case hai static properties ka. Caching me data…
Topic 8
🚀

Static Property Rules

🚀 Static properties ke kuch important rules hain jo hamesha yaad rakhne chahiye. | Rule |…
Topic 9
📥 ⚙️ 🔬 💡

Summary

📚 Static properties PHP me class-level shared data store karne ka tareeqa hain. static…
Quick Quiz
🧠 QUIZ TIME

Quiz — Question 1

PHP Static Properties ka sabse sahi definition kya hai?

Quick Quiz
🧠 QUIZ TIME

Quiz — Question 2

PHP Static Properties ka '$this nahi' kya hai?

Complete! 🎉
COMPLETE

PHP Static Properties Complete!

Aliens School · HIEN · Cinematic Knowledge

PHP Static Properties Complete

1/14
0:00
REC 00:00ESC=Cancel
Aliens School
3
Recording shuru hone wali hai...
Recording Complete
Video process ho rahi hai...
Live Class
Slide 1 / 7
Timer
00:00
📝 Speaker Notes
⏭️ Up Next
🗂️ All Slides