Parse error: syntax error, unexpected 'new' (T_NEW) in /home/lament/public_html/apple/wp-content/plugins/exec-php/exec-php.php on line 22

Fatal error: Uncaught Error: Call to undefined function ereg() in /home/lament/public_html/apple/wp-content/plugins/bdprt/bdp-referral.php:639 Stack trace: #0 /home/lament/public_html/apple/wp-includes/plugin.php(524): BDPRT::recordhit('') #1 /home/lament/public_html/apple/wp-includes/load.php(671): do_action('shutdown') #2 [internal function]: shutdown_action_hook() #3 {main} thrown in /home/lament/public_html/apple/wp-content/plugins/bdprt/bdp-referral.php on line 639