Question: PHP Function Make a PHP Function named firstof3strings() that given three String arguments it returns the String that alphabetically precedes or is equal to the
PHP Function
Make a PHP Function named firstof3strings() that given three String arguments it returns the String that alphabetically precedes or is equal to the other two string arguments.
// firstOf3Strings("a", "b", "c") returns "a" // firstOf3Strings("X", "b", "c") returns "X" // firstOf3Strings("123", "1232", "123 0") returns "123" Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
