After emerging dev-lang/php-5.3.5-r1 there's no php_embed.h file present. Reproducible: Always
Created attachment 265715 [details] Build log file
An emerge --info php would also be useful.
Created attachment 265841 [details] Output of emerge --info php
It seems like the header file does not get installed if one also installs the cli sapi. I will look into the issue.
I made sure embed is the first sapi built if selected. That should take care of this problem. Fixed in dev-lang/php-5.3.6_rc3. 5.3.6 final should be released tomorrow.