3v4l.org

run code in 500+ PHP versions simultaneously
<?php $time = floor(microtime(true) * 1000); $uid = 1 << 45 + 9 + 9 | random_int(0, 0b111111111) << 45 + 9 | $time << 9 | random_int(0, 0b111111111); $uid = dechex($uid); $uid = hex2bin($uid); $uid = base64_encode($uid); $uid = str_replace(['=', '+', '/'], ['', '-', '_'], $uid); var_dump($uid);
Output for 5.6.0 - 5.6.40
Fatal error: Call to undefined function random_int() in /in/EEADG on line 4
Output for 8.2.3
string(11) "hQMNwUNuX1I"
Output for 8.2.2
string(11) "5MMNwUNuXx0"
Output for 8.2.1
string(11) "6QMNwUNuXII"
Output for 8.2.0
string(11) "9AMNwUNuWv8"
Output for 8.1.16
string(11) "gYMNwUNuWd8"
Output for 8.1.15
string(11) "28MNwUNuV9w"
Output for 8.1.14
string(11) "lMMNwUNuWaw"
Output for 8.1.13
string(11) "hkMNwUNuXJ8"
Output for 8.1.12
string(11) "r0MNwUNucC8"
Output for 8.1.11
string(11) "v8MNwUNuXKs"
Output for 8.1.10
string(11) "koMNwUNuVz4"
Output for 8.1.9
string(11) "hIMNwUNuVz0"
Output for 8.1.8
string(11) "g4MNwUNuZk4"
Output for 8.1.7
string(11) "94MNwUNuXUA"
Output for 8.1.6
string(11) "-wMNwUNuWm0"
Output for 8.1.5
string(11) "78MNwUNuXDs"
Output for 8.1.4
string(11) "pMMNwUNuXJk"
Output for 8.1.3
string(11) "08MNwUNuY7o"
Output for 8.1.2
string(11) "owMNwUNv9pc"
Output for 8.1.1
string(11) "2AMNwUNuXeg"
Output for 8.1.0
string(11) "6cMNwUNuWwY"
Output for 8.0.28
string(11) "6YMNwUNuSGo"
Output for 8.0.27
string(11) "oIMNwUNuYuU"
Output for 8.0.26
string(11) "vIMNwUNuYSQ"
Output for 8.0.25
string(11) "pEMNwUNuY3w"
Output for 8.0.24
string(11) "ywMNwUNucVM"
Output for 8.0.23
string(11) "joMNwUNuadE"
Output for 8.0.22
string(11) "2AMNwUNug4k"
Output for 8.0.21
string(11) "iIMNwUNuXMw"
Output for 8.0.20
string(11) "6AMNwUNuYxw"
Output for 8.0.19
string(11) "78MNwUNuZHw"
Output for 8.0.18
string(11) "6sMNwUNuX1s"
Output for 8.0.17
string(11) "3YMNwUNuYaw"
Output for 8.0.16
string(11) "jgMNwUNuYso"
Output for 8.0.15
string(11) "uAMNwUNuXjQ"
Output for 8.0.14
string(11) "kkMNwUNuXyA"
Output for 8.0.13
string(11) "qAMNwUNuYds"
Output for 8.0.12
string(11) "y0MNwUNuZas"
Output for 8.0.11
string(11) "tAMNwUNuYQE"
Output for 8.0.10
string(11) "q8MNwUNuXlo"
Output for 8.0.9
string(11) "pMMNwUNuXRk"
Output for 8.0.8
string(11) "8wMNwUNuYAE"
Output for 8.0.7
string(11) "8MMNwUNuXXU"
Output for 8.0.6
string(11) "_0MNwUNuX_s"
Output for 8.0.5
string(11) "r4MNwUNuYL0"
Output for 8.0.3
string(11) "1gMNwUNuXWU"
Output for 8.0.2
string(11) "3sMNwUNufeQ"
Output for 8.0.1
string(11) "0EMNwUNuZOc"
Output for 8.0.0
string(11) "ygMNwUNuZHk"
Output for 7.4.33
string(11) "usMNwUNuRi4"
Output for 7.4.32
string(11) "5IMNwUNuVpg"
Output for 7.4.30
string(11) "1wMNwUNuVp8"
Output for 7.4.29
string(11) "l0MNwUNuXYE"
Output for 7.4.28
string(11) "iAMNwUNuV-w"
Output for 7.4.27
string(11) "3oMNwUNuWHY"
Output for 7.4.26
string(11) "jcMNwUNuWOo"
Output for 7.4.25
string(11) "lsMNwUNuYNA"
Output for 7.4.24
string(11) "1YMNwUNuV4U"
Output for 7.4.23
string(11) "n8MNwUNudK4"
Output for 7.4.22
string(11) "u0MNwUNud90"
Output for 7.4.21
string(11) "4sMNwUNuZ28"
Output for 7.4.20
string(11) "6AMNwUNuVzE"
Output for 7.4.19
string(11) "_UMNwUNuVLE"
Output for 7.4.18
string(11) "1MMNwUNuV10"
Output for 7.4.16
string(11) "ggMNwUNuV14"
Output for 7.4.15
string(11) "l0MNwUNuVwU"
Output for 7.4.14
string(11) "zwMNwUNuVmE"
Output for 7.4.13
string(11) "lkMNwUNuV_Q"
Output for 7.4.12
string(11) "wAMNwUNuVR4"
Output for 7.4.11
string(11) "vEMNwUNuVrY"
Output for 7.4.10
string(11) "jEMNwUNuWT0"
Output for 7.4.9
string(11) "84MNwUNuVJs"
Output for 7.4.8
string(11) "-MMNwUNuV7Y"
Output for 7.4.7
string(11) "gUMNwUNuWW8"
Output for 7.4.6
string(11) "_wMNwUNuVHY"
Output for 7.4.5
string(11) "yUMNwUNuVYg"
Output for 7.4.4
string(11) "o0MNwUNuWak"
Output for 7.4.3
string(11) "6EMNwUNuW4I"
Output for 7.4.2
string(11) "u0MNwUNuVds"
Output for 7.4.1
string(11) "sMMNwUNuUqk"
Output for 7.4.0
string(11) "iYMNwUNuVsg"
Output for 7.3.33
string(11) "xUMNwUNuWn4"
Output for 7.3.32
string(11) "_wMNwUNuaJQ"
Output for 7.3.31
string(11) "zYMNwUNuX9M"
Output for 7.3.30
string(11) "7kMNwUNuXF0"
Output for 7.3.29
string(11) "84MNwUNuXKs"
Output for 7.3.28
string(11) "7YMNwUNuXeM"
Output for 7.3.27
string(11) "rsMNwUNuXWM"
Output for 7.3.26
string(11) "o8MNwUNuY_s"
Output for 7.3.25
string(11) "pYMNwUNuX0A"
Output for 7.3.24
string(11) "rQMNwUNuXvk"
Output for 7.3.23
string(11) "yMMNwUNugLM"
Output for 7.3.22
string(11) "l8MNwUNuYj4"
Output for 7.3.21
string(11) "n0MNwUNuXwA"
Output for 7.3.20
string(11) "gYMNwUNuXlA"
Output for 7.3.19
string(11) "poMNwUNuZ-I"
Output for 7.3.18
string(11) "4wMNwUNuXqk"
Output for 7.3.17
string(11) "jEMNwUNuXHQ"
Output for 7.3.16
string(11) "oQMNwUNuXzU"
Output for 7.3.15
string(11) "rEMNwUNuX44"
Output for 7.3.14
string(11) "tUMNwUNuXw0"
Output for 7.3.13
string(11) "3QMNwUNuXV8"
Output for 7.3.12
string(11) "ssMNwUNuX3g"
Output for 7.3.11
string(11) "qMMNwUNuXw0"
Output for 7.3.10
string(11) "kkMNwUNuXKo"
Output for 7.3.9
string(11) "vEMNwUNuWqA"
Output for 7.3.8
string(11) "s8MNwUNuXBY"
Output for 7.3.7
string(11) "lUMNwUNuWsg"
Output for 7.3.6
string(11) "qoMNwUNuXwc"
Output for 7.3.5
string(11) "6AMNwUNuX_4"
Output for 7.3.4
string(11) "7IMNwUNuXpk"
Output for 7.3.3
string(11) "_wMNwUNuW0o"
Output for 7.3.2
string(11) "joMNwUNuZB8"
Output for 7.3.1
string(11) "toMNwUNuXXc"
Output for 7.3.0
string(11) "g8MNwUNuYPY"
Output for 7.2.34
string(11) "-AMNwUNuXyE"
Output for 7.2.33
string(11) "oQMNwUNuX3w"
Output for 7.2.32
string(11) "7kMNwUNuXQk"
Output for 7.2.31
string(11) "i8MNwUNuXd0"
Output for 7.2.30
string(11) "tcMNwUNuaKo"
Output for 7.2.29
string(11) "54MNwUNuZoY"
Output for 7.2.28
string(11) "5oMNwUNuZQI"
Output for 7.2.27
string(11) "3sMNwUNuXZ4"
Output for 7.2.26
string(11) "u4MNwUNuX0Q"
Output for 7.2.25
string(11) "pUMNwUNuXC8"
Output for 7.2.24
string(11) "7wMNwUNuivY"
Output for 7.2.23
string(11) "tUMNwUNuZJc"
Output for 7.2.22
string(11) "gsMNwUNuZfk"
Output for 7.2.21
string(11) "qAMNwUNuYMY"
Output for 7.2.20
string(11) "l4MNwUNuZZg"
Output for 7.2.19
string(11) "qcMNwUNuX6M"
Output for 7.2.18
string(11) "mUMNwUNuX7c"
Output for 7.2.17
string(11) "64MNwUNuXk0"
Output for 7.2.16
string(11) "o4MNwUNuXXM"
Output for 7.2.15
string(11) "2UMNwUNuX5Q"
Output for 7.2.14
string(11) "jIMNwUNubnI"
Output for 7.2.13
string(11) "isMNwUNuYQE"
Output for 7.2.12
string(11) "h4MNwUNuWgk"
Output for 7.2.11
string(11) "ioMNwUNuXZc"
Output for 7.2.10
string(11) "0EMNwUNuWho"
Output for 7.2.9
string(11) "-IMNwUNuYLk"
Output for 7.2.8
string(11) "wMMNwUNuXxU"
Output for 7.2.7
string(11) "zIMNwUNuXrE"
Output for 7.2.6
string(11) "toMNwUNuYPE"
Output for 7.2.5
string(11) "wwMNwUNuX5E"
Output for 7.2.4
string(11) "oYMNwUNuYDs"
Output for 7.2.3
string(11) "r4MNwUNuYwA"
Output for 7.2.2
string(11) "mQMNwUNuYPs"
Output for 7.2.1
string(11) "tYMNwUNuYrc"
Output for 7.2.0
string(11) "gYMNwUNuXWQ"
Output for 7.1.33
string(11) "8EMNwUNuXZs"
Output for 7.1.32
string(11) "4cMNwUNuWtY"
Output for 7.1.31
string(11) "pIMNwUNuWwc"
Output for 7.1.30
string(11) "04MNwUNuXCA"
Output for 7.1.29
string(11) "yIMNwUNuW2o"
Output for 7.1.28
string(11) "5QMNwUNuWVs"
Output for 7.1.27
string(11) "2QMNwUNuVvY"
Output for 7.1.26
string(11) "kEMNwUNuVx0"
Output for 7.1.25
string(11) "9oMNwUNuWtc"
Output for 7.1.24
string(11) "wIMNwUNuXBo"
Output for 7.1.23
string(11) "oUMNwUNudk0"
Output for 7.1.22
string(11) "5YMNwUNudpU"
Output for 7.1.21
string(11) "18MNwUNuYJw"
Output for 7.1.20
string(11) "1kMNwUNuWyA"
Output for 7.1.19
string(11) "7YMNwUNuWdw"
Output for 7.1.18
string(11) "0gMNwUNuV-I"
Output for 7.1.17
string(11) "xAMNwUNuVgY"
Output for 7.1.16
string(11) "8kMNwUNuXt0"
Output for 7.1.15
string(11) "_0MNwUNuZaY"
Output for 7.1.14
string(11) "nMMNwUNuWbM"
Output for 7.1.13
string(11) "8oMNwUNuX8I"
Output for 7.1.12
string(11) "ngMNwUNuVpY"
Output for 7.1.11
string(11) "68MNwUNuW_w"
Output for 7.1.10
string(11) "lYMNwUNuWSU"
Output for 7.1.9
string(11) "roMNwUNuXXM"
Output for 7.1.8
string(11) "pIMNwUNuYWA"
Output for 7.1.7
string(11) "k4MNwUNuYBE"
Output for 7.1.6
string(11) "s0MNwUNuWJw"
Output for 7.1.5
string(11) "pAMNwUNuWeo"
Output for 7.1.4
string(11) "5wMNwUNuWWw"
Output for 7.1.3
string(11) "sYMNwUNuWPE"
Output for 7.1.2
string(11) "6UMNwUNuXXc"
Output for 7.1.1
string(11) "50MNwUNuWow"
Output for 7.1.0
string(11) "9UMNwUNuW-A"
Output for 7.0.33
string(11) "iUMNwUNuVgk"
Output for 7.0.32
string(11) "wwMNwUNuVrU"
Output for 7.0.31
string(11) "wEMNwUNuWNo"
Output for 7.0.30
string(11) "scMNwUNuXLw"
Output for 7.0.29
string(11) "2gMNwUNuWLQ"
Output for 7.0.28
string(11) "0UMNwUNuWtc"
Output for 7.0.27
string(11) "g8MNwUNuYj8"
Output for 7.0.26
string(11) "xMMNwUNuWm4"
Output for 7.0.25
string(11) "gQMNwUNuXbg"
Output for 7.0.24
string(11) "5sMNwUNuXC8"
Output for 7.0.23
string(11) "2wMNwUNuWs0"
Output for 7.0.22
string(11) "k4MNwUNuWNI"
Output for 7.0.21
string(11) "pgMNwUNuV2M"
Output for 7.0.20
string(11) "9kMNwUNuWIQ"
Output for 7.0.19
string(11) "h0MNwUNuWF4"
Output for 7.0.18
string(11) "jsMNwUNuXcU"
Output for 7.0.17
string(11) "ncMNwUNudtg"
Output for 7.0.16
string(11) "nMMNwUNuW0E"
Output for 7.0.15
string(11) "hcMNwUNuX0o"
Output for 7.0.14
string(11) "-EMNwUNuVts"
Output for 7.0.13
string(11) "pIMNwUNuVE4"
Output for 7.0.12
string(11) "6YMNwUNuVmc"
Output for 7.0.11
string(11) "o0MNwUNuW-8"
Output for 7.0.10
string(11) "_oMNwUNuViQ"
Output for 7.0.9
string(11) "nkMNwUNuXrc"
Output for 7.0.8
string(11) "gkMNwUNuZ30"
Output for 7.0.7
string(11) "gAMNwUNuXik"
Output for 7.0.6
string(11) "3YMNwUNuWJo"
Output for 7.0.5
string(11) "swMNwUNuWkQ"
Output for 7.0.4
string(11) "qoMNwUNuXXc"
Output for 7.0.3
string(11) "3IMNwUNuYAc"
Output for 7.0.2
string(11) "ykMNwUNuXFM"
Output for 7.0.1
string(11) "nIMNwUNuWHw"
Output for 7.0.0
string(11) "ysMNwUNuVs8"

preferences:
192.29 ms | 1855 KiB | 225 Q