Skip to content

Commit

Permalink
Update reference/pdo/pdostatement/fetch.xml
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Tekiela <[email protected]>
  • Loading branch information
pereorga and kamil-tekiela authored Jan 14, 2025
1 parent 3c37652 commit d4ebabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/pdo/pdostatement/fetch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Reading backwards:

<example><title>Construction order</title>
<simpara>
When objects are fetched via <class>PDO::FETCH_CLASS</class>, the object
When objects are fetched via <constant>PDO::FETCH_CLASS</constant>, the object
properties are assigned first, and then the constructor of the class is
invoked. However, when <constant>PDO::FETCH_PROPS_LATE</constant> is also given,
this order is reversed, i.e. first the constructor is called, and
Expand Down

0 comments on commit d4ebabd

Please sign in to comment.