0% found this document useful (0 votes)
8 views3 pages

Lab 3 - PHP Function Array

The document provides instructions for practicing PHP functions and arrays by creating PHP files and executing code. Users are required to run specific code snippets, capture the output as screenshots, and compile them for submission. It emphasizes hands-on learning through practical coding exercises.

Uploaded by

haxim.2mars
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Lab 3 - PHP Function Array

The document provides instructions for practicing PHP functions and arrays by creating PHP files and executing code. Users are required to run specific code snippets, capture the output as screenshots, and compile them for submission. It emphasizes hands-on learning through practical coding exercises.

Uploaded by

haxim.2mars
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

PHP Functions and Arrays

Refer to the slide in Week 1 – Introduction to PHP.

In this note, you can practically do the code and execute them to see how
some functions and arrays are used in PHP.

Run the following code and screenshot all the output.

1. Create a php file that have the following function. What is the
output?

Output:
2. Create a php file to test the following array code. Show the output.

Output:
You have learned to code functions and arrays in

PHP. Now, compile the screenshots and submit

them in iTel.

You might also like