3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo hexdec(uniqid()) .PHP_EOL; echo uniqid() .PHP_EOL; echo substr(uniqid(), 0, 16) .PHP_EOL;
based on a8YNa
Output for 7.1.0
1475852382506982 53e47a9001037 53e47a900107e
Output for 7.0.14
1475852382506813 53e47a9000f8e 53e47a9000fca
Output for 7.0.6
1533291900545238 572855711a921 572855711a958
Output for 7.0.5
1530532000883948 57002c03ae530 57002c03ae567
Output for 7.0.4
1528401214627769 56e12a378dffa 56e12a378e031
Output for 7.0.3
1529128309158396 56ebbedaef23d 56ebbedaef273
Output for 7.0.2
1529512957406243 56f157c816c78 56f157c816cb2
Output for 7.0.1
1529621529880366 56f2ec3ede771 56f2ec3ede7a9
Output for 7.0.0
1529899155930946 56f6f67bb3f90 56f6f67bb3fca
Output for 5.6.28
1475852382507536 53e47a900126b 53e47a90012ab
Output for 5.6.21
1533183796456821 5726c2b902db5 5726c2b902dec
Output for 5.6.20
1531162199170491 570957af99dfe 570957af99e34
Output for 5.6.19
1528160138186251 56dda82324e53 56dda82324e8b
Output for 5.6.18
1528824126097130 56e751af5c72a 56e751af5c761
Output for 5.6.17
1529234994191732 56ed4c49b5db8 56ed4c49b5df0
Output for 5.6.16
1529992604437752 56f8529b24d2d 56f8529b24d67
Output for 5.6.15
1530087303763686 56f9b3637572c 56f9b36375763
Output for 5.6.14
1530458552741404 56ff1a6612e63 56ff1a6612e9a
Output for 5.6.13
1531651045897274 571074c82b484 571074c82b4be
Output for 5.6.12
1532065310170790 57167c095deef 57167c095df27
Output for 5.6.11
1532363767313478 571ad3e047486 571ad3e0474bd
Output for 5.6.10
1532551482184777 571d8f2b21490 571d8f2b214ca
Output for 5.6.9
1532751441878343 572078138dd8e 572078138ddc0
Output for 5.6.8
1532963132378394 57238caf58d5f 57238caf58d98
Output for 5.5.35
1535009810034464 5741552742f68 5741552742fa0
Output for 5.5.34
1531261624936182 570aca1366738 570aca1366770
Output for 5.5.33
1528261868436981 56df231cabe3d 56df231cabe75
Output for 5.5.32
1529011819274805 56ea0ce58627a 56ea0ce5862b3
Output for 5.5.31
1529336021999910 56eec4a556170 56eec4a5561a9
Output for 5.5.30
1530366363558894 56fdc2f79e438 56fdc2f79e472
Output for 5.5.29
1531794841676926 57128c7682cc8 57128c7682d02
Output for 5.5.28
1532167553826492 5717f8ec83f05 5717f8ec83f40
Output for 5.5.27
1532267559548675 57196d7967746 57196d796777f
Output for 5.5.26
1532651327200406 571f031ec1cde 571f031ec1d1b
Output for 5.5.25
1532856308703248 5721febc5a057 5721febc5a08f
Output for 5.5.24
1535148811673741 57435af98e0d3 57435af98e10e
Output for 5.4.45
1512917407735150 55ffd88a99e40 55ffd88a99e86
Output for 5.4.44
1512917402323315 55ffd885709c1 55ffd885709fc
Output for 5.4.43
1512917395810679 55ffd87f3a9db 55ffd87f3aa1a
Output for 5.4.42
1512917393289824 55ffd87cd32ab 55ffd87cd32e4
Output for 5.4.41
1512917390732010 55ffd87a62b52 55ffd87a62b8b
Output for 5.4.40
1512917387755589 55ffd8778c08a 55ffd8778c0ce
Output for 5.4.39
1512917385558561 55ffd87573a88 55ffd87573ac7
Output for 5.4.38
1494794322457840 54f81ec9a35a1 54f81ec9a35f8
Output for 5.4.37
1494794316194022 54f81ec3aa160 54f81ec3aa215
Output for 5.4.36
1494794315849576 54f81ec356033 54f81ec356093
Output for 5.4.35
1494794315507604 54f81ec30283f 54f81ec30289c
Output for 5.4.34
1494794315112584 54f81ec2a2143 54f81ec2a21b3
Output for 5.4.32
1478182985014820 540664bbc1ef4 540664bbc1f45
Output for 5.4.31
1475852387852642 53e47a951a205 53e47a951a275
Output for 5.4.30
1475852387901524 53e47a95260ee 53e47a952614b
Output for 5.4.29
1475852387952806 53e47a953296e 53e47a95329c0
Output for 5.4.28
1475852388007872 53e47a9540036 53e47a954007e
Output for 5.4.27
1475852388051557 53e47a954ab14 53e47a954ab63
Output for 5.4.26
1475852388101797 53e47a9556f1f 53e47a9556f6c
Output for 5.4.25
1475852388148859 53e47a95626f9 53e47a9562742
Output for 5.4.24
1475852388195070 53e47a956db76 53e47a956dbbd
Output for 5.4.23
1475852388241125 53e47a9578f66 53e47a9578fb5
Output for 5.4.22
1475852388292700 53e47a95858d3 53e47a958591d
Output for 5.4.21
1475852388346357 53e47a9592a6a 53e47a9592ab2
Output for 5.4.20
1475852388391563 53e47a959db06 53e47a959db4e
Output for 5.4.19
1475852388435693 53e47a95a875f 53e47a95a87ac
Output for 5.4.18
1475852388478685 53e47a95b2f52 53e47a95b2f9b
Output for 5.4.17
1475852388523165 53e47a95bdd16 53e47a95bdd59
Output for 5.4.16
1475852388567593 53e47a95c8a9d 53e47a95c8ae6
Output for 5.4.15
1475852388611693 53e47a95d36fb 53e47a95d374c
Output for 5.4.14
1475852388663195 53e47a95e002a 53e47a95e0090
Output for 5.4.13
1475852388719541 53e47a95edc31 53e47a95edc80
Output for 5.4.12
1475852388812608 53e47a96047c7 53e47a960481a
Output for 5.4.11
1475852388871163 53e47a9612c7d 53e47a9612ccd
Output for 5.4.10
1475852388927748 53e47a9620994 53e47a96209d9
Output for 5.4.9
1475852388978752 53e47a962d0bd 53e47a962d103
Output for 5.4.8
1475852389024712 53e47a9638443 53e47a963848e
Output for 5.4.7
1475852389067027 53e47a964298a 53e47a96429d2
Output for 5.4.6
1475852389109359 53e47a964cee4 53e47a964cf32
Output for 5.4.5
1475852389152157 53e47a9657638 53e47a96576af
Output for 5.4.4
1475852389196700 53e47a9662411 53e47a966245b
Output for 5.4.3
1475852389239451 53e47a966cb0e 53e47a966cb58
Output for 5.4.2
1475852389281767 53e47a9677061 53e47a967708d
Output for 5.4.1
1475852389324451 53e47a9681715 53e47a968175c
Output for 5.4.0
1475852389368583 53e47a968c380 53e47a968c3cd
Output for 5.3.29
1478182984755248 540664bb82892 540664bb828e5
Output for 5.3.28
1475852389414294 53e47a9697606 53e47a969764f
Output for 5.3.27
1475852389462065 53e47a96a309d 53e47a96a30e4
Output for 5.3.26
1475852389508827 53e47a96ae742 53e47a96ae78c
Output for 5.3.25
1475852389559309 53e47a96bac81 53e47a96bacca
Output for 5.3.24
1475852389604821 53e47a96c5e43 53e47a96c5e8c
Output for 5.3.23
1475852389651372 53e47a96d141d 53e47a96d1465
Output for 5.3.22
1475852389696093 53e47a96dc2d7 53e47a96dc323
Output for 5.3.21
1475852389742640 53e47a96e78b4 53e47a96e78fd
Output for 5.3.20
1475852389788831 53e47a96f2d1d 53e47a96f2d71
Output for 5.3.19
1475852389890521 53e47a970ba4d 53e47a970ba98
Output for 5.3.18
1475852389935214 53e47a97168db 53e47a971692e
Output for 5.3.17
1475852389979204 53e47a97214a1 53e47a97214f3
Output for 5.3.16
1475852390023247 53e47a972c0c3 53e47a972c10c
Output for 5.3.15
1475852390067511 53e47a9736da9 53e47a9736df0
Output for 5.3.14
1475852390111730 53e47a9741a6b 53e47a9741ab2
Output for 5.3.13
1475852390158280 53e47a974d049 53e47a974d0b6
Output for 5.3.12
1475852390205933 53e47a9758a80 53e47a9758af1
Output for 5.3.11
1475852390254244 53e47a9764719 53e47a9764763
Output for 5.3.10
1475852390314675 53e47a977333d 53e47a977339c
Output for 5.3.9
1475852390360991 53e47a977e827 53e47a977e885
Output for 5.3.8
1475852390404850 53e47a9789380 53e47a97893e2
Output for 5.3.7
1475852390457511 53e47a9796125 53e47a979618c
Output for 5.3.6
1475852390506997 53e47a97a2260 53e47a97a22a9
Output for 5.3.5
1475852390561243 53e47a97af649 53e47a97af693
Output for 5.3.4
1475852390605147 53e47a97ba1cb 53e47a97ba212
Output for 5.3.3
1475852390648310 53e47a97c4a64 53e47a97c4ab6
Output for 5.3.2
1475852390692512 53e47a97cf711 53e47a97cf758
Output for 5.3.1
1475852390735873 53e47a97da06f 53e47a97da0b7
Output for 5.3.0
1475852390780751 53e47a97e4fd0 53e47a97e5017
Output for 5.2.17
1475852390819325 53e47a97ee66b 53e47a97ee6c9
Output for 5.2.16
1475852390905465 53e47a9803716 53e47a9803761
Output for 5.2.15
1475852390947098 53e47a980d9b1 53e47a980da10
Output for 5.2.14
1475852390985085 53e47a9816e0f 53e47a9816e67
Output for 5.2.13
1475852391028040 53e47a98215f6 53e47a9821669
Output for 5.2.12
1475852391065611 53e47a982a894 53e47a982a8dd
Output for 5.2.11
1475852391113795 53e47a98364d0 53e47a9836526
Output for 5.2.10
1475852391156797 53e47a9840dbd 53e47a9840e23
Output for 5.2.9
1475852391198110 53e47a984ae2e 53e47a984ae8e
Output for 5.2.8
1475852391243634 53e47a9855ffe 53e47a985605e
Output for 5.2.7
1475852391284597 53e47a9860019 53e47a9860077
Output for 5.2.6
1475852391332578 53e47a986bb47 53e47a986bb9b
Output for 5.2.5
1475852391376976 53e47a98768bd 53e47a9876907
Output for 5.2.4
1475852391413636 53e47a987f806 53e47a987f852
Output for 5.2.3
1475852391452714 53e47a988909a 53e47a98890e4
Output for 5.2.2
1475852391488997 53e47a9891e4d 53e47a9891ea3
Output for 5.2.1
1475852391525008 53e47a989ab19 53e47a989ab62
Output for 5.2.0
1475852391562332 53e47a98a3cdc 53e47a98a3d24
Output for 5.1.6
1475852391593392 53e47a98ab637 53e47a98ab680
Output for 5.1.5
1475852391624252 53e47a98b2ec2 53e47a98b2f0c
Output for 5.1.4
1475852391657449 53e47a98bb061 53e47a98bb0a9
Output for 5.1.3
1475852391690347 53e47a98c30eb 53e47a98c3132
Output for 5.1.2
1475852391723771 53e47a98cb384 53e47a98cb3d2
Output for 5.1.1
1475852391755954 53e47a98d3131 53e47a98d3179
Output for 5.1.0
1475852391787789 53e47a98dad89 53e47a98dadd2
Output for 5.0.5
1475852391814497 53e47a98e15e0 53e47a98e162d
Output for 5.0.4
1475852391840767 53e47a98e7c7b 53e47a98e7cc9
Output for 5.0.3
1475852391879062 53e47a98f121a 53e47a98f1268
Output for 5.0.2
1475852391952843 53e47a990324d 53e47a990329b
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 2 1475852391979421PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 3 53e47a9909a2aPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 4 53e47a9909a89PHP_EOL
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 2 1475852392018269PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 3 53e47a99131dePHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 4 53e47a9913233PHP_EOL
Output for 4.3.10 - 4.4.9
Warning: uniqid() expects at least 1 parameter, 0 given in /in/97f2P on line 2 0 Warning: uniqid() expects at least 1 parameter, 0 given in /in/97f2P on line 3 Warning: uniqid() expects at least 1 parameter, 0 given in /in/97f2P on line 4
Output for 4.3.0 - 4.3.9
Warning: uniqid() expects at least 1 parameter, 0 given in /in/97f2P on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 2 0PHP_EOL Warning: uniqid() expects at least 1 parameter, 0 given in /in/97f2P on line 3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 3 PHP_EOL Warning: uniqid() expects at least 1 parameter, 0 given in /in/97f2P on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/97f2P on line 4 PHP_EOL