Skip to content

Tutorial KartTutorialKart

×
C++ Java PHP Python Kotlin Swift JavaScript Golang
  • PHP Tutorial
  • PHP Tutorial
  • PHP Install
  • PHP Hello World
  • PHP Variables
    • Check if variable is set
  • PHP Echo
  • PHP Datatypes
    • Boolean
    • Integer
    • Type Conversions
      • Convert string to int
      • Convert string to float
      • Convert string to boolean
      • Convert int to string
      • Convert int to float
    • Get type of variable
  • PHP Operators
    • Arithmetic
      • Addition
      • Subtraction
      • Multiplication
      • Division
      • Modulus
      • Exponentiation
    • Assignment
      • Simple Assignment
      • Addition Assignment
      • Subtraction Assignment
      • Multiplication Assignment
      • Division Assignment
      • Modulus Assignment
  • PHP Comments
  • PHP Conditional Statements
    • If
    • If Else
    • ElseIf
    • Switch
    • Python If AND
    • Python If OR
    • Python If NOT
  • PHP Loops
    • While Loop
    • For Loop
    • foreach
    • Nested foreach
  • PHP Functions
    • sizeof()
    • echo() vs print()
    • printf() vs sprintf()
  • PHP Strings
  • PHP String Operations
    • Basics
    • Create a string
    • Create empty string
    • Compare strings
    • Count number of words in string
    • Get ASCII value of a character
    • Iterate over characters of a string
    • Iterate over words of a string
    • Print string to console
    • String length
    • Substring of a string
    • Checks