From: [EMAIL PROTECTED] Operating system: inux, Solaris, NT, Win2000 PHP version: 4.3.0 PHP Bug Type: Feature/Change Request Bug description: Need function parameters as entered
When I write a function as xxx(1.0, 1.8); The function receives 1 and 1.8, not 1.0 and 1.8. I tried get_func_arg() and other tricks but the 1.0 is converted to int(1) before it available for processing. Could we have a language construct named: get_func_arg_untouched_virginal_string_as_entered() which keeps the parameter as a string? I need to keep some numeric data in the original input format so it can be verified as typed and passed to other systems in the original format. -- Edit bug report at http://bugs.php.net/?id=21537&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21537&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21537&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21537&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21537&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21537&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21537&r=support Expected behavior: http://bugs.php.net/fix.php?id=21537&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21537&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21537&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21537&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21537&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21537&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21537&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21537&r=gnused