3v4l.org

run code in 150+ 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.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.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(1392279445.4357) ["hash":"CommandId":private]=> string(8) "f7dbebf5" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.4357) ["hash":"CommandId":private]=> string(8) "f7dbebf5" } bool(true)
Output for 5.4.24
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.4796) ["hash":"CommandId":private]=> string(8) "e48f3772" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.4796) ["hash":"CommandId":private]=> string(8) "e48f3772" } bool(true)
Output for 5.4.23
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.5254) ["hash":"CommandId":private]=> string(8) "35cc9484" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.5254) ["hash":"CommandId":private]=> string(8) "35cc9484" } bool(true)
Output for 5.4.22
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.5681) ["hash":"CommandId":private]=> string(8) "7f13cfda" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.5681) ["hash":"CommandId":private]=> string(8) "7f13cfda" } bool(true)
Output for 5.4.21
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.61) ["hash":"CommandId":private]=> string(8) "dfd9639e" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.61) ["hash":"CommandId":private]=> string(8) "dfd9639e" } bool(true)
Output for 5.4.20
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.6542) ["hash":"CommandId":private]=> string(8) "a391d448" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.6542) ["hash":"CommandId":private]=> string(8) "a391d448" } bool(true)
Output for 5.4.19
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.6971) ["hash":"CommandId":private]=> string(8) "b2ca1e16" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.6971) ["hash":"CommandId":private]=> string(8) "b2ca1e16" } bool(true)
Output for 5.4.18
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.7405) ["hash":"CommandId":private]=> string(8) "66e67e55" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.7405) ["hash":"CommandId":private]=> string(8) "66e67e55" } bool(true)
Output for 5.4.17
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.7873) ["hash":"CommandId":private]=> string(8) "a76a598f" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.7873) ["hash":"CommandId":private]=> string(8) "a76a598f" } bool(true)
Output for 5.4.16
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.8315) ["hash":"CommandId":private]=> string(8) "3106fced" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.8315) ["hash":"CommandId":private]=> string(8) "3106fced" } bool(true)
Output for 5.4.15
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.8756) ["hash":"CommandId":private]=> string(8) "636d5bcc" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.8756) ["hash":"CommandId":private]=> string(8) "636d5bcc" } bool(true)
Output for 5.4.14
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.9202) ["hash":"CommandId":private]=> string(8) "01615dbe" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.9202) ["hash":"CommandId":private]=> string(8) "01615dbe" } bool(true)
Output for 5.4.13
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.9642) ["hash":"CommandId":private]=> string(8) "28b047ce" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279445.9642) ["hash":"CommandId":private]=> string(8) "28b047ce" } bool(true)
Output for 5.4.12
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.0129) ["hash":"CommandId":private]=> string(8) "da857a7b" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.0129) ["hash":"CommandId":private]=> string(8) "da857a7b" } bool(true)
Output for 5.4.11
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.0559) ["hash":"CommandId":private]=> string(8) "0d45f271" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.0559) ["hash":"CommandId":private]=> string(8) "0d45f271" } bool(true)
Output for 5.4.10
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.0991) ["hash":"CommandId":private]=> string(8) "f82b93af" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.0991) ["hash":"CommandId":private]=> string(8) "f82b93af" } bool(true)
Output for 5.4.9
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.1437) ["hash":"CommandId":private]=> string(8) "7194ef20" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.1437) ["hash":"CommandId":private]=> string(8) "7194ef20" } bool(true)
Output for 5.4.8
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.1875) ["hash":"CommandId":private]=> string(8) "23b0e8c5" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.1875) ["hash":"CommandId":private]=> string(8) "23b0e8c5" } bool(true)
Output for 5.4.7
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.2303) ["hash":"CommandId":private]=> string(8) "1c723024" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.2303) ["hash":"CommandId":private]=> string(8) "1c723024" } bool(true)
Output for 5.4.6
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.2738) ["hash":"CommandId":private]=> string(8) "1ddd12be" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.2738) ["hash":"CommandId":private]=> string(8) "1ddd12be" } bool(true)
Output for 5.4.5
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.3178) ["hash":"CommandId":private]=> string(8) "8b94171c" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.3178) ["hash":"CommandId":private]=> string(8) "8b94171c" } bool(true)
Output for 5.4.4
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.3609) ["hash":"CommandId":private]=> string(8) "21809ab9" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.3609) ["hash":"CommandId":private]=> string(8) "21809ab9" } bool(true)
Output for 5.4.3
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.4044) ["hash":"CommandId":private]=> string(8) "b7c13ff2" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.4044) ["hash":"CommandId":private]=> string(8) "b7c13ff2" } bool(true)
Output for 5.4.2
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.4512) ["hash":"CommandId":private]=> string(8) "6cc3781b" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.4512) ["hash":"CommandId":private]=> string(8) "6cc3781b" } bool(true)
Output for 5.4.1
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.4952) ["hash":"CommandId":private]=> string(8) "20e50649" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.4952) ["hash":"CommandId":private]=> string(8) "20e50649" } bool(true)
Output for 5.4.0
object(CommandId)#1 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.5401) ["hash":"CommandId":private]=> string(8) "f5946546" } object(CommandId)#2 (3) { ["name":"CommandId":private]=> string(3) "foo" ["time":"CommandId":private]=> float(1392279446.5401) ["hash":"CommandId":private]=> string(8) "f5946546" } 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.