3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/Los_Angeles'); class Fruit implements JsonSerializable { public $type = 'Apple', $lastEaten = null; public function __construct() { $this->lastEaten = new DateTime(); } public function jsonSerialize() { return [ 'type' => $this->type, 'lastEaten' => $this->lastEaten->format(DateTime::ISO8601) ]; } } echo json_encode(new Fruit()); echo json_encode(new DateTime());
Output for 8.3.6
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007085","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.3.5
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.011388","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.3.4
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008762","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.3.3
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007133","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.3.2
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007338","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.3.1
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004056","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.3.0
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004099","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.18
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.010146","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.17
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.010073","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.16
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.006969","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.15
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003830","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.14
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003870","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.13
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003653","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.12
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004695","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.11
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004886","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.10
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.005457","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.9
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004670","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.8
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003791","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.7
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003986","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.6
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003848","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.5
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004407","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.4
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003911","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.3
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003858","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.2
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004137","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.1
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.005203","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.2.0
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004109","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.28
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008397","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.27
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003638","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.26
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003998","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.25
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003769","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.24
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004209","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.23
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.005029","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.22
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003904","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.21
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003739","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.20
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.005758","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.19
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003705","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.18
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003866","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.17
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003835","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.16
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003741","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.15
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003876","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.14
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003833","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.13
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003368","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.12
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003673","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.11
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003984","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.10
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003706","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.9
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003603","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.8
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003545","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.7
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003509","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.6
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003661","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.5
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003526","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.4
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003824","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.3
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003634","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.2
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004067","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.1
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004011","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.1.0
Deprecated: Return type of Fruit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/RFj5h on line 13 {"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003889","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.30
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003439","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.29
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004217","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.28
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003605","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.27
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003566","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.26
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003148","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.25
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004260","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.24
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004679","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.23
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003793","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.22
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003407","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.21
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003391","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.20
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003153","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.19
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003644","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.18
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003645","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.17
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003983","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.16
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003422","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.15
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003861","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.14
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003916","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.13
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003650","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.12
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003813","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.11
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003914","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.10
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003578","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.9
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003451","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.8
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007588","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.7
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003709","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.6
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003908","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.5
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003516","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.3
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009663","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.2
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.020130","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.1
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003844","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 8.0.0
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.011583","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.33
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.001921","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.32
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002985","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.30
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002830","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.29
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003519","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.28
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004461","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.27
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003091","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.26
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002025","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.25
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003750","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.24
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003781","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.23
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003201","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.22
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008407","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.21
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007467","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.20
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003305","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.19
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003276","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.16
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008161","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.15
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009854","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.14
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008713","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.13
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009210","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.12
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009413","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.11
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008773","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.10
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008708","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.9
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.011870","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.8
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008709","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.7
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008476","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.6
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.000362","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.5
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002460","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.4
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003677","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.3
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008753","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.4.0
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.000299","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.33
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002278","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.32
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002017","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.31
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003933","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.30
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003204","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.29
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007455","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.28
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.007814","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.27
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008887","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.26
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.011390","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.25
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.012228","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.24
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.010954","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.23
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009082","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.21
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009243","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.20
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.012272","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.19
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.011258","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.18
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004469","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.17
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.011860","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.16
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008192","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.3.12
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.000273","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.33
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.012169","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.32
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009696","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.31
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.024564","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.30
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.010377","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.29
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.008776","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.6
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.002523","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.2.0
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004021","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.1.20
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003571","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.1.10
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.003912","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.1.7
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.004751","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.1.6
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.009330","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.1.5
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.010693","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 7.1.0
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.006182","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 5.4.30 - 5.4.45, 5.5.14 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42.000000","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 5.4.0 - 5.4.29, 5.5.0 - 5.5.13
{"type":"Apple","lastEaten":"2014-05-11T14:22:42-0700"}{"date":"2014-05-11 14:22:42","timezone_type":3,"timezone":"America\/Los_Angeles"}
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/RFj5h on line 14
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/RFj5h on line 14
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/RFj5h on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting '{' in /in/RFj5h on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'{'' in /in/RFj5h on line 4
Process exited with code 255.

preferences:
261.29 ms | 401 KiB | 355 Q