Skip to content

Nits to the type juggling page#2098

Merged
Girgias merged 2 commits intophp:masterfrom
Girgias:type-juggling-nits
Dec 21, 2022
Merged

Nits to the type juggling page#2098
Girgias merged 2 commits intophp:masterfrom
Girgias:type-juggling-nits

Conversation

@Girgias
Copy link
Copy Markdown
Member

@Girgias Girgias commented Dec 20, 2022

The big one is the need to clarify the behaviour around the coercive typing mode, as the conversion of objects to strings is relatively straight forward but in theory internal objects that overload the cast handler can convert to other types too.

Copy link
Copy Markdown
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good, but I suggest to fix the existing typo right away.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
@Girgias Girgias merged commit b035daa into php:master Dec 21, 2022
@Girgias Girgias deleted the type-juggling-nits branch December 21, 2022 20:16
claudepache pushed a commit to claudepache/php-doc-en that referenced this pull request Jun 1, 2023
The big one is the need to clarify the behaviour around the coercive typing mode, as the conversion of objects to strings is relatively straight forward but in theory internal objects that overload the cast handler can convert to other types too.

Drive-by typo fix

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
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.

2 participants