The $__LINE__ variable contains the current source script or module line number. Added in version 6.
$__LINE__