Hi all, Sorry if this isn't an interesting feature for anyone else, but it would prove to be very useful for me. In the following test case:
<?php function output($line=__LINE__) { echo "Function called on line $line<br>"; } output(); output(); ?> The variable $line is calculated once as the start of the script (with $line always being "3") where as the desired effect would surely be for it to be calculated each time the function is called, with the output being "7" and "8" respectivly. Im guessing this is a feature of whatever handles the building / assigning of functions, but I really dont know the php / zend source well enough to say. How much work would one be looking at to alter this functionality? Are there any reasons why this hasnt already been done? Thanks again, -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php