3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $length = 16; list($usec, $sec) = explode(' ', microtime()); mt_srand((float) $sec + ((float) $usec * 100000)); $inputs = array_merge(range('z','a'),range(0,9),range('A','Z')); for($i=0; $i<$length; $i++) { $key .= $inputs{mt_rand(0,61)}; } echo $key;
based on gChCs
Output for 7.2.6
Notice: Undefined variable: key in /in/D9LN1 on line 10 CItWCxPnqzHRxMB8
Output for 7.2.0
Notice: Undefined variable: key in /in/D9LN1 on line 10 3687opbaXrbh6Lyh
Output for 7.1.10
Notice: Undefined variable: key in /in/D9LN1 on line 10 7s6cgRzBwaglOKCV
Output for 7.1.7
Notice: Undefined variable: key in /in/D9LN1 on line 10 ugPCcoUfjF0gIEDd
Output for 7.1.6
Notice: Undefined variable: key in /in/D9LN1 on line 10 LdMy5I5fQuOmPhME
Output for 7.1.5
Notice: Undefined variable: key in /in/D9LN1 on line 10 G8S1UqPgocJuG2lX
Output for 7.1.4
Notice: Undefined variable: key in /in/D9LN1 on line 10 qm7VkJzewk4ZlPIF
Output for 7.1.3
Notice: Undefined variable: key in /in/D9LN1 on line 10 TGipsOuYDiADIhOM
Output for 7.1.2
Notice: Undefined variable: key in /in/D9LN1 on line 10 KrUnK1q5b6pm03KS
Output for 7.1.1
Notice: Undefined variable: key in /in/D9LN1 on line 10 JvqLr0hAyQK8in2Q
Output for 7.1.0
Notice: Undefined variable: key in /in/D9LN1 on line 10 dCyUDpesxchFjIWk
Output for 7.0.20
Notice: Undefined variable: key in /in/D9LN1 on line 10 EVhScrsTGoj3AtHV
Output for 7.0.19
Notice: Undefined variable: key in /in/D9LN1 on line 10 wgg8TtZokrPs7tgU
Output for 7.0.18
Notice: Undefined variable: key in /in/D9LN1 on line 10 4djm3BqUenqIdSVw
Output for 7.0.17
Notice: Undefined variable: key in /in/D9LN1 on line 10 EaRtKpTnNrSLZ9Mt
Output for 7.0.16
Notice: Undefined variable: key in /in/D9LN1 on line 10 Oo1vHPEvKxaHyejD
Output for 7.0.15
Notice: Undefined variable: key in /in/D9LN1 on line 10 WRLFZueJR5UFazsn
Output for 7.0.14
Notice: Undefined variable: key in /in/D9LN1 on line 10 rQOX8DRK96KlDQNv
Output for 7.0.13
Notice: Undefined variable: key in /in/D9LN1 on line 10 tPVubM18QG8sHkEH
Output for 7.0.12
Notice: Undefined variable: key in /in/D9LN1 on line 10 py1o9isvok8BKzX3
Output for 7.0.11
Notice: Undefined variable: key in /in/D9LN1 on line 10 2qlk3zKM6d9DIXjA
Output for 5.6.24, 7.0.10
Notice: Undefined variable: key in /in/D9LN1 on line 10 pg11nUMOTjqi8u6q
Output for 7.0.9
Notice: Undefined variable: key in /in/D9LN1 on line 10 beFoBaf725hMmG7A
Output for 7.0.8
Notice: Undefined variable: key in /in/D9LN1 on line 10 Uh1EOr00BCTg9GzC
Output for 7.0.7
Notice: Undefined variable: key in /in/D9LN1 on line 10 V7oBQqIP16fW9Q03
Output for 7.0.6
Notice: Undefined variable: key in /in/D9LN1 on line 10 44q7cvyyJCyhhPnq
Output for 5.6.15, 7.0.5
Notice: Undefined variable: key in /in/D9LN1 on line 10 EzW0YGxIIoFaGYvw
Output for 7.0.4
Notice: Undefined variable: key in /in/D9LN1 on line 10 JfqepbamLTlSSi04
Output for 7.0.3
Notice: Undefined variable: key in /in/D9LN1 on line 10 UEWHQm8e4VDUdapE
Output for 7.0.2
Notice: Undefined variable: key in /in/D9LN1 on line 10 0IVpEsfGoLjSyuxg
Output for 7.0.1
Notice: Undefined variable: key in /in/D9LN1 on line 10 5RcY1onbO82rICq7
Output for 7.0.0
Notice: Undefined variable: key in /in/D9LN1 on line 10 zPjrpOMuUatqvjgc
Output for hhvm-3.15.4
L6UESUAHlhwvWc8Y
Output for 5.6.30
Notice: Undefined variable: key in /in/D9LN1 on line 10 ISvtBcIbxFtE2E2i
Output for 5.6.29
Notice: Undefined variable: key in /in/D9LN1 on line 10 AVt3jW2kSp0ZzLKI
Output for 5.6.28
Notice: Undefined variable: key in /in/D9LN1 on line 10 LwNxz6fLrQpaQwd5
Output for 5.6.27
Notice: Undefined variable: key in /in/D9LN1 on line 10 QiSfvBO3y608SjAU
Output for 5.6.26
Notice: Undefined variable: key in /in/D9LN1 on line 10 uCKroqcSxYUxPSJE
Output for 5.6.25
Notice: Undefined variable: key in /in/D9LN1 on line 10 sMcyxYlgxmxThwmD
Output for 5.6.23
Notice: Undefined variable: key in /in/D9LN1 on line 10 NwxTzkNZU1Evk3zF
Output for 5.6.22
Notice: Undefined variable: key in /in/D9LN1 on line 10 6N2SWsTpdyaYo4H8
Output for 5.6.21
Notice: Undefined variable: key in /in/D9LN1 on line 10 uQMtmMmmJ0mqKN9p
Output for 5.6.20
Notice: Undefined variable: key in /in/D9LN1 on line 10 fDuVIDjz83BUyf1i
Output for 5.6.19
Notice: Undefined variable: key in /in/D9LN1 on line 10 SScXwNKPn5uLPuGb
Output for 5.6.18
Notice: Undefined variable: key in /in/D9LN1 on line 10 4DFLBJzpQc0mphSl
Output for 5.6.17
Notice: Undefined variable: key in /in/D9LN1 on line 10 0B9O6IwPSDr13iFC
Output for 5.6.16
Notice: Undefined variable: key in /in/D9LN1 on line 10 opQCkLGuZywR5wQc
Output for 5.6.14
Notice: Undefined variable: key in /in/D9LN1 on line 10 6tRQ3lTXFTxGsMBg
Output for 5.6.13
Notice: Undefined variable: key in /in/D9LN1 on line 10 VF9G0fZhPSvVGTpN
Output for 5.6.12
Notice: Undefined variable: key in /in/D9LN1 on line 10 i0sf3hmBvPtZ1v6X
Output for 5.6.11
Notice: Undefined variable: key in /in/D9LN1 on line 10 IrwSp1fMtMrinFb9
Output for 5.6.10
Notice: Undefined variable: key in /in/D9LN1 on line 10 NqFkWEK2rEnoOsRV
Output for 5.6.9
Notice: Undefined variable: key in /in/D9LN1 on line 10 dNPkMEF2FHHkpdvt
Output for 5.6.8
Notice: Undefined variable: key in /in/D9LN1 on line 10 K9VkH8Ules1dOfkG
Output for 5.6.7
Notice: Undefined variable: key in /in/D9LN1 on line 10 Utj64dn1Vd0qFwnD
Output for 5.6.6
Notice: Undefined variable: key in /in/D9LN1 on line 10 gVwrmwYUYgWRwGsb
Output for 5.6.5
Notice: Undefined variable: key in /in/D9LN1 on line 10 EYJzdkpcXH3zCE9A
Output for 5.6.4
Notice: Undefined variable: key in /in/D9LN1 on line 10 SymdsNkClUoFDRRm
Output for 5.6.3
Notice: Undefined variable: key in /in/D9LN1 on line 10 UJDZlHIZZl8jcUW3
Output for 5.6.2
Notice: Undefined variable: key in /in/D9LN1 on line 10 gh4KF6cuRU44WaYp
Output for 5.6.1
Notice: Undefined variable: key in /in/D9LN1 on line 10 b19BcCCbxaBUwNT2
Output for 5.6.0
Notice: Undefined variable: key in /in/D9LN1 on line 10 Jw2qS6OZf9z53CRq