May 2017
Intermediate to advanced
340 pages
8h 16m
English
Now, we will check some of the built-in functionalities of PHP that solves lots of our algorithmic implementation required for day-to-day operations. We can categorize these functions into mathematics, string, cryptography and hashing, sorting, searching, and so on. We will explore the base conversion algorithms now:
$baseNumber = "123456754"; $newNumber = base_convert($baseNumber, 8, 16); echo $newNumber;
This will produce the following output:
14e5dec ...
Read now
Unlock full access