Hi,

Running the code below, shows an errror in line 2 as expected.
How do i get the linenumber of the function call? 3 here.

<?
function test($x){if($x!='a')trigger_error('error: call test with argument 1 
equals a',E_USER_ERROR);}
test('b');
?>

Best regards,

Bas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to