Skip to content

Conversation

@rodrigoprimo
Copy link
Contributor

As discussed in #154, this PR:

  • Remove reference to deprecated (real) cast and PHP version-specific deprecation details.
  • Update code example to show correct/incorrect usage with (bool) and (boolean).

Kudos to @jrfnl for suggesting the text changes.

Fixes #154.

- Remove reference to deprecated (real) cast and PHP version-specific deprecation details.
- Update code example to show correct/incorrect usage with (bool) and (boolean).

Fixes 154.

Co-authored-by: Juliette <[email protected]>
@dingo-d dingo-d merged commit 96d4aca into WordPress:master Oct 30, 2025
1 check passed
@rodrigoprimo rodrigoprimo deleted the update-type-casts-doc branch October 30, 2025 11:42
@jrfnl
Copy link
Member

jrfnl commented Oct 30, 2025

@rodrigoprimo Just noticed now this has been merged that this PR was branched off from a commit from two years ago with a dozen commits having been merged to the main branch since.... Any particular reason ? Might be a good habit to always update the main branch before creating a new branch.

@rodrigoprimo
Copy link
Contributor Author

I indeed forgot to update the main branch before creating the new one. Apologies for that.

Might be a good habit to always update the main branch before creating a new branch.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type cast rules in handbook incomplete - missing (double), (unset), (binary) documentation

3 participants