🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.php
1 messages
1 total messages Started by rozgloszenia Mon, 05 Oct 2015 09:56
error_reporting a testowanie (newbie)
#231160
Author: rozgloszenia
Date: Mon, 05 Oct 2015 09:56
14 lines
1530 bytes
Uczę się PHP5. Nie pracowałem jeszcze jako programista PHP.

Framework CodeIgniter zawiera taki kod:
		case 'development':
			error_reporting(E_ALL);
		break;
	
		case 'testing':
		case 'production':
			error_reporting(0);
		break;

Ustawienia dla development i production są oczywiste, ale nie rozumiem dlaczego na testing mamy 0. Przecież podczas testów chcielibyśmy wyłapać jak najwięcej błędów.
Byłbym wdzięczny za wytłumaczenie.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads