Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New @unwrap mutators ideas #514

Closed
45 of 46 tasks
maks-rafalko opened this issue Oct 19, 2018 · 2 comments
Closed
45 of 46 tasks

New @unwrap mutators ideas #514

maks-rafalko opened this issue Oct 19, 2018 · 2 comments
Assignees

Comments

@maks-rafalko
Copy link
Member

maks-rafalko commented Oct 19, 2018

After merging #513, it's very easy to create new mutators that unwrap parameter from function. Let's keep the list of desired mutators and discuss them here.

@ntzm
Copy link
Contributor

ntzm commented Mar 31, 2019

Some ideas for string unwrap mutators:

  • ltrim (implemented)
  • rtrim + chop (implemented)
  • nl2br
  • str_ireplace (implemented)
  • str_shuffle (implemented)
  • strrev (implemented)
  • substr (implemented)
  • substr_replace
  • addslashes
  • stripslashes
  • addcslashes
  • stripcslashes
  • strip_tags
  • quotemeta
  • htmlentities
  • html_entity_decode
  • htmlspecialchars
  • htmlspecialchars_decode
  • wordwrap

@maks-rafalko
Copy link
Member Author

let's close, all new mutators/ideas can be opened as new issue/RFC to discuss

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

No branches or pull requests

3 participants