37 of 100 menu

PHP Taskbook Level 4.7

Make a function that will take a text with words as a parameter and return a text in which these words will be sorted in alphabetical order.

Create a function that takes two arrays as parameters and returns an array of their common elements.

Make a function that will return a random number. The function should not return the same number twice in a row.

Make a function that takes an array and an element as a parameter and returns the next element. See the example:

$arr = [1, 2, 3, 4, 5]; func($arr, 1); // 2 func($arr, 4); // 5 func($arr, 5); // 1
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline