diff options
author | Matt Butcher <[email protected]> | 2013-04-06 12:38:38 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-04-06 12:38:38 -0500 |
commit | 87f4c66f006e62789611b2128a90588761395586 (patch) | |
tree | eda5a77140fbc3b9617ae51dfb2a0a1cc5d602d4 /src | |
parent | a0369b76a009c9961bc2dc5fbf9ad9189711100a (diff) |
Beginnings of PHPUnit tests.
Replacing SimpleTest with PHPUnit.
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5/Serializer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTML5/Serializer.php b/src/HTML5/Serializer.php index 207f848..e31bbbe 100644 --- a/src/HTML5/Serializer.php +++ b/src/HTML5/Serializer.php @@ -63,7 +63,7 @@ class Serializer { // faster than writing directly to a string, but it makes the interface // consistant and will keep memory consumption lower (2MB max for the file // buffer). - $stream = fopen('php://temp'); + $stream = fopen('php://temp', 'w'); $this->save($stream); return stream_get_contents($stream, -1, 0); } |