DevStories
Topics Practice Interview Q&A
Sign In Get Started
PH

PHP Basics

4 lessons

Progress 0/4
b Variables & Data Types b Operators & Expressions b Strings & String Operations b Numbers & Math Operations
Back to Topics
PH

PHP Basics

Variables, data types, operators, strings, numbers — the foundation of PHP.

beginner 12 min

Variables & Data Types

Variables, data types, type casting, and variable scope in PHP.

beginner 10 min

Operators & Expressions

Arithmetic, comparison, logical, and assignment operators in PHP.

beginner 10 min

Strings & String Operations

String manipulation, concatenation, interpolation, and heredoc syntax.

beginner 8 min

Numbers & Math Operations

Integers, floats, mathematical functions, and number formatting.

DevStories

Master programming languages with interactive lessons, quizzes, and hands-on practice.

Learn

  • PHP
  • Laravel
  • Node.js
  • React

Resources

  • Practice Sets
  • Interview Q&A
  • Flashcards

Support

  • About Us
  • Privacy Policy
  • Terms of Service

© 2026 DevStories. All rights reserved.