3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $senha = substr(mt_rand(0, 1000000000), 0, 8); var_dump($senha);
Output for 7.1.0
string(8) "22341750"
Output for 7.0.14
string(8) "73516415"
Output for 7.0.6
string(8) "64525028"
Output for 7.0.5
string(8) "49225360"
Output for 7.0.4
string(8) "51919450"
Output for 7.0.3
string(8) "24764758"
Output for 7.0.2
string(8) "10356994"
Output for 7.0.1
string(8) "63765338"
Output for 7.0.0
string(8) "80332692"
Output for hhvm-3.12.0
string(8) "54183416"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
string(8) "94901224"
Output for 5.6.21
string(8) "14566329"
Output for 5.6.20
string(8) "76018953"
Output for 5.6.19
string(8) "64737739"
Output for 5.6.18
string(8) "39911008"
Output for 5.6.17
string(8) "58873121"
Output for 5.6.16
string(8) "78888668"
Output for 5.6.15
string(8) "76560498"
Output for 5.6.14
string(8) "38913892"
Output for 5.6.13
string(8) "67412993"
Output for 5.6.12
string(8) "92287155"
Output for 5.6.11
string(8) "66868999"
Output for 5.6.10
string(8) "77586564"
Output for 5.6.9
string(8) "94288266"
Output for 5.6.8
string(8) "76078762"
Output for 5.6.7
string(8) "90480858"
Output for 5.5.35
string(8) "63457968"
Output for 5.5.34
string(8) "13042881"
Output for 5.5.33
string(8) "31910297"
Output for 5.5.32
string(8) "51485874"
Output for 5.5.31
string(8) "79940743"
Output for 5.5.30
string(8) "92391571"
Output for 5.5.29
string(8) "63044805"
Output for 5.5.28
string(8) "48797709"
Output for 5.5.27
string(8) "63978958"
Output for 5.5.26
string(8) "43287172"
Output for 5.5.25
string(8) "39875796"
Output for 5.5.24
string(8) "71256115"
Output for 5.4.45
string(8) "61722118"
Output for 5.4.44
string(8) "94595237"
Output for 5.4.43
string(8) "18754944"
Output for 5.4.42
string(8) "47071204"
Output for 5.4.41
string(8) "49455621"
Output for 5.4.40
string(8) "41628747"
Output for 5.4.39
string(8) "65544125"
Output for 5.4.38
string(8) "55320770"
Output for 5.4.37
string(8) "75640062"
Output for 5.4.36
string(8) "56716391"
Output for 5.4.35
string(8) "98275820"
Output for 5.4.34
string(8) "59095020"
Output for 5.4.32
string(7) "5219161"
Output for 5.4.31
string(8) "35409841"
Output for 5.4.30
string(8) "57874621"
Output for 5.4.29
string(8) "19323427"
Output for 5.4.28
string(8) "36797130"
Output for 5.4.27
string(8) "17220264"
Output for 5.4.26
string(8) "92081474"
Output for 5.4.25
string(8) "33113292"
Output for 5.4.24
string(8) "89817588"
Output for 5.4.23
string(8) "14337157"
Output for 5.4.22
string(8) "33682768"
Output for 5.4.21
string(8) "39283708"
Output for 5.4.20
string(8) "67072825"
Output for 5.4.19
string(8) "39064388"
Output for 5.4.18
string(8) "75118418"
Output for 5.4.17
string(8) "89542203"
Output for 5.4.16
string(8) "35662994"
Output for 5.4.15
string(8) "47320285"
Output for 5.4.14
string(8) "46330732"
Output for 5.4.13
string(8) "97064438"
Output for 5.4.12
string(8) "74641859"
Output for 5.4.11
string(8) "47717029"
Output for 5.4.10
string(8) "23683265"
Output for 5.4.9
string(8) "38968207"
Output for 5.4.8
string(8) "65612650"
Output for 5.4.7
string(8) "64697762"
Output for 5.4.6
string(8) "21941807"
Output for 5.4.5
string(8) "33410244"
Output for 5.4.4
string(8) "55382397"
Output for 5.4.3
string(8) "70255564"
Output for 5.4.2
string(8) "15363390"
Output for 5.4.1
string(8) "28531751"
Output for 5.4.0
string(8) "38138614"
Output for 5.3.29
string(8) "13334176"
Output for 5.3.28
string(8) "33933803"
Output for 5.3.27
string(8) "34029969"
Output for 5.3.26
string(8) "28401538"
Output for 5.3.25
string(8) "49863156"
Output for 5.3.24
string(8) "55155402"
Output for 5.3.23
string(8) "24093459"
Output for 5.3.22
string(8) "74098837"
Output for 5.3.21
string(8) "29238771"
Output for 5.3.20
string(8) "34989919"
Output for 5.3.19
string(8) "18981853"
Output for 5.3.18
string(8) "38192974"
Output for 5.3.17
string(8) "53841462"
Output for 5.3.16
string(8) "39009300"
Output for 5.3.15
string(8) "60487518"
Output for 5.3.14
string(8) "52868595"
Output for 5.3.13
string(8) "79896939"
Output for 5.3.12
string(8) "29735464"
Output for 5.3.11
string(8) "86942745"
Output for 5.3.10
string(8) "18359310"
Output for 5.3.9
string(8) "97531024"
Output for 5.3.8
string(8) "11725523"
Output for 5.3.7
string(8) "16550299"
Output for 5.3.6
string(8) "29243757"
Output for 5.3.5
string(8) "60503129"
Output for 5.3.4
string(8) "58247273"
Output for 5.3.3
string(8) "70571825"
Output for 5.3.2
string(8) "12083723"
Output for 5.3.1
string(8) "50762602"
Output for 5.3.0
string(8) "37869838"
Output for 5.2.17
string(8) "13749298"
Output for 5.2.16
string(8) "34614401"
Output for 5.2.15
string(8) "13836254"
Output for 5.2.14
string(8) "62081835"
Output for 5.2.13
string(8) "40205628"
Output for 5.2.12
string(8) "72170118"
Output for 5.2.11
string(8) "23536557"
Output for 5.2.10
string(8) "76448293"
Output for 5.2.9
string(8) "94964582"
Output for 5.2.8
string(8) "16867444"
Output for 5.2.7
string(8) "76807506"
Output for 5.2.6
string(8) "11080660"
Output for 5.2.5
string(8) "48224902"
Output for 5.2.4
string(8) "32462001"
Output for 5.2.3
string(8) "77571106"
Output for 5.2.2
string(8) "99066612"
Output for 5.2.1
string(8) "72421834"
Output for 5.2.0
string(8) "78231270"
Output for 5.1.6
string(8) "41742294"
Output for 5.1.5
string(8) "81850240"
Output for 5.1.4
string(8) "69313648"
Output for 5.1.3
string(8) "29909107"
Output for 5.1.2
string(8) "38811402"
Output for 5.1.1
string(8) "52868243"
Output for 5.1.0
string(8) "71978175"
Output for 5.0.5
string(8) "57619080"
Output for 5.0.4
string(8) "98428382"
Output for 5.0.3
string(8) "75513390"
Output for 5.0.2
string(8) "95900101"
Output for 5.0.1
string(8) "36365424"
Output for 5.0.0
string(8) "21178919"
Output for 4.4.9
string(8) "57708230"
Output for 4.4.8
string(8) "48698464"
Output for 4.4.7
string(8) "79762870"
Output for 4.4.6
string(8) "51832435"
Output for 4.4.5
string(8) "49383998"
Output for 4.4.4
string(8) "63478083"
Output for 4.4.3
string(8) "71486826"
Output for 4.4.2
string(8) "15927953"
Output for 4.4.1
string(8) "49574813"
Output for 4.4.0
string(8) "16383606"
Output for 4.3.11
string(8) "72274751"
Output for 4.3.10
string(8) "16698005"
Output for 4.3.9
string(8) "96584480"
Output for 4.3.8
string(8) "97778290"
Output for 4.3.7
string(8) "80503699"
Output for 4.3.6
string(8) "41494191"
Output for 4.3.5
string(8) "14264557"
Output for 4.3.4
string(8) "65572217"
Output for 4.3.3
string(8) "22153248"
Output for 4.3.2
string(8) "67748449"
Output for 4.3.1
string(8) "32068189"
Output for 4.3.0
string(8) "72970633"