Suppress PHP warnings for expected Oracle exceptions
If you only need to suppress the warning on oci_execute()
, prepend it with @
@oci_execute()
Using that kind of runtime error suppression is often not recommended since it covers up problems in the application, but you've handled the problem in the code by catching the exception already and understand the consequence of suppressing the warnings.