25 lines
524 B
Plaintext
25 lines
524 B
Plaintext
Just as pain is your body's way of telling you something is wrong, errors are PHP's way of telling you there's something you need to fix. Neither pain, nor PHP errors should be ignored.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
@doSomethingDangerous($password); // Noncompliant; '@' silences errors from function call
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
doSomethingDangerous($password);
|
|
----
|
|
|
|
|
|
|
|
ifdef::rspecator-view[]
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::rspecator-view[]
|