Convert Octal String to Decimal Number using PHP

octdec function

<?php

$octalString = '50';
$decimalNumber = octdec($octalString);

echo $decimalNumber;

Leave a Comment

Cancel reply

Your email address will not be published.