Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18400

STDERR vs Exception

From alex <1j9448a02@lnx159sneakemail.com.invalid>
Newsgroups comp.lang.php
Subject STDERR vs Exception
Date 2020-11-13 10:42 +0100
Organization Aioe.org NNTP Server
Message-ID <rolkdn$12ss$1@gioia.aioe.org> (permalink)

Show all headers | View raw


// EXAMPLE1
fwrite(STDERR, ...);
exit(...);

// EXAMPLE2
throw new \Exception(...);

In what situations to use EXAMPLE1 or EXAMPLE2?

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

STDERR vs Exception alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-11-13 10:42 +0100
  Re: STDERR vs Exception Jerry Stuckle <jstucklex@attglobal.net> - 2020-11-14 12:22 -0500
    Re: STDERR vs Exception alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-11-15 10:21 +0100

csiph-web