Re: idea: letting the line number and file name be set via user_error

From: Date: Tue, 07 May 2013 20:14:00 +0000
Subject: Re: idea: letting the line number and file name be set via user_error
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> If you do user_error('whatever') it'll show, as the line number for that
> error, the line number on which that user_error() call is made.  It'd be
> nice if you could control the line number and file name that was displayed.
> eg.

If you need additional information to accompany the error, why not add
it to the "whatever" string? This way you can control whatever is
displayed.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (20 messages)

« previous php.internals (#67358) next »