| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 31 | public function __toString() |
||
| 32 | { |
||
| 33 | if ($this->depth !== 512 && PHP_VERSION_ID > 50500) { |
||
| 34 | $result = json_encode($this->value, $this->options, $this->depth); |
||
| 35 | } else { |
||
| 36 | $result = json_encode($this->value, $this->options); |
||
| 37 | } |
||
| 38 | $result = str_replace(array('"' . RawJson::MARKER, RawJson::MARKER . '"'), '', $result); |
||
| 39 | return $result; |
||
| 40 | } |
||
| 42 |