from .php_executor import PHPExecutor
from dmoj.judgeenv import env


class Executor(PHPExecutor):
    name = 'PHP7'
    command = env['runtime'].get('php7')
    fs = ['.*\.so', '/etc/localtime$', '.*\.ini$']


initialize = Executor.initialize

from .php_executor import PHPExecutor
from dmoj.judgeenv import env


class Executor(PHPExecutor):
    name = 'PHP7'
    command = env['runtime'].get('php7')
    fs = ['.*\.so', '/etc/localtime$', '.*\.ini$', '/dev/urandom$']


initialize = Executor.initialize

Allow /dev/urandom for PHP 7
Allow /dev/urandom for PHP 7