HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Math Reference : Convert decimal to octal
The decoct() function converts a decimal number to an octal number.
Parameter | Description |
---|---|
number | Required. Specifies the decimal value to convert |
Return Value: | A string that contains the octal number of the decimal value |
---|---|
Return Type: | String |
PHP Version: | 4+ |
❮ PHP Math Reference