It is not possible to execute what you ask globally without changing the php / oci-extension source code. The reason for this behavior is because oaci oci omits 0s in the results and php converts all the results from oci to rows without doing any casting depending on the type of column. Even results in SQL * Plus omit 0 by default, and SQL * Plus formatting must be called set numformatup to configure column formatting and add 0.
There is currently no session change option that you can change to change this behavior.
- is_numeric, number_format sprintf. , php oci, .