E STRICT

E STRICT

E_STRICT is an option in the PHP programming language. If error checking is set to E_STRICT, PHP will follow a more rigid approach to error checking. An application that is E_STRICT compliant follows the rigid rules of E_STRICT. E_STRICT is one of the most rigid error-logging/warning settings available; it was introduced in PHP 5.

To use this option, a programmer would insert the following line near the beginning of a script [ [http://us3.php.net/error_reporting PHP: error_reporting - Manual ] ] :

error_reporting( E_STRICT );

The error_reporting function replaces all error reporting options, so this line would disable the other (E_NOTICE, E_WARN, etc). In fact, E_STRICT is most useful in combination with these; and as these are bitmask flags, you must bitwise-OR them together in order to combine them. A more useful line would therefore be

error_reporting( E_ALL | E_STRICT );

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • strict — strict, stricte [ strikt ] adj. • 1752, répandu XIXe; cf. strictement (1503); lat. strictus « serré, étroit; rigoureux » 1 ♦ Qui laisse très peu de liberté d action ou d interprétation. ⇒ astreignant, étroit. Morale stricte. Principes stricts. ⇒… …   Encyclopédie Universelle

  • Strict Baptist — Strict Baptists, also known as Particular Baptists, are people who believe in a strict Calvinist interpretation of Christian theology.HistoryGeneral and particularIn the early 17th century, Baptists in England developed along two different… …   Wikipedia

  • Strict constructionism — refers to a particular legal philosophy of judicial interpretation that limits or restricts judicial interpretation. In the United States the phrase is also commonly used more loosely as a generic term for conservativism among the judiciary.… …   Wikipedia

  • strict — STRICT, Ă, stricţi, te, adj. (Adesea adverbial) Care are un caracter absolut, care trebuie respectat, executat, aplicat în chip riguros, fără abatere, fără excepţie; p. ext. sever, aspru. ♢ expr. (Adverbial) (A fi) strict necesar = (a fi)… …   Dicționar Român

  • Strict scrutiny — is the most stringent standard of judicial review used by United States courts. It is part of the hierarchy of standards that courts use to weigh the government s interest against a constitutional right or principle. The lesser standards are… …   Wikipedia

  • strict´ness — strict «strihkt», adjective. 1. very careful in following a rule or in making others follow it: »Our teacher is strict but fair. 2. harsh; severe; stern: »strict discipline, strict justice. Cinderella s stepmother was very strict with her. 3.… …   Useful english dictionary

  • strict´ly — strict «strihkt», adjective. 1. very careful in following a rule or in making others follow it: »Our teacher is strict but fair. 2. harsh; severe; stern: »strict discipline, strict justice. Cinderella s stepmother was very strict with her. 3.… …   Useful english dictionary

  • Strict — Strict, a. [Compar. {Stricter}; superl. {Strictest}.] [L. strictus, p. p. of stringere to draw or bind tight, to strain. See {Strain}, and cf. {Strait}, a.] 1. Strained; drawn close; tight; as, a strict embrace; a strict ligature. Dryden. [1913… …   The Collaborative International Dictionary of English

  • strict liability — see liability 2b Merriam Webster’s Dictionary of Law. Merriam Webster. 1996. strict liability …   Law dictionary

  • strict — S3 [strıkt] adj comparative stricter superlative strictest [Date: 1400 1500; : Latin; Origin: strictus, past participle of stringere; STRINGENT] 1.) expecting people to obey rules or to do what you say ≠ ↑lenient ▪ a strict teacher stri …   Dictionary of contemporary English

  • strict — [ strıkt ] adjective ** 1. ) someone who is strict has definite rules that they expect people to obey completely: He s quite a strict coach, but we all like him. Dad s very strict with us about table manners. a ) strict rules or conditions must… …   Usage of the words and phrases in modern English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”