#47465 [NEW]: Functions structure not working fine

From: Date: Fri, 20 Feb 2009 16:01:44 +0000
Subject: #47465 [NEW]: Functions structure not working fine
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134053@lists.php.net to get a copy of this message
From: mcs_sohail at yahoo dot com Operating system: windows and linux both PHP version: 5.2.8 PHP Bug Type: PHP options/info functions Bug description: Functions structure not working fine Description: ------------ functions in php are not working as they should perform. like i define a function function abc($param1,$param2){ // some code here echo "abc Function Calling"; } then i made a function call abc($temp_param1,$temp_param2,$temp_param3); It is calling the above function but i think it should show some errors. Reproduce code: --------------- function abc($param1,$param2){ // some code here } abc($temp_param1,$temp_param2,$temp_param3); Expected result: ---------------- It should show some errors. Actual result: -------------- it is showing abc Function Calling -- Edit bug report at http://bugs.php.net/?id=47465&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47465&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47465&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47465&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47465&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47465&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47465&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47465&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47465&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47465&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47465&r=support Expected behavior: http://bugs.php.net/fix.php?id=47465&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47465&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47465&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47465&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47465&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47465&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47465&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47465&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47465&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47465&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47465&r=mysqlcfg

« previous php.bugs (#134053) next »