Hi On 10/13/23 00:39, Niels Dossche wrote:
Please let me know your thoughts.
What does calling ->registerPHPFunctions() do when it's called more than once? Will the existing allow-list be overwritten or amended?
i.e. $xpath->registerPHPFunctions([ 'strtoupper', ]); $xpath->registerPHPFunctions([ 'ucfirst', ]); will I be able to: (a) Call ucfirst(), but not strtoupper() (b) Call both Best regards Tim Düsterhus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php