Changeset 12997
- Timestamp:
- 11/14/08 07:48:24 (8 months ago)
- Files:
-
- branches/1.1/lib/test/sfTestBrowser.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/test/sfTestBrowser.class.php
r9253 r12997 511 511 if (($errno & error_reporting()) == 0) 512 512 { 513 return ;513 return false; 514 514 } 515 515 … … 518 518 { 519 519 case E_WARNING: 520 throw new Exception(sprintf($msg, 'warning')); 520 $msg = printf($msg, 'warning'); 521 throw new Exception($msg); 521 522 break; 522 523 case E_NOTICE: 523 throw new Exception(sprintf($msg, 'notice')); 524 $msg = printf($msg, 'notice'); 525 throw new Exception(); 524 526 break; 525 527 case E_STRICT: 526 throw new Exception(sprintf($msg, 'strict')); 528 $msg = printf($msg, 'strict'); 529 throw new Exception($msg); 527 530 break; 528 531 case E_RECOVERABLE_ERROR: 529 throw new Exception(sprintf($msg, 'catchable')); 532 $msg = printf($msg, 'catchable'); 533 throw new Exception($msg); 530 534 break; 531 535 } 536 537 return false; 532 538 } 533 539

