Skip to content

Commit

Permalink
Preliminary example
Browse files Browse the repository at this point in the history
  • Loading branch information
antecedent committed Aug 7, 2016
1 parent a4445f6 commit 4e3b707
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
@@ -1 +1,7 @@
# Patchwork 2.0

```php
use function Patchwork\{redefine, always, restoreAll};
redefine('time', always(strtotime('Dec 31, 1999')));
echo time(); # => 946598400
```

0 comments on commit 4e3b707

Please sign in to comment.