reference/oci8/functions/oci-rollback.xml
5e41012cfdf8f2eff5fa56de446c7656afac536c
...
...
@@ -74,7 +74,6 @@ $conn = oci_connect('hr', 'welcome', 'localhost/XE');
74
74
$stid = oci_parse($conn, "INSERT INTO mysalary (id, name) VALUES (1, 'Chris')");
75
75

76
76
// The OCI_NO_AUTO_COMMIT flag tells Oracle not to commit the INSERT immediately
77
-
// Use OCI_DEFAULT as the flag for PHP <= 5.3.1. The two flags are equivalent
78
77
$r = oci_execute($stid, OCI_NO_AUTO_COMMIT);
79
78
if (!$r) {
80
79
$e = oci_error($stid);
...
...
@@ -149,13 +148,6 @@ oci_commit($conn); // mytab now has id of 1111
149
148
uncommitted transaction.
150
149
</para>
151
150
</note>
152
-
<note>
153
-
<para>
154
-
In PHP versions before 5.0.0 you must
155
-
use <function>ocirollback</function>
156
-
instead. &oci.name.compat.note;
157
-
</para>
158
-
</note>
159
151
</refsect1>
160
152

161
153
<refsect1 role="seealso">
162
154