Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
echo +"0123459", "\n"; // prints 123459
|
||||
echo intval("0123459"), "\n"; // prints 123459
|
||||
echo hexdec("abcf123"), "\n"; // prints 180154659
|
||||
echo octdec("7651"), "\n"; // prints 4009
|
||||
echo bindec("101011001"), "\n"; // prints 345
|
||||
?>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
echo intval("123459", 0), "\n"; // prints 123459
|
||||
echo intval("0xabcf123", 0), "\n"; // prints 180154659
|
||||
echo intval("07651", 0), "\n"; // prints 4009
|
||||
?>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
echo +"0xabcf123", "\n"; // prints 180154659
|
||||
# This does not work for octals, however:
|
||||
echo +"07651", "\n"; // prints 7651
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue