99 of 100 menu

PHP Taskbook Level 10.9

Given a text. Write a program that will format this text so that there are no more than 70 characters in a line of text, and then there is a line break. The words should not be broken.

Given a text containing some CSS code, write a script that will highlight the syntax of this code.

Display a square calendar for the current month. The current day and weekends should be highlighted in separate colors.

Given an arbitrary two-dimensional array:

[ [11, 12, 13], [21, 22, 23], [31, 32, 33], ]

Another one-dimensional array is given:

[ 14, 24, 34 ]

Write code that will add our one-dimensional array as a column of our two-dimensional one:

[ [11, 12, 13, 14], [21, 22, 23, 24], [31, 32, 33, 34], ]
hisvswbnhy