मुख्य कंटेंट तक स्किप करें

21 docs tagged with "php"

सारे टैग देखें

Arrays in php

Arrays in php store multiple values in a single variable. Learn indexed arrays, multidimensional arrays, and common array functions.

Associative Arrays in php

Associative arrays in php use named keys instead of numeric indexes. Learn how to create, access, loop, and manipulate them.

Classes and Objects in php

Object-Oriented Programming in php. Learn how to define classes, create objects, use constructors, properties, and methods.

Control Statements in php

Control statements in php allow you to control the flow of execution using if, else, elseif, switch, and match expressions.

Data Types in php

php supports several data types including strings, integers, floats, booleans, arrays, objects, NULL, and resources.

Exception Handling in php

Learn how to handle errors and exceptions in php using try, catch, finally, throw, and custom exception classes.

File Handling in php

Learn how to create, read, write, append, and delete files in php using built-in file functions.

Forms and User Input in php

Learn how to handle HTML forms in php using GET and POST methods, validate input, and prevent common security vulnerabilities.

Functions in php

Functions in php are blocks of reusable code. Learn how to create, call, and use parameters, return values, and built-in functions.

Inheritance in php

Inheritance allows a class to reuse properties and methods of another class. Learn single inheritance, method overriding, and the parent keyword in php.

Interfaces and Traits in php

Learn how to use interfaces and traits in php to implement contracts, share reusable methods, and work around single inheritance limitations.

Introduction to php

php is a popular general-purpose scripting language especially suited to web development. It is fast, flexible, and pragmatic.

Loops in php

php loops execute a block of code repeatedly. Learn while, do-while, for, and foreach loops with examples.

Namespaces in php

php namespaces allow you to organize code and avoid name collisions. Learn how to define, use, and alias namespaces in php.

Operators in php

php operators are used to perform operations on variables and values. Learn arithmetic, assignment, comparison, logical, string, and more operators.

php OOP Best Practices

Learn best practices for writing clean, maintainable, and scalable object-oriented php code including SOLID principles, design patterns, and more.

Sessions and Cookies in php

Sessions and cookies allow php to persist data across multiple pages. Learn how to create, read, update, and delete sessions and cookies.

Strings in php

Learn how to work with strings in php including string functions, formatting, searching, replacing, and manipulation techniques.

Superglobals in php

php superglobals are built-in variables available in all scopes. Learn about $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and more.