Jump to content

Archived

This topic is now archived and is closed to further replies.

Ninjakreborn

what does this mean

Recommended Posts

"Although most numbers in PHP are entered in using decimal (base 10), you may also specify them in hexadecimal (base 16) or octal (base 8)."
what does that mean specifically.

Share this post


Link to post
Share on other sites
It simply means you can use hex or octal in your scripts anyways. For example:

$var = 0xff;

Is the same thing as:

$var = 255

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.