@ 2018-10-23T19:23:44Z <?php
function random_password(int $min, int $max)
{
$allowed = array_merge(
[33, 60, 62, 94, 95],
range(48, 57),
range(64, 90),
range(97, 122)
);
$l = random_int($min, $max);
$chars = [];
while ($l--) {
$bi = random_int(0, count($allowed)-1);
$chars[] = chr($allowed[$bi]);
}
return implode('', $chars);
}
var_dump(random_password(8, 12));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.4.1 string(10) "fitWetGl@c"
Output for 7.4.0 string(10) "6xFvuR0I9S"
Output for 7.3.13 string(11) "h4FHsq7!TbG"
Output for 7.3.12 string(9) "ztlzXSNp6"
Output for 7.3.11 string(9) "LmtkwkTTJ"
Output for 7.3.10 string(9) "DDOHup@@p"
Output for 7.3.9 string(8) "gQ@ISt_d"
Output for 7.3.8 string(12) "WcDcHthDdL_@"
Output for 7.3.7 string(9) "Ayv_MyDIU"
Output for 7.3.6 string(9) "Cp_HYRrIE"
Output for 7.3.5 string(10) "GHTsQRItO4"
Output for 7.3.4 string(10) "XKKU6>uaHw"
Output for 7.3.3 string(10) "1Sz^6gq^dL"
Output for 7.3.2 string(10) "iXYopuYpR_"
Output for 7.3.1 string(12) ">UN3ajYDvFaG"
Output for 7.3.0 string(11) "b6eEppak9qz"
Output for 7.2.26 string(11) "q9S0C1ldfm9"
Output for 7.2.25 string(8) "iP6tpObw"
Output for 7.2.24 string(10) "O4IBDIA1l7"
Output for 7.2.23 string(12) "mdGcQ>Djs@67"
Output for 7.2.22 string(9) "uILkh!acF"
Output for 7.2.21 string(8) "fx9mmQcg"
Output for 7.2.20 string(11) "fJ2yk1NNB4y"
Output for 7.2.19 string(10) "yn0<!>Ow1h"
Output for 7.2.18 string(9) "zttF1Hn8R"
Output for 7.2.17 string(12) "gkS8sgh4OIRL"
Output for 7.2.16 string(8) "yh0irQvM"
Output for 7.2.15 string(8) "eZOmpemx"
Output for 7.2.14 string(12) "U4^IBj<<81^4"
Output for 7.2.13 string(9) "jfRuUKT>l"
Output for 7.2.12 string(9) "4c^NdVpsI"
Output for 7.2.11 string(8) "ga0lCsxZ"
Output for 7.2.10 string(12) "rz@R1CiieZvw"
Output for 7.2.9 string(9) "nxPJxQ1RM"
Output for 7.2.8 string(12) "oam_61d!Tad1"
Output for 7.2.7 string(8) "JLSavKYo"
Output for 7.2.6 string(9) "eb61^Y5Jh"
Output for 7.2.5 string(12) "^<Zx5Zh_qPi^"
Output for 7.2.4 string(12) "KMfQUGi6Qlfd"
Output for 7.2.3 string(11) "6<mUkJygfc5"
Output for 7.2.2 string(10) "LEKcOk>YU1"
Output for 7.2.1 string(11) "n2NoMEF^Cei"
Output for 7.2.0 string(9) "Q33k^2@gJ"
Output for 7.1.33 string(8) "6Chzu0s8"
Output for 7.1.32 string(10) "7zzWTY_S9g"
Output for 7.1.31 string(12) "oNEoobE^6fbj"
Output for 7.1.30 string(8) "qVLS5W!e"
Output for 7.1.29 string(9) "GTtH9GAlO"
Output for 7.1.28 string(11) "u18z5W_X1WS"
Output for 7.1.27 string(10) "WgE6<6szCU"
Output for 7.1.26 string(11) "NdHJ!DfA3Kx"
Output for 7.1.25 string(8) "_0TltmlH"
Output for 7.1.24 string(12) "!naS4AJG2qZo"
Output for 7.1.23 string(9) ">@en<Bxsm"
Output for 7.1.22 string(12) "zDMuu<M6>E<T"
Output for 7.1.21 string(9) "uSkKS3g@j"
Output for 7.1.20 string(12) "i!weo40xw3Lk"
Output for 7.1.19 string(8) "kKAV>Gl8"
Output for 7.1.18 string(11) "nRo0YnG<qK6"
Output for 7.1.17 string(10) "dUwlWgSNdn"
Output for 7.1.16 string(9) "uGy>llle7"
Output for 7.1.15 string(9) "H3bg_CyZo"
Output for 7.1.14 string(8) "rGi!8Hgg"
Output for 7.1.13 string(8) "inQv5DP3"
Output for 7.1.12 string(8) "7Zr<N35H"
Output for 7.1.11 string(9) "Vt>UtQTEc"
Output for 7.1.10 string(12) ">nqgs_Jt<!vS"
Output for 7.1.9 string(9) "CY6Wzzw5R"
Output for 7.1.8 string(12) "2rOD_941@oZ5"
Output for 7.1.7 string(11) "rsPg4vXg3Dq"
Output for 7.1.6 string(11) "BH0MUoC5cJf"
Output for 7.1.5 string(9) "uWR1DfjPn"
Output for 7.1.4 string(8) "BITmV1bL"
Output for 7.1.3 string(11) "Bug!ehhZC3S"
Output for 7.1.2 string(12) "Oe8nMU>s1c2B"
Output for 7.1.1 string(9) "kCjpK8Imz"
Output for 7.1.0 string(11) "_wUot6GC2bE"
Output for 7.0.33 string(8) "c1eAvc_P"
Output for 7.0.32 string(8) "8XgT>Ln8"
Output for 7.0.31 string(11) "EDVryzPoCSg"
Output for 7.0.30 string(9) "4V7EkHYB1"
Output for 7.0.29 string(12) "2u<aZK07Da57"
Output for 7.0.28 string(12) "j@YmelXjtL4R"
Output for 7.0.27 string(10) "4cKQ18HzTd"
Output for 7.0.26 string(11) "88PDDC5u5cH"
Output for 7.0.25 string(8) "bl3HrGfW"
Output for 7.0.24 string(10) "tYXlG6Dj^8"
Output for 7.0.23 string(10) ">vUsnnOV3T"
Output for 7.0.22 string(8) "Az>_wOi1"
Output for 7.0.21 string(8) "67sMzkny"
Output for 7.0.20 string(12) "X@!Jax0rnHev"
Output for 7.0.19 string(11) "B@5K0L_bC0x"
Output for 7.0.18 string(11) "7SLBIER9J3_"
Output for 7.0.17 string(11) "5cUdcsAV2E0"
Output for 7.0.16 string(12) ">c4XgUWL9tjM"
Output for 7.0.15 string(12) "DXFK>D!dKHAo"
Output for 7.0.14 string(8) "otulp8oJ"
Output for 7.0.13 string(12) "PIzOxuwCrKLr"
Output for 7.0.12 string(10) "m7Ig>cgWQz"
Output for 7.0.11 string(9) "naLJAZyBT"
Output for 7.0.10 string(9) "FN2vtu729"
Output for 7.0.9 string(10) "YsvVymR95a"
Output for 7.0.8 string(10) "ZzpRGhPOoj"
Output for 7.0.7 string(11) "gXNhml@nTac"
Output for 7.0.6 string(9) "PKo92lvgZ"
Output for 7.0.5 string(8) "vLCV_QvM"
Output for 7.0.4 string(11) "0WBEbEnSjUj"
Output for 7.0.3 string(9) "ZI3bduabb"
Output for 7.0.2 string(9) "IZY3^6U<7"
Output for 7.0.1 string(10) "sw0GNsacgX"
Output for 7.0.0 string(8) "Y2lO@_V1"
Output for 5.6.0 - 5.6.40 Catchable fatal error: Argument 1 passed to random_password() must be an instance of int, integer given, called in /in/7D2pL on line 24 and defined in /in/7D2pL on line 3
Process exited with code 255 . preferences:dark mode live preview
115.95 ms | 401 KiB | 157 Q