Ferenc Kovacs wrote:

you write your code where you copypaste the default value
some time passes
somebody changes the default value in the called function definition
your code now calls the function with a non-default value.

Actually THAT is a problem I've hit in reverse! Some bugger changing the default in a library without understanding the consequences! In which case the fix was to put in the 'default' I wanted ... this works either way, but I could at least see in the IDE that the default had been changed so tracing it did not take as long as it could have.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to