include::../description.adoc[]

== Noncompliant Code Example

[source,php]
----
$data = $_GET["data"];
eval("echo \$data;");
----

== Compliant Solution

[source,php]
----
$data = $_GET["data"];
if (in_array($data, $whitelist)) {
  eval("echo \$data;");
}
----

include::../see.adoc[]
ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)

include::../message.adoc[]

include::../highlighting.adoc[]

endif::env-github,rspecator-view[]
