If you're really interested in using PHP code in your Perl programs, you can use the PHP module.
But there is no "base" function in Perl, just the base pragma. And if you can actually cobble together working inheritence between Perl and PHP, I'd be very impressed. :)