3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(base64_encode(random_bytes(40)));
Output for 7.2.9
string(56) "AcgWMnhvFFGCrInoFwPEwyGI11BAa943hvC/y9Quy9ZuQ83cNvk3uA=="
Output for 7.2.8
string(56) "6SDL6yvvnE2G3WtTe6gHxTUOH3S8JeHqpuhGPu2UrnYlIGl8E9XtLw=="
Output for 7.2.7
string(56) "2IRmzNcJzYkB6hQdBmQjLNHdVoCy+8NfBk19KsyI1bPdR6hyK5I13w=="
Output for 7.2.6
string(56) "wQSWxLdocAfUvfMtV1M0D+mai5ixsyXkQvEZ64f3BI/K866PISG2Og=="
Output for 7.2.5
string(56) "Rf60SurP2dHXE27GgBnq/2FbHrSKZ6IUAAwbI6U+IkuSkMnkrmoLIg=="
Output for 7.2.4
string(56) "sBYhJzS7+Vq3c+FFwY6FfMCAijpezkJj4blLqEy0bS+JUdXV8zyNrA=="
Output for 7.2.3
string(56) "XjTb53qlxxpN4cHAmtvo8DrJrV44smvSiyCPj3+fzSHtvh9L/dgs4g=="
Output for 7.2.2
string(56) "iJ0z6dtNZkK+0ojCfYgth/yfRNK9+vznni852FnPIWjSSAZX1Lwgyw=="
Output for 7.2.1
string(56) "Q8wjMV7vNix6A5YbDpqu67+znkZiSe1isxGeGZhXPxb7kq6qzYAQxA=="
Output for 7.2.0
string(56) "upuvfy3FAkwHhftiNiKuXcMoiLdygbA997ycJKFhkYV3ufEq8n52Ow=="
Output for 7.1.21
string(56) "ZEDnYBhr1sWtkmuG0hQgkSGAE6P02P2O/P+4Xmmx197r7F8uDGptbA=="
Output for 7.1.20
string(56) "QU2uIpQ2H9cyoP56lop9GRRlmoyZBKlETURMu/ZJNsH1oQiUDmsATg=="
Output for 7.1.19
string(56) "NQvgKzQMeN6uWuJHUvMi4p12DR4CEr5bRYNBk+x7Y3PjhDE/zGVprA=="
Output for 7.1.18
string(56) "PEeUAJImOO/C/GrKh/oLs23ezK4z2yaAt+IAmNccL5RK1AVR19itXg=="
Output for 7.1.17
string(56) "/2ULOSIOzCbZX14qFWvOxYYADYitpc3VLjgO5AXpWZIUkXEcCzWagg=="
Output for 7.1.16
string(56) "Li1bMQPoGVr4o+mla5RA75WxET00ZsNnkJejvW/abTnxS5ZxnXemUA=="
Output for 7.1.15
string(56) "XuIoi36VTPWL1+JyBCNse3bh/xQkMLqO4Fx23UbToWbgbK+Rx51TrQ=="
Output for 7.1.14
string(56) "i2NN8iE4ZOYpDJ1FeKTyf2cMTYyOrH+gtD4cyudresgaAlwI4FcxmQ=="
Output for 7.1.13
string(56) "oBcTABCj6Ocj3ZGqKtx4+SiQkJtSMIGTRAgZ+wK6IBeGzDQmcLQO/w=="
Output for 7.1.12
string(56) "suQvNlE4elWvdppYhog/npFIi+XaNWWVewLQlW2LH+tWaUZtCkna+g=="
Output for 7.1.11
string(56) "xtNFx2BUPNG6V7TdeZE4Jw7zR42b2YCwONT8YKrz39aycw8Z4av9oQ=="
Output for 7.1.10
string(56) "Eue7WjsaJZNHmIG/yltA4k59jQqcluumS7xgw4b5k13okMsUUMrw7A=="
Output for 7.1.9
string(56) "z2QA+l93yk1T8eEDMjSKIpnh6YHtXjCpSWrMb0BjVKBdKBZck0n/MA=="
Output for 7.1.8
string(56) "6COMd5ihxFFsG3Zfd1X+7WwlEZtmWhZXWs7+UHJUebmeKwWWpvC7Iw=="
Output for 7.1.7
string(56) "nwHDS7sOOdHUEGFnHDXi/oL/v5jpRpXiRluY3zJDobxU7scfnfUgmQ=="
Output for 7.1.6
string(56) "Z9b4j8DwmKumoFcSte91aon6nnMgcZgmUa9ZH9PZ1cd0Jh1oKpdH4A=="
Output for 7.1.5
string(56) "PtJ1VsI1wEbfwXLe3ua22yF9ErPI4kWpVjgl+vg0w2py7tSRVzNlHA=="
Output for 7.1.4
string(56) "UwEkt74TT7GFLau2eUsDPMTvOzdfjkhEgjbZ/PNi4/GqGUdQSYj9Bw=="
Output for 7.1.3
string(56) "5//uZ0e3biIWH0Q1/Mp+/Qn4UQCWJldskNSm+SHIajKSUh4OK93c3w=="
Output for 7.1.2
string(56) "wDjJH+KgNL7laCFHcvIhZy5JRfNQdiG+u67D2gWZ/rsf0MVZHyV/BA=="
Output for 7.1.1
string(56) "Y3M5GQCIQKvRFJ0sbMHr4NpjDzIMPY9jPjMULhgj8HPB+Dn1ioS9Rg=="
Output for 7.1.0
string(56) "o2eIVVcSZRA/MfKApmIb0qFw9vvEAbdnKChyZ9lW2/zSWYr8P8qZNA=="
Output for 7.0.31
string(56) "LkJISlsiCnZKi/brYvF8Y9a7OBwRbfeJZzv3CfnN+65FBFWmUtYS5g=="
Output for 7.0.30
string(56) "YSBc4qdGdBJXs/eZ+D8smfU26LSBZa+Js4WKV41HLT1PwD9FEjNN4Q=="
Output for 7.0.29
string(56) "UmrmeDP2MLqUAD/13howY8Wc6IAQuzUV8/WYStay5P/0Y3UmR2aS6Q=="
Output for 7.0.28
string(56) "wuLbz3uqxvyxQlkLvd6dJ3PB8VgDOe0RdZ+Bh6E3gAC1MZwXM7KxnA=="
Output for 7.0.27
string(56) "7f0J20HDdNvlaqWHoq5gf9rvUJEdXFb92GepN+SfVJEqzLQ3YTHGAg=="
Output for 7.0.26
string(56) "wM4+ETq8qmz4JUJDnEk4MlqaK7oroxLmimHrdEAOFcUgW5k9ukhNng=="
Output for 7.0.25
string(56) "aGxrsLZGHpXssuaWnvSBBbtPcTWobCEYLVKH0pFsA5n5WxeAhmHIEw=="
Output for 7.0.24
string(56) "pASB2/tFBvjlSKYZ/XKTGF04pIYP1pker1fxsRFeetRK4o0dDGa0Gg=="
Output for 7.0.23
string(56) "4Xko3zslgFWR/Ne/JwQnjg4DhzBV40f7vdJfM0toioAsCEcaj/xwSw=="
Output for 7.0.22
string(56) "HVidtHL7ZXoPwyszo+Zb7ChRISWrqgRYC0iH6NS9cJ+Ldlifk0nfRA=="
Output for 7.0.21
string(56) "rnEUvfde2Y2/NAWVWVL7tMbyuACFXdzCWKbmPRghcmFd8k1U1TpncA=="
Output for 7.0.20
string(56) "BKkfgAGo30gDPoGilrj47YLfwLoMit5aYFYM+51ellAA98zrdhJrFQ=="
Output for 7.0.19
string(56) "4t/Ct0YFvzmbGYr7dj5LxN43jPoL0+9hxUiNDDCZHVaVuycV2XIDAw=="
Output for 7.0.18
string(56) "YUOdKBqokQhUidw1CHTzHodvPHDdmMEegR9tJxcxIEhnH7CD8a9FOQ=="
Output for 7.0.17
string(56) "B4v5aOwz8qvSbuBx9yn3Bdk8es4rqFGct18t+PmI5CRgn7H+DnnxvA=="
Output for 7.0.16
string(56) "zYqeT3RdIaqyIO98ZyI3Rjt2xQIQHH/X4cQw2fBRrrC2gFTazjhKcQ=="
Output for 7.0.15
string(56) "MZ1dRKr+taL8MsRLgvc89Otmx2pPJb3+U7ex+GKWsCWVapZzhtfSiw=="
Output for 7.0.14
string(56) "Q27Bg6LOUsowK3/kCgRTGi0kz3EmnEmEDalrn2lIXKRVZN51ODnyVw=="
Output for 7.0.13
string(56) "ivBUgoEsKhDrUfXc+a7r1W5ih7unPPH6l81o9jAo9MSF2GA+lmrGlg=="
Output for 7.0.12
string(56) "X7Y1BHx2VwBhfJtUwKoMljkDFohIjY//Ewd0QXiZqXE+DCvBAfvRig=="
Output for 7.0.11
string(56) "jtKHAt4HSSzV2EtpnB1dWsYb0aNIud1LaxQccpGzdOeW5UDnCZh2iw=="
Output for 7.0.10
string(56) "aIVsBne/urfmHsTL/mflJNu7LLvtuFCwrO0d39iUGBbOvv1g9aYGrg=="
Output for 7.0.9
string(56) "QL6TaNWxZeXOWNRWURXWAPsPYW8QeXgL8gPlJil/GL3Q0IlZdmVa5Q=="
Output for 7.0.8
string(56) "TFVZ6H0Ppotz/FUbIlk81wRrjr76Mz2v5VNR4lliDbUGfUmVhB6/CA=="
Output for 7.0.7
string(56) "C434UM5qy+u633nI2JYqEhHuQmMgcdSkLigKEbXYoeKPdLVXfXG/oQ=="
Output for 7.0.6
string(56) "cAi0mXnJ+aCF/RC8UX015gr6BCwGBcVGckmubh9tWjkbwyGlhsFSmA=="
Output for 7.0.5
string(56) "QW1n9U9+xDcvYYIOIAgm5B0l6rhuxyagCe7tPXhzuxXhAkNjTkDELQ=="
Output for 7.0.4
string(56) "5zzGH/The5ieits9r21N2tENh8XlxyLfaHd3E1dbJDI3q7c/cIkS/A=="
Output for 7.0.3
string(56) "0uAl4pfkTPGS+uAjTkUb5tZmj9VWld4F6bPDEB/2PWcjNuE+0+yMgw=="
Output for 7.0.2
string(56) "5KQ2/SuThEKeg+SCdakSXEfsM0YCiiAtSIUHl5Qnby5QPOi0HKDNqg=="
Output for 7.0.1
string(56) "lpUkH5zy4hly1fwtUtNNh4eQx+tUXE3KQBtHerqvniKSOD9D9/Tuhg=="
Output for 7.0.0
string(56) "DF6oAe4Kx/Ptp+3CtXAzmNHvoiUOnY7mWPN/soEtg4TWoICcHS2EIg=="

preferences:
41.47 ms | 494 KiB | 5 Q