Create the following functions in PHP. a) Create a function called sleepyCapitalizer to randomly capitalize any of the characters in the string. For example sleepyCapitalizer("love php") can return...


Create the following functions in PHP.<br>a) Create a function called sleepyCapitalizer to randomly capitalize any of the characters in the string.<br>For example sleepyCapitalizer(

Extracted text: Create the following functions in PHP. a) Create a function called sleepyCapitalizer to randomly capitalize any of the characters in the string. For example sleepyCapitalizer("love php") can return "LOve pHp", "LOVE b) Create function infoUni which takes the name of a university as input and returns the city and country in which the university is located. The details of the universities are stored in a file in the following format university name city country university name city country c) Create a function called swaplnOut that takes an array as input and exchanges the innermost elements with the arrays outermost elements. For example if the array is (2,3,4,5 if it is say (1,2,3,3,5,1) then the result is (3,2,1,1,5,3). The function should swap the elements if and only if the array contains an even number of elements otherwise the elements

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here