Source: alt-php70-diseval
Section: php
Priority: optional
Maintainer: Ilya Voyskovsky <ivoyskovsky@cloudlinux.com>
Build-Depends: debhelper (>=9),
               alt-php70-dev,
               autoconf,
               pkg-config,
Standards-Version: 3.9.6
Homepage: http://pecl.php.net/


Package: alt-php70-diseval
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: The purpose of the diseval php extension is to disable eval in php.
 .
 When this php extension is enabled, the following will yield PHP Errors:
 .
 > eval("echo 44;"); 
 PHP Fatal error: DISEVAL - Use of eval is forbidden in /path/to/script.php(4) : eval()'d code on line 1
 .
 > $newfunc = create_function('$a,$b', 'return $a+$b;');
 PHP Fatal error: DISEVAL - Use of eval is forbidden in /path/to/script.php(4) : runtime-created function on line 1
 .
 > echo mb_ereg_replace("[0-3]", '4*4', "4434","e" );
 PHP Fatal error: DISEVAL - Use of eval is forbidden in /path/to/script.php(4) : mbregex replace on line 1
 .
 > assert('is_array(15)');
 PHP Fatal error: DISEVAL - Use of eval is forbidden in /path/to/script.php(4) : assert code on line 1

Package: alt-php70-diseval-tests
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
               alt-php70-diseval
Description: The alt-php70-diseval-tests package contains the unit tests from the tarball
