in reply to Perl to PHP

Perl can't call PHP directly, so the answer is dependant on the glue you use to allow the two to interface. You'll have to specify what you use.

It's definitely possible to pass some values back and forth and assign those values to variables. It might not be possible to pass other values such as coderefs, regexps, globs, dualvars, blessed, etc.