With thanks to Sara we looked at OnUpdateUTF8String to access a
php.ini value in OCI8 in PHP 6.
One of our engineers sent me a proposed patch for zend_ini.c in PHP6
to allow OnUpdateUTF8String to work as he thought it should. Any
comments?
Chris
------------
> The problems I faced when unicode.semantics=On were:
>
> 1) Any OnUpdateUTF8String php.ini variable is seen as NULL in
> oci_globals.
>
> 2) If the above is resolved, the memory of the variable is wiped out,
> by the time we come to execution of the script, after module inits.
>
> 3) We still convert to UTF-16 when unicode.semantics=Off.
PS. Patch is attached - if it gets through.
--
Christopher Jones, Oracle
Email: christopher.jones@oracle.com Tel: +1 650 506 8630
Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/f8jad