You cannot enter php code into your wp content by entering it on the WP Admin area.
You can write php program files and use short codes to insert the content generated by your php program into your posts or pages, or custom tabs.
Or you may use “IM Front End Form Extension for ACF” plugin in the WordPress plugin directory, that can create shortcodes for your ACF forms. (I have not used it yet)
The shortcodes can be entered into custom tab fields in WooCommerce Custom Tabs Pro plugin.
I hope this information is useful to solve this problem.