Created
November 10, 2016 15:27
-
-
Save keltanas/7767837a859f96707e86ea309b83990c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# http://seyferseed.ru/ru/php/kastomnaya-strategiya-gerenatsii-id-v-doctrine-2.html#sthash.r0n7nj05.dpbs | |
print 'orig: 581a8775b67e88-ca53-8b4568' . PHP_EOL; | |
print 'comp: ' . uniqid('', false) . dechex(mt_rand(0, 0xF)) . '-' . dechex(getmypid()) . '-' . dechex(mt_rand(0, 0xFFFFFF)) . PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment