Core PHP

Functions in PHP

  • Built-in Functions
  • Reading Documentation
  • User - Defined Functions Syntax
  • Returning Values
  • Default Values to parameters
  • Scope of the variables in PHP
  • Pass By Value vs Reference
  • Anonymous Functions
  • Include vs Require
  • Programs:
    • Hello Username
    • Create a function to add 2 numbers and return value
    • Explanation of scope increment global variable
    • Swapping Two variables using references
    • Factorial recursion program
  • Assignment:
    • Find the remainder of division
    • Create a function to check maximum of 3 numbers passed
    • Program to add n natural numbers
    • Lottery - Check if the number in a variable and random number matches
    • Design add which adds two numbers from global scope
Control Struture (Prev Lesson)
(Next Lesson) Array in PHP
Back to Core PHP

No Review

Post a Review

Course Curriculum

Thank you for contacting us !

Our Team will get in touch with you soon or call 8097057778 now to get answer for all your queries !

Like Our Facebook page to be up to date in industry !