Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hikari-no-yume/escapes
Bareword escapes!
https://github.com/hikari-no-yume/escapes
Last synced: 2 months ago
JSON representation
Bareword escapes!
- Host: GitHub
- URL: https://github.com/hikari-no-yume/escapes
- Owner: hikari-no-yume
- License: other
- Created: 2014-12-22T15:34:57.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-17T01:29:21.000Z (almost 10 years ago)
- Last Synced: 2024-08-15T00:08:56.312Z (5 months ago)
- Language: PHP
- Homepage: https://packagist.org/packages/ajf/escapes
- Size: 145 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
**escapes** is a wee library for PHP 5.3+ that lets you use escapes as barewords, like so:
echo 'hello, world', \n;
echo 'I', \t, 'love', \t, 'tabs!', \n;
echo 'In Europe, they use ', \xE2, \x82, \xAC, ' (the Euro)', \n;Supports the e, f, n, r, t, v and xXX (hex digits case-insensitive) escapes.
Install it with composer, just require `ajf/escapes`.
If you *actually* use this... dear god the future isn't bright