``++include_once++`` and ``++include++`` only generate a warning if an error occurs during the operation. Because of this they should only be used after possible error conditions have been checked.


== Noncompliant Code Example

----
include_once $user.'_history.php'; // Noncompliant
----


== Compliant Solution

----
if (is_member($user)) {
  include_once $user.'_history.php';
}
----



ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]
