Notice: Only variables should be passed by reference in D:\vhosts\stp.com.br\httpdocs\2014\inc\header.php on line 6

Fatal error: Uncaught Error: Call to undefined function ereg() in D:\vhosts\stp.com.br\httpdocs\2014\_class\comum.php:26 Stack trace: #0 D:\vhosts\stp.com.br\httpdocs\2014\_class\distribuidores_site.php(4): comum->init() #1 D:\vhosts\stp.com.br\httpdocs\2014\portal\distribuidores.php(41): distribuidores_uf->distribuidores_uf() #2 {main} thrown in D:\vhosts\stp.com.br\httpdocs\2014\_class\comum.php on line 26