Viewing File: /opt/alt/tests/alt-php81-diseval_0.2-3.el8/tests/fail4-eval-from-var.phpt

--TEST--
Test if eval() is disabled with code from variable
--SKIPIF--
--FILE--
<?php
$code = 'echo "Hello from eval!";';
eval($code);
--EXPECTF--
%SFatal error: DISEVAL - Use of eval is forbidden in %s
Back to Directory File Manager
<