Convert a hexadecimal number to octal number in PHP
Description
The following code shows how to convert a hexadecimal number to octal number.
Example
/*from w w w.j a v a 2 s. c o m*/
<?php
$hex = "E196";
echo base_convert($hex,16,8);
?>
The code above generates the following result.