3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php final class CommandId { private $name; private $time; private $hash; public function __construct($name) { $this->time = microtime(true); $this->name = trim($name); $this->hash = hash('crc32', rand(0, $this->time)); if (empty($this->name)) { throw new DomainException('Name must not be empty'); } } public static function fromString($idString) { $parts = explode('_', $idString); if (count($parts) != 3) { throw new DomainException("Unexpected format [$idString]"); } $id = new static($parts[0]); $id->time = floatval($parts[1]); $id->hash = $parts[2]; return $id; } public function name() { return $this->name; } public function time() { return $this->time; } public function equals(self $other) { return ((string) $this == (string) $other); } public function __toString() { return implode('_', [$this->name, $this->time, $this->hash]); } } $one = new CommandId('foo'); $two = CommandId::fromString((string) $one); var_dump($one, $two, $one->equals($two));
Output for 7.2.0
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.004) ["hash":"CommandId":private]=> string(8) "500e0da6" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.004) ["hash":"CommandId":private]=> string(8) "500e0da6" } bool(true)
Output for 7.1.7
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0042) ["hash":"CommandId":private]=> string(8) "1e20211d" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0042) ["hash":"CommandId":private]=> string(8) "1e20211d" } bool(true)
Output for 7.1.6
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0133) ["hash":"CommandId":private]=> string(8) "aaf19cdb" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0133) ["hash":"CommandId":private]=> string(8) "aaf19cdb" } bool(true)
Output for 7.1.5
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0068) ["hash":"CommandId":private]=> string(8) "be0432b0" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0068) ["hash":"CommandId":private]=> string(8) "be0432b0" } bool(true)
Output for 7.1.0
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0041) ["hash":"CommandId":private]=> string(8) "af5de195" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0041) ["hash":"CommandId":private]=> string(8) "af5de195" } bool(true)
Output for 7.0.20
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0027) ["hash":"CommandId":private]=> string(8) "ae2c906f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0027) ["hash":"CommandId":private]=> string(8) "ae2c906f" } bool(true)
Output for 7.0.14
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0039) ["hash":"CommandId":private]=> string(8) "8a56338e" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0039) ["hash":"CommandId":private]=> string(8) "8a56338e" } bool(true)
Output for 7.0.6
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1462233632.2701) ["hash":"CommandId":private]=> string(8) "ec5c69fe" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1462233632.2701) ["hash":"CommandId":private]=> string(8) "ec5c69fe" } bool(true)
Output for 7.0.5
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459603060.6162) ["hash":"CommandId":private]=> string(8) "df8f21f6" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459603060.6162) ["hash":"CommandId":private]=> string(8) "df8f21f6" } bool(true)
Output for 7.0.4
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457567059.4508) ["hash":"CommandId":private]=> string(8) "ff6c94c3" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457567059.4508) ["hash":"CommandId":private]=> string(8) "ff6c94c3" } bool(true)
Output for 7.0.3
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458258995.8299) ["hash":"CommandId":private]=> string(8) "cf66e128" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458258995.8299) ["hash":"CommandId":private]=> string(8) "cf66e128" } bool(true)
Output for 7.0.2
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458556322.6407) ["hash":"CommandId":private]=> string(8) "ea59ef57" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458556322.6407) ["hash":"CommandId":private]=> string(8) "ea59ef57" } bool(true)
Output for 7.0.1
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458729811.6265) ["hash":"CommandId":private]=> string(8) "246f1c2e" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458729811.6265) ["hash":"CommandId":private]=> string(8) "246f1c2e" } bool(true)
Output for 7.0.0
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458998149.3488) ["hash":"CommandId":private]=> string(8) "1954193f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458998149.3488) ["hash":"CommandId":private]=> string(8) "1954193f" } bool(true)
Output for 5.6.28
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0046) ["hash":"CommandId":private]=> string(8) "82f5c76c" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0046) ["hash":"CommandId":private]=> string(8) "82f5c76c" } bool(true)
Output for 5.6.21
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1462129466.1958) ["hash":"CommandId":private]=> string(8) "e1f4b098" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1462129466.1958) ["hash":"CommandId":private]=> string(8) "e1f4b098" } bool(true)
Output for 5.6.20
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460190756.2532) ["hash":"CommandId":private]=> string(8) "57b867a1" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460190756.2532) ["hash":"CommandId":private]=> string(8) "57b867a1" } bool(true)
Output for 5.6.19
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457301244.3187) ["hash":"CommandId":private]=> string(8) "903952e4" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457301244.3187) ["hash":"CommandId":private]=> string(8) "903952e4" } bool(true)
Output for 5.6.18
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457947358.2981) ["hash":"CommandId":private]=> string(8) "56db4767" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457947358.2981) ["hash":"CommandId":private]=> string(8) "56db4767" } bool(true)
Output for 5.6.17
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458361547.2082) ["hash":"CommandId":private]=> string(8) "054a58be" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458361547.2082) ["hash":"CommandId":private]=> string(8) "054a58be" } bool(true)
Output for 5.6.16
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459087172.7446) ["hash":"CommandId":private]=> string(8) "285fa0af" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459087172.7446) ["hash":"CommandId":private]=> string(8) "285fa0af" } bool(true)
Output for 5.6.15
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459176827.5804) ["hash":"CommandId":private]=> string(8) "02b3a661" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459176827.5804) ["hash":"CommandId":private]=> string(8) "02b3a661" } bool(true)
Output for 5.6.14
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459532002.0143) ["hash":"CommandId":private]=> string(8) "45f002d8" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459532002.0143) ["hash":"CommandId":private]=> string(8) "45f002d8" } bool(true)
Output for 5.6.13
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460668872.0451) ["hash":"CommandId":private]=> string(8) "9d9669d7" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460668872.0451) ["hash":"CommandId":private]=> string(8) "9d9669d7" } bool(true)
Output for 5.6.12
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461061736.5473) ["hash":"CommandId":private]=> string(8) "9160c5da" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461061736.5473) ["hash":"CommandId":private]=> string(8) "9160c5da" } bool(true)
Output for 5.6.11
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461347108.9472) ["hash":"CommandId":private]=> string(8) "bd01f0e3" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461347108.9472) ["hash":"CommandId":private]=> string(8) "bd01f0e3" } bool(true)
Output for 5.6.10
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461525906.7257) ["hash":"CommandId":private]=> string(8) "aa9a8ef7" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461525906.7257) ["hash":"CommandId":private]=> string(8) "aa9a8ef7" } bool(true)
Output for 5.6.9
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461717228.5956) ["hash":"CommandId":private]=> string(8) "5c850009" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461717228.5956) ["hash":"CommandId":private]=> string(8) "5c850009" } bool(true)
Output for 5.6.8
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461917335.1216) ["hash":"CommandId":private]=> string(8) "78d30d44" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461917335.1216) ["hash":"CommandId":private]=> string(8) "78d30d44" } bool(true)
Output for 5.6.7
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1464115768.7144) ["hash":"CommandId":private]=> string(8) "7dddd80f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1464115768.7144) ["hash":"CommandId":private]=> string(8) "7dddd80f" } bool(true)
Output for 5.5.35
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1463869266.5106) ["hash":"CommandId":private]=> string(8) "7b92c17d" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1463869266.5106) ["hash":"CommandId":private]=> string(8) "7b92c17d" } bool(true)
Output for 5.5.34
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460298478.8311) ["hash":"CommandId":private]=> string(8) "4614f851" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460298478.8311) ["hash":"CommandId":private]=> string(8) "4614f851" } bool(true)
Output for 5.5.33
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457433536.9824) ["hash":"CommandId":private]=> string(8) "a234834e" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1457433536.9824) ["hash":"CommandId":private]=> string(8) "a234834e" } bool(true)
Output for 5.5.32
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458145140.3642) ["hash":"CommandId":private]=> string(8) "7a7879b0" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458145140.3642) ["hash":"CommandId":private]=> string(8) "7a7879b0" } bool(true)
Output for 5.5.31
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458458337.4214) ["hash":"CommandId":private]=> string(8) "505f8dac" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1458458337.4214) ["hash":"CommandId":private]=> string(8) "505f8dac" } bool(true)
Output for 5.5.30
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459443356.7266) ["hash":"CommandId":private]=> string(8) "5ae18ce4" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1459443356.7266) ["hash":"CommandId":private]=> string(8) "5ae18ce4" } bool(true)
Output for 5.5.29
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460806039.0468) ["hash":"CommandId":private]=> string(8) "8263669f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1460806039.0468) ["hash":"CommandId":private]=> string(8) "8263669f" } bool(true)
Output for 5.5.28
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461159763.4013) ["hash":"CommandId":private]=> string(8) "21934322" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461159763.4013) ["hash":"CommandId":private]=> string(8) "21934322" } bool(true)
Output for 5.5.27
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461255422.3858) ["hash":"CommandId":private]=> string(8) "415c356a" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461255422.3858) ["hash":"CommandId":private]=> string(8) "415c356a" } bool(true)
Output for 5.5.26
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461620539.0641) ["hash":"CommandId":private]=> string(8) "11eded59" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461620539.0641) ["hash":"CommandId":private]=> string(8) "11eded59" } bool(true)
Output for 5.5.25
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461815412.6187) ["hash":"CommandId":private]=> string(8) "832fe15e" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1461815412.6187) ["hash":"CommandId":private]=> string(8) "832fe15e" } bool(true)
Output for 5.5.24
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1462015363.1933) ["hash":"CommandId":private]=> string(8) "474f0cc2" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1462015363.1933) ["hash":"CommandId":private]=> string(8) "474f0cc2" } bool(true)
Output for 5.4.45
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1442172340.5305) ["hash":"CommandId":private]=> string(8) "7aaf75e3" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1442172340.5305) ["hash":"CommandId":private]=> string(8) "7aaf75e3" } bool(true)
Output for 5.4.44
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680593.6505) ["hash":"CommandId":private]=> string(8) "c2f94521" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680593.6505) ["hash":"CommandId":private]=> string(8) "c2f94521" } bool(true)
Output for 5.4.43
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680589.1231) ["hash":"CommandId":private]=> string(8) "2c391295" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680589.1231) ["hash":"CommandId":private]=> string(8) "2c391295" } bool(true)
Output for 5.4.42
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680587.763) ["hash":"CommandId":private]=> string(8) "b068c6c5" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680587.763) ["hash":"CommandId":private]=> string(8) "b068c6c5" } bool(true)
Output for 5.4.41
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680585.4574) ["hash":"CommandId":private]=> string(8) "e1198445" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1439680585.4574) ["hash":"CommandId":private]=> string(8) "e1198445" } bool(true)
Output for 5.4.40
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1431065482.6697) ["hash":"CommandId":private]=> string(8) "2ef93eab" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1431065482.6697) ["hash":"CommandId":private]=> string(8) "2ef93eab" } bool(true)
Output for 5.4.39
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1431065481.8218) ["hash":"CommandId":private]=> string(8) "97e641cd" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1431065481.8218) ["hash":"CommandId":private]=> string(8) "97e641cd" } bool(true)
Output for 5.4.38
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1425280181.1217) ["hash":"CommandId":private]=> string(8) "893add14" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1425280181.1217) ["hash":"CommandId":private]=> string(8) "893add14" } bool(true)
Output for 5.4.37
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1423359949.6892) ["hash":"CommandId":private]=> string(8) "4bd0df95" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1423359949.6892) ["hash":"CommandId":private]=> string(8) "4bd0df95" } bool(true)
Output for 5.4.36
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1423359949.3449) ["hash":"CommandId":private]=> string(8) "35e3be5d" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1423359949.3449) ["hash":"CommandId":private]=> string(8) "35e3be5d" } bool(true)
Output for 5.4.35
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1417713161.5476) ["hash":"CommandId":private]=> string(8) "2010aee9" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1417713161.5476) ["hash":"CommandId":private]=> string(8) "2010aee9" } bool(true)
Output for 5.4.34
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1417713161.2474) ["hash":"CommandId":private]=> string(8) "5316ddd4" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1417713161.2474) ["hash":"CommandId":private]=> string(8) "5316ddd4" } bool(true)
Output for 5.4.32
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986483.0918) ["hash":"CommandId":private]=> string(8) "f7065f6d" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986483.0918) ["hash":"CommandId":private]=> string(8) "f7065f6d" } bool(true)
Output for 5.4.31
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986477.8694) ["hash":"CommandId":private]=> string(8) "022ef736" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986477.8694) ["hash":"CommandId":private]=> string(8) "022ef736" } bool(true)
Output for 5.4.30
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986472.6964) ["hash":"CommandId":private]=> string(8) "3444b17d" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986472.6964) ["hash":"CommandId":private]=> string(8) "3444b17d" } bool(true)
Output for 5.4.29
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986472.192) ["hash":"CommandId":private]=> string(8) "0b6341f6" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986472.192) ["hash":"CommandId":private]=> string(8) "0b6341f6" } bool(true)
Output for 5.4.28
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986471.6861) ["hash":"CommandId":private]=> string(8) "bd628c32" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986471.6861) ["hash":"CommandId":private]=> string(8) "bd628c32" } bool(true)
Output for 5.4.27
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986480.0351) ["hash":"CommandId":private]=> string(8) "3d281fc1" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986480.0351) ["hash":"CommandId":private]=> string(8) "3d281fc1" } bool(true)
Output for 5.4.26
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986479.4958) ["hash":"CommandId":private]=> string(8) "4a38fdc9" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1409986479.4958) ["hash":"CommandId":private]=> string(8) "4a38fdc9" } bool(true)
Output for 5.4.25
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0049) ["hash":"CommandId":private]=> string(8) "bccb2175" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0049) ["hash":"CommandId":private]=> string(8) "bccb2175" } bool(true)
Output for 5.4.24
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0046) ["hash":"CommandId":private]=> string(8) "076aeb7d" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0046) ["hash":"CommandId":private]=> string(8) "076aeb7d" } bool(true)
Output for 5.4.23
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0047) ["hash":"CommandId":private]=> string(8) "574bcb1c" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0047) ["hash":"CommandId":private]=> string(8) "574bcb1c" } bool(true)
Output for 5.4.22
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0043) ["hash":"CommandId":private]=> string(8) "ccea41bf" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0043) ["hash":"CommandId":private]=> string(8) "ccea41bf" } bool(true)
Output for 5.4.21
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0065) ["hash":"CommandId":private]=> string(8) "8cd6cdab" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0065) ["hash":"CommandId":private]=> string(8) "8cd6cdab" } bool(true)
Output for 5.4.20
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0061) ["hash":"CommandId":private]=> string(8) "7067cf9b" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0061) ["hash":"CommandId":private]=> string(8) "7067cf9b" } bool(true)
Output for 5.4.19
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0043) ["hash":"CommandId":private]=> string(8) "c4ce0021" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0043) ["hash":"CommandId":private]=> string(8) "c4ce0021" } bool(true)
Output for 5.4.18
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0042) ["hash":"CommandId":private]=> string(8) "4d175135" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0042) ["hash":"CommandId":private]=> string(8) "4d175135" } bool(true)
Output for 5.4.17
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0052) ["hash":"CommandId":private]=> string(8) "9e7f7cb5" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0052) ["hash":"CommandId":private]=> string(8) "9e7f7cb5" } bool(true)
Output for 5.4.16
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0071) ["hash":"CommandId":private]=> string(8) "85353552" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0071) ["hash":"CommandId":private]=> string(8) "85353552" } bool(true)
Output for 5.4.15
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0069) ["hash":"CommandId":private]=> string(8) "395995ae" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0069) ["hash":"CommandId":private]=> string(8) "395995ae" } bool(true)
Output for 5.4.14
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0026) ["hash":"CommandId":private]=> string(8) "541c1828" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0026) ["hash":"CommandId":private]=> string(8) "541c1828" } bool(true)
Output for 5.4.13
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0034) ["hash":"CommandId":private]=> string(8) "41ced52f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0034) ["hash":"CommandId":private]=> string(8) "41ced52f" } bool(true)
Output for 5.4.12
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0037) ["hash":"CommandId":private]=> string(8) "8a658877" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0037) ["hash":"CommandId":private]=> string(8) "8a658877" } bool(true)
Output for 5.4.11
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0033) ["hash":"CommandId":private]=> string(8) "bb338e41" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0033) ["hash":"CommandId":private]=> string(8) "bb338e41" } bool(true)
Output for 5.4.10
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0032) ["hash":"CommandId":private]=> string(8) "a8cc9a23" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0032) ["hash":"CommandId":private]=> string(8) "a8cc9a23" } bool(true)
Output for 5.4.9
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0036) ["hash":"CommandId":private]=> string(8) "2b5b8c9c" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0036) ["hash":"CommandId":private]=> string(8) "2b5b8c9c" } bool(true)
Output for 5.4.8
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0025) ["hash":"CommandId":private]=> string(8) "75b7b580" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0025) ["hash":"CommandId":private]=> string(8) "75b7b580" } bool(true)
Output for 5.4.7
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0023) ["hash":"CommandId":private]=> string(8) "673cef38" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0023) ["hash":"CommandId":private]=> string(8) "673cef38" } bool(true)
Output for 5.4.6
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0041) ["hash":"CommandId":private]=> string(8) "a6fffa72" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0041) ["hash":"CommandId":private]=> string(8) "a6fffa72" } bool(true)
Output for 5.4.5
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0026) ["hash":"CommandId":private]=> string(8) "6644a98f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0026) ["hash":"CommandId":private]=> string(8) "6644a98f" } bool(true)
Output for 5.4.4
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0052) ["hash":"CommandId":private]=> string(8) "5f965492" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0052) ["hash":"CommandId":private]=> string(8) "5f965492" } bool(true)
Output for 5.4.3
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0027) ["hash":"CommandId":private]=> string(8) "0d210ee5" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0027) ["hash":"CommandId":private]=> string(8) "0d210ee5" } bool(true)
Output for 5.4.2
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0031) ["hash":"CommandId":private]=> string(8) "af0dd37b" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0031) ["hash":"CommandId":private]=> string(8) "af0dd37b" } bool(true)
Output for 5.4.1
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0033) ["hash":"CommandId":private]=> string(8) "d97d9126" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0033) ["hash":"CommandId":private]=> string(8) "d97d9126" } bool(true)
Output for 5.4.0
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0029) ["hash":"CommandId":private]=> string(8) "ff55c7f1" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279444.0029) ["hash":"CommandId":private]=> string(8) "ff55c7f1" } bool(true)
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/sT8nD on line 50
Process exited with code 255.
Output for 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /in/sT8nD on line 26
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /in/sT8nD on line 26
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_CLASS in /in/sT8nD on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_CLASS in /in/sT8nD on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/sT8nD on line 3
Process exited with code 255.