Code: Select all
<?php
function doSomething($withThis){
// Do something $withThis
// ... for example - convert it to a string and echo it
}
?>Code: Select all
<?php
doSomething(1234567890123456789012345678901234567890);
?>I want to convert the variable to a string and have PHP echo "1234567890123456789012345678901234567890", not scientific notation.
Oh, doSomething("1234567890...") with quotes is not an option, it has to be called without quotes if possible. You must be thinking: "Why in the hell is he trying to do that?"
Thanks for the help!