[SOLVED] Functions

25.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

In the folder create a web page using PHP, HTML5 and CSS with the following:

  • A function with two required and two defaulted parameters.
  • A function with two parameters passed by value and two parameters passed by reference.
  • The functions must output the arguments of a call to each function. Ensure that the differences between calling the functions with/without defaulted parameters and with parameters passed by value and reference are clearly identifiable in the output.
  • An object with at least three properties, get and set methods for each property and a method that combines (by concatenation or numeric expression) the properties.
  • Instantiate two instances of the object and output the properties of each instance through the get methods and the combination of the properties.
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.