3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo gmdate('Y-m-d\TH:i:s\Z'); $created = "2015-08-25T10:45:55Z"; $bytes = array(219,237,93,18,84,210,254,168,120,82,56,138,97,64,219,199,173,111,217,208,167,150,79,50,114,227,40,191,210,188,233,34); $randomString = vsprintf(str_repeat('%c', count($bytes)), $bytes); $private_key = 'aDknWCcwJEsuNjRpJS52ZnN4Ti1MRDk1M2cyNU5N'; $nonce = hash('sha512', $randomString); echo $nonce;
based on UNe8m
Output for 5.6.28, 7.0.20 - 7.2.0
2015-08-31T12:22:40Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.6
2016-05-03T13:09:27Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.5
2016-04-03T01:46:09Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.4
2016-03-10T14:07:43Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.3
2016-03-18T14:45:58Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.2
2016-03-22T20:52:14Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.1
2016-03-24T01:16:41Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 7.0.0
2016-03-27T02:16:05Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.21
2016-05-02T08:20:56Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.20
2016-04-10T00:42:08Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.19
2016-03-07T21:50:56Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.18
2016-03-15T06:43:07Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.17
2016-03-19T18:41:16Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.16
2016-03-28T03:05:21Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.15
2016-03-29T03:57:51Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.14
2016-04-02T06:00:13Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.13
2016-04-15T10:11:19Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.12
2016-04-20T00:31:11Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.11
2016-04-23T07:06:52Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.10
2016-04-25T08:58:11Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.9
2016-04-27T14:04:54Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.6.8
2016-04-29T22:39:15Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.35
2016-05-22T12:47:00Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.34
2016-04-11T02:57:30Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.33
2016-03-09T00:56:06Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.32
2016-03-17T10:12:06Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.31
2016-03-20T21:26:14Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.30
2016-04-01T05:51:21Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.29
2016-04-17T00:30:42Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.28
2016-04-21T03:42:22Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.27
2016-04-22T05:44:14Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.26
2016-04-26T11:37:05Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.25
2016-04-28T18:11:46Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.5.24
2016-05-24T01:13:12Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.45
2015-09-06T14:56:04Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.41 - 5.4.44
2015-08-31T12:22:53Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.35 - 5.4.40
2015-08-31T12:22:54Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.29 - 5.4.34
2015-08-31T12:22:55Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.23 - 5.4.28
2015-08-31T12:22:56Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.17 - 5.4.22
2015-08-31T12:22:57Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.10 - 5.4.16
2015-08-31T12:22:58Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.4.4 - 5.4.9
2015-08-31T12:22:59Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.3.27 - 5.4.3
2015-08-31T12:23:00Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.3.21 - 5.3.26
2015-08-31T12:23:01Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.3.14 - 5.3.20
2015-08-31T12:23:02Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.3.8 - 5.3.13
2015-08-31T12:23:03Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.3.1 - 5.3.7
2015-08-31T12:23:04Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.2.12 - 5.3.0
2015-08-31T12:23:05Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.2.6 - 5.2.11
2015-08-31T12:23:06Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.1.5 - 5.2.5
2015-08-31T12:23:07Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.1.2 - 5.1.4
2015-08-31T12:23:08Z6890bc107a822c5a79467c3da93a67b8fbe6d65a2396f5b50d9d95cd1401fa4ab1b436ccff6c04ef470af0ebf8191853fbec8fb61afe730ba6b1e58b9d13b8da
Output for 5.0.1 - 5.1.1
2015-08-31T12:23:08Z Fatal error: Call to undefined function hash() in /in/vDUDP on line 9
Process exited with code 255.
Output for 5.0.0
2015-08-31T12:23:09Z Fatal error: Call to undefined function hash() in /in/vDUDP on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
2015-08-31T12:23:09Z Fatal error: Call to undefined function: hash() in /in/vDUDP on line 9
Process exited with code 255.
Output for 4.4.1 - 4.4.4
2015-08-31T12:23:09Z Fatal error: Call to undefined function: hash() in /in/vDUDP on line 9
Process exited with code 255.
Output for 4.3.4 - 4.4.0
2015-08-31T12:23:10Z Fatal error: Call to undefined function: hash() in /in/vDUDP on line 9
Process exited with code 255.
Output for 4.3.2 - 4.3.3
2015-08-31T12:23:11Z Fatal error: Call to undefined function: hash() in /in/vDUDP on line 9
Process exited with code 255.
Output for 4.3.1
2015-08-31T12:23:11Z Fatal error: Call to undefined function: hash() in /in/vDUDP on line 9
Output for 4.3.0
2015-09-06T14:56:03Z Fatal error: Call to undefined function: hash() in /in/vDUDP on line 9