September 2017
Intermediate to advanced
244 pages
6h 44m
English
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The randGen() method takes two parameters defining the range of the returned value."
A block of code is set as follows:
<?phpfunction add($num1, $num2):int{ return ($num1+$num2);}echo add(2,4); //6echo add(2.5,4); //6
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<?phpfunction add($num1, $num2):int{ return ($num1+$num2); ...Read now
Unlock full access