[{"data":1,"prerenderedAt":454},["ShallowReactive",2],{"content-all-\u002Fphp\u002Fphp-fundamental\u002Fintroduction":3,"related-\u002Fphp\u002Fphp-fundamental\u002Fintroduction":173,"sidebar-content":402},[4],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"tags":11,"date":15,"weight":16,"body":17,"_type":167,"_id":168,"_source":169,"_file":170,"_stem":171,"_extension":172},"\u002Fphp\u002Fphp-fundamental\u002Fintroduction","php-fundamental",false,"","PHP Introduction","An introduction to PHP programming language and its fundamentals",[12,13,14],"php","backend","introduction","2026-05-30",1,{"type":18,"children":19,"toc":158},"root",[20,29,35,42,98,104,147,153],{"type":21,"tag":22,"props":23,"children":25},"element","h2",{"id":24},"introduction-to-php",[26],{"type":27,"value":28},"text","Introduction to PHP",{"type":21,"tag":30,"props":31,"children":32},"p",{},[33],{"type":27,"value":34},"PHP (Hypertext Preprocessor) is a widely-used open-source server-side scripting language that is especially suited for web development. It was created by Rasmus Lerdorf in 1994 and has since evolved into a powerful language used by millions of developers worldwide. PHP is known for its simplicity, flexibility, and ability to integrate seamlessly with various databases and web technologies.",{"type":21,"tag":36,"props":37,"children":39},"h3",{"id":38},"key-features-of-php",[40],{"type":27,"value":41},"Key Features of PHP",{"type":21,"tag":43,"props":44,"children":45},"ul",{},[46,58,68,78,88],{"type":21,"tag":47,"props":48,"children":49},"li",{},[50,56],{"type":21,"tag":51,"props":52,"children":53},"strong",{},[54],{"type":27,"value":55},"Server-Side Scripting",{"type":27,"value":57},": PHP is executed on the server, allowing developers to create dynamic web pages that can interact with databases and handle user input.",{"type":21,"tag":47,"props":59,"children":60},{},[61,66],{"type":21,"tag":51,"props":62,"children":63},{},[64],{"type":27,"value":65},"Cross-Platform Compatibility",{"type":27,"value":67},": PHP can run on various operating systems, including Windows, Linux, and macOS, making it a versatile choice for web development.",{"type":21,"tag":47,"props":69,"children":70},{},[71,76],{"type":21,"tag":51,"props":72,"children":73},{},[74],{"type":27,"value":75},"Wide Database Support",{"type":27,"value":77},": PHP supports a wide range of databases, including MySQL, PostgreSQL, SQLite, and more, allowing developers to easily manage data in their applications.",{"type":21,"tag":47,"props":79,"children":80},{},[81,86],{"type":21,"tag":51,"props":82,"children":83},{},[84],{"type":27,"value":85},"Large Community and Ecosystem",{"type":27,"value":87},": PHP has a large and active community that contributes to a vast ecosystem of libraries, frameworks, and tools, making it easier for developers to build robust applications.",{"type":21,"tag":47,"props":89,"children":90},{},[91,96],{"type":21,"tag":51,"props":92,"children":93},{},[94],{"type":27,"value":95},"Easy to Learn",{"type":27,"value":97},": PHP has a simple syntax that is easy for beginners to grasp, making it an excellent choice for those new to programming.",{"type":21,"tag":36,"props":99,"children":101},{"id":100},"common-use-cases-for-php",[102],{"type":27,"value":103},"Common Use Cases for PHP",{"type":21,"tag":43,"props":105,"children":106},{},[107,117,127,137],{"type":21,"tag":47,"props":108,"children":109},{},[110,115],{"type":21,"tag":51,"props":111,"children":112},{},[113],{"type":27,"value":114},"Web Development",{"type":27,"value":116},": PHP is primarily used for building dynamic websites and web applications. It can be embedded directly into HTML, making it easy to create interactive and dynamic web pages.",{"type":21,"tag":47,"props":118,"children":119},{},[120,125],{"type":21,"tag":51,"props":121,"children":122},{},[123],{"type":27,"value":124},"Content Management Systems (CMS)",{"type":27,"value":126},": Many popular CMS platforms, such as WordPress, Joomla, and Drupal, are built using PHP, allowing users to create and manage websites without extensive coding knowledge.",{"type":21,"tag":47,"props":128,"children":129},{},[130,135],{"type":21,"tag":51,"props":131,"children":132},{},[133],{"type":27,"value":134},"E-commerce Platforms",{"type":27,"value":136},": PHP is commonly used to develop e-commerce platforms like Magento and WooCommerce, providing robust solutions for online stores.",{"type":21,"tag":47,"props":138,"children":139},{},[140,145],{"type":21,"tag":51,"props":141,"children":142},{},[143],{"type":27,"value":144},"API Development",{"type":27,"value":146},": PHP can be used to create RESTful APIs that allow different applications to communicate with each other, making it a popular choice for backend development.",{"type":21,"tag":36,"props":148,"children":150},{"id":149},"conclusion",[151],{"type":27,"value":152},"Conclusion",{"type":21,"tag":30,"props":154,"children":155},{},[156],{"type":27,"value":157},"PHP is a powerful and versatile language that continues to be a popular choice for web development. Its ease of use, wide range of features, and strong community support make it an excellent option for both beginners and experienced developers looking to build dynamic web applications. Whether you're creating a simple website or a complex web application, PHP provides the tools and capabilities needed to bring your ideas to life.",{"title":8,"searchDepth":159,"depth":159,"links":160},3,[161],{"id":24,"depth":162,"text":28,"children":163},2,[164,165,166],{"id":38,"depth":159,"text":41},{"id":100,"depth":159,"text":103},{"id":149,"depth":159,"text":152},"markdown","content:php:php-fundamental:introduction.md","content","php\u002Fphp-fundamental\u002Fintroduction.md","php\u002Fphp-fundamental\u002Fintroduction","md",[174,182,190,195,201,210,215,220,225,230,235,244,250,255,260,265,270,275,281,289,297,302,309,314,321,327,333,341,347,353,360,366,373,385,391,396],{"_path":175,"title":176,"description":177,"tags":178,"date":181},"\u002Fcpp","C++ \u002F CPP","C++ notes, snippets, and references",[179,180],"cpp","c++","2026-05-05",{"_path":183,"title":184,"description":185,"tags":186,"date":189},"\u002Fdata-structure-algorithm\u002Farray-manipulation\u002Ffor-looping","For Looping in Python","Using for loops to manipulate arrays in Python.",[187,13,188],"python","arrays","2026-03-18",{"_path":191,"title":192,"description":193,"tags":194,"date":189},"\u002Fdata-structure-algorithm\u002Farray-manipulation\u002Fwhile-looping","While Looping in Python","Using while loops to manipulate arrays in Python.",[187,13,188],{"_path":196,"title":197,"description":198,"tags":199,"date":200},"\u002Fdata-structure-algorithm\u002Fassignments","Assignments","Assignments in Python for competitive programming.",[187,13],"2026-04-10",{"_path":202,"title":203,"description":204,"tags":205,"date":209},"\u002Fdata-structure-algorithm\u002Fbuzzword","Buzzword List DSA","Common terms and concepts in data structures and algorithms.",[206,207,208],"dsa","algorithms","data-structures","2026-04-03",{"_path":211,"title":212,"description":213,"tags":214,"date":200},"\u002Fdata-structure-algorithm\u002Fdata-type","Data Types","Data types in Python for competitive programming.",[187,13],{"_path":216,"title":217,"description":218,"tags":219,"date":200},"\u002Fdata-structure-algorithm\u002Fhash-map","Hash Map","Hash map implementation in Python for competitive programming.",[187,13],{"_path":221,"title":222,"description":223,"tags":224,"date":200},"\u002Fdata-structure-algorithm\u002Finput-output","Input and Output","Handling input and output in Python for competitive programming.",[187,13],{"_path":226,"title":227,"description":228,"tags":229,"date":189},"\u002Fdata-structure-algorithm\u002Fmath-library\u002Fsum","Sum Elements","Using for loops to sum elements in Python.",[187,13,188],{"_path":231,"title":232,"description":233,"tags":234,"date":189},"\u002Fdata-structure-algorithm\u002Fmath-library\u002Fsummary","Summary","Summary of the math library in Python.",[187,13,188],{"_path":236,"title":237,"description":238,"tags":239,"date":243},"\u002Fdocker\u002Fcheat-sheets","Docker Cheat Sheets","Cheat sheets for frequently used Docker commands and concepts",[240,241,242],"docker","devops","infrastructure","2026-05-01",{"_path":245,"title":246,"description":247,"tags":248,"date":249},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-container","Docker Container","Introduction to Docker containers and their usage",[240,241,242],"2026-03-12",{"_path":251,"title":252,"description":253,"tags":254,"date":249},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-execution","Docker Execution","Introduction to Docker execution and their usage",[240,241,242],{"_path":256,"title":257,"description":258,"tags":259,"date":249},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-image","Docker Image","Introduction to Docker images and their usage",[240,241,242],{"_path":261,"title":262,"description":263,"tags":264,"date":249},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-logging","Docker Logging","Introduction to Docker logging and their usage",[240,241,242],{"_path":266,"title":267,"description":268,"tags":269,"date":249},"\u002Fdocker\u002Fdocker-prerequisites\u002Fdocker-installation","Docker Installation","Introduction to Docker installation and their usage",[240,241,242],{"_path":271,"title":272,"description":273,"tags":274,"date":249},"\u002Fdocker\u002Fresources","Docker Resources","Collection of Docker resources for learning and reference",[240,241,242],{"_path":276,"title":277,"description":278,"tags":279,"date":181},"\u002Fjava","Java","Java notes, snippets, and references",[280],"java",{"_path":282,"title":283,"description":284,"tags":285,"date":249},"\u002Fjavascript\u002Fpromises","Promise Patterns","Common JavaScript promise patterns and async\u002Fawait usage",[286,287,288],"javascript","frontend","async",{"_path":290,"title":291,"description":292,"tags":293,"date":181},"\u002Fjenkins","Jenkins","Jenkins notes, snippets, and references",[294,295,296],"jenkins","ci","cd",{"_path":298,"title":299,"description":300,"tags":301,"date":189},"\u002Fphp\u002Farrays","PHP Array Functions","Essential PHP array functions and patterns",[12,13,188],{"_path":303,"title":304,"description":305,"tags":306,"date":308},"\u002Fphp\u002Fpatterns\u002Fsingleton","Singleton Pattern","Implementing the singleton pattern in PHP",[12,307,13],"patterns","2026-03-13",{"_path":310,"title":311,"description":312,"tags":313,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Farray-map","PHP Array and Map","Essential PHP array and map functions and their usage",[12,13,188],{"_path":315,"title":316,"description":317,"tags":318,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fcasting-convertions","PHP Casting and Conversions","Learning about PHP casting and conversions",[12,13,319,320],"casting","conversions",{"_path":322,"title":323,"description":324,"tags":325,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fcomments","PHP Comments","Essential PHP comment operations",[12,13,326],"comments",{"_path":328,"title":329,"description":330,"tags":331,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fdatatypes","PHP Data Types","Essential PHP data types and their usage",[12,13,332],"data types",{"_path":334,"title":335,"description":336,"tags":337,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fexpression-statement-block","PHP Expressions, Statements, and Blocks","Essential PHP expressions, statements, and blocks",[12,13,338,339,340],"expressions","statements","blocks",{"_path":342,"title":343,"description":344,"tags":345,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fflow-control","PHP Flow Control","Essential PHP flow control structures and patterns",[12,13,346],"flow control",{"_path":348,"title":349,"description":350,"tags":351,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Ffunctions","PHP Functions","Essential PHP functions and their usage",[12,13,352],"functions",{"_path":354,"title":355,"description":356,"tags":357,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Finclude-require","PHP Include and Require","Understanding PHP include and require statements",[12,13,358,359],"include","require",{"_path":361,"title":362,"description":363,"tags":364,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Foperator","PHP Operators","Essential PHP operators and their usage",[12,13,365],"operators",{"_path":367,"title":368,"description":369,"tags":370,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Foutput-input","PHP Output & Input","Learning about PHP output and input methods",[12,13,371,372],"output","input",{"_path":374,"title":375,"description":376,"tags":377,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fvariables","PHP Variables","Essential PHP variables, constants, magic constants, and variable scope",[12,13,378,379,380,381,382,383,384],"variables","constants","magic constants","scope","global","local","static",{"_path":386,"title":387,"description":388,"tags":389,"date":390},"\u002Fphp\u002Freferences","PHP References (&)","Useful PHP reference snippets and patterns",[12,13],"2026-03-19",{"_path":392,"title":393,"description":394,"tags":395,"date":181},"\u002Fpython","Python","Python notes, snippets, and references",[187],{"_path":397,"title":398,"description":399,"tags":400,"date":181},"\u002Frust","Rust","Rust notes, snippets, and references",[401],"rust",[403,404,406,407,408,409,410,411,412,414,415,417,418,420,422,424,425,426,427,428,429,430,431,433,435,436,438,440,441,443,445,446,448,449,451,452,453],{"_path":175,"title":176,"weight":16},{"_path":183,"title":184,"weight":405},10,{"_path":191,"title":192,"weight":405},{"_path":196,"title":197,"weight":159},{"_path":202,"title":203,"weight":16},{"_path":211,"title":212,"weight":162},{"_path":216,"title":217,"weight":405},{"_path":221,"title":222,"weight":16},{"_path":226,"title":227,"weight":413},20,{"_path":231,"title":232,"weight":405},{"_path":236,"title":237,"weight":416},100,{"_path":245,"title":246,"weight":413},{"_path":251,"title":252,"weight":419},22,{"_path":256,"title":257,"weight":421},21,{"_path":261,"title":262,"weight":423},23,{"_path":266,"title":267,"weight":405},{"_path":271,"title":272,"weight":16},{"_path":276,"title":277,"weight":16},{"_path":282,"title":283},{"_path":290,"title":291,"weight":16},{"_path":298,"title":299,"weight":16},{"_path":303,"title":304},{"_path":310,"title":311,"weight":432},9,{"_path":315,"title":316,"weight":434},6,{"_path":322,"title":323,"weight":159},{"_path":328,"title":329,"weight":437},5,{"_path":334,"title":335,"weight":439},8,{"_path":342,"title":343,"weight":405},{"_path":348,"title":349,"weight":442},11,{"_path":354,"title":355,"weight":444},12,{"_path":5,"title":9,"weight":16},{"_path":361,"title":362,"weight":447},7,{"_path":367,"title":368,"weight":162},{"_path":374,"title":375,"weight":450},4,{"_path":386,"title":387,"weight":162},{"_path":392,"title":393,"weight":16},{"_path":397,"title":398,"weight":16},1780160028181]