summaryrefslogtreecommitdiff
path: root/ext/json/tests/bug68992.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/tests/bug68992.phpt')
-rw-r--r--ext/json/tests/bug68992.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/json/tests/bug68992.phpt b/ext/json/tests/bug68992.phpt
index 06448bbb38..8e209e0709 100644
--- a/ext/json/tests/bug68992.phpt
+++ b/ext/json/tests/bug68992.phpt
@@ -9,8 +9,8 @@ if (!extension_loaded('json')) die('skip');
class MyClass implements JsonSerializable {
public function jsonSerialize() {
- throw new Exception('Not implemented!');
- }
+ throw new Exception('Not implemented!');
+ }
}
$classes = [];
for($i = 0; $i < 5; $i++) {
@@ -21,8 +21,8 @@ try {
json_encode($classes);
} catch(Exception $e) {
do {
- printf("%s (%d) [%s]\n", $e->getMessage(), $e->getCode(), get_class($e));
- } while ($e = $e->getPrevious());
+ printf("%s (%d) [%s]\n", $e->getMessage(), $e->getCode(), get_class($e));
+ } while ($e = $e->getPrevious());
}
?>
--EXPECT--