Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Nov 3, 2015
1 parent 4e1b8f9 commit 9368b28
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,19 @@ $ php bin/php_backslasher fix <path/to/directory>

###Output

Works for function in conditional statements, negative conditionals, placed in an array as key or value and any other normal use.
Works for functions in conditional statements, negative conditionals, placed in an array as key or value and any other normal use.

Also adds a backslash to defined constants and true, false and null values.

```php
echo strlen('Hello World');

return true;

// becomes:
echo \strlen('Hello World');

return \true;
```


Expand Down

0 comments on commit 9368b28

Please sign in to comment.