Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 14, 2019

The __toString() magic method can no longer accept arguments.

Ref: https://www.php.net/manual/en/migration53.incompatible.php


Potential additional enhancement which could be added (now or later):

  • Check whether direct calls to __toString() methods pass arguments, i.e. self::__toString($param), $obj->__toString($param).

@jrfnl jrfnl added this to the 9.2.0 milestone Jun 14, 2019
@jrfnl jrfnl requested a review from wimg June 14, 2019 11:00
@jrfnl jrfnl force-pushed the php-5.3/removed-to-string-arguments branch from 19ee38f to a64f0da Compare June 14, 2019 11:01
@jrfnl jrfnl force-pushed the php-5.3/removed-to-string-arguments branch from a64f0da to 292ca56 Compare June 14, 2019 11:02
@wimg wimg merged commit f55c14f into master Jun 20, 2019
@delete-merged-branch delete-merged-branch bot deleted the php-5.3/removed-to-string-arguments branch June 20, 2019 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants