3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function mt_rand_str ($l, $c = '1234567890') { for ($s = '', $cl = strlen($c)-1, $i = 0; $i < $l; $s .= $c[mt_rand(0, $cl)], ++$i); return $s; } echo mt_rand_str(8); // Something like mp2tmpsw echo mt_rand_str(4, '0123456789'); ?>
Output for 7.1.0
086123499030
Output for 7.0.14
502600149459
Output for 7.0.10
386400252127
Output for 7.0.9
276602372045
Output for 7.0.8
880714377638
Output for 7.0.7
899184781932
Output for 7.0.6
303454761188
Output for 7.0.5
524560209228
Output for 7.0.4
800807372407
Output for 7.0.3
248517205923
Output for 7.0.2
110683165705
Output for 7.0.1
253582490979
Output for 7.0.0
933801060350
Output for hhvm-3.12.0
240741244684
Output for hhvm-3.10.0
208469098090
Output for 5.6.28
229866947715
Output for 5.6.25
363819764343
Output for 5.6.24
369191808496
Output for 5.6.23
754969288655
Output for 5.6.22
553105853297
Output for 5.6.21
914893394416
Output for 5.6.20
525598441249
Output for 5.6.19
812827645131
Output for 5.6.18
096459240039
Output for 5.6.17
904745736999
Output for 5.6.16
287522082367
Output for 5.6.15
110570356606
Output for 5.6.14
360817942040
Output for 5.6.13
050328930062
Output for 5.6.12
057835656498
Output for 5.6.11
668173616445
Output for 5.6.10
804920435839
Output for 5.6.9
803030362187
Output for 5.6.8
454209864900
Output for 5.6.7
495674553753
Output for 5.6.6
277382396015
Output for 5.6.5
007168122561
Output for 5.6.4
785939625163
Output for 5.6.3
456727406527
Output for 5.6.2
088094169412
Output for 5.6.1
384581467798
Output for 5.6.0
066171571941
Output for 5.5.38
210853613336
Output for 5.5.37
438009447532
Output for 5.5.36
676910483479
Output for 5.5.35
279723839597
Output for 5.5.34
547864474982
Output for 5.5.33
855155819640
Output for 5.5.32
612354169475
Output for 5.5.31
669420521599
Output for 5.5.30
927440088894
Output for 5.5.29
362911541540
Output for 5.5.28
962607133134
Output for 5.5.27
305053246747
Output for 5.5.26
712042887547
Output for 5.5.25
295079335308
Output for 5.5.24
006242910934
Output for 5.5.23
043769573432
Output for 5.5.22
266410736863
Output for 5.5.21
508725026152
Output for 5.5.20
277775515712
Output for 5.5.19
779213098426
Output for 5.5.18
568119331800
Output for 5.5.16
031793570656
Output for 5.5.15
404670004885
Output for 5.5.14
894755909488
Output for 5.5.13
759194292390
Output for 5.5.12
507479997515
Output for 5.5.11
349142992852
Output for 5.5.10
813125748528
Output for 5.5.9
153285253760
Output for 5.5.8
401636381958
Output for 5.5.7
132774660984
Output for 5.5.6
260646625969
Output for 5.5.5
637421302273
Output for 5.5.4
772731387089
Output for 5.5.3
069296308724
Output for 5.5.2
845609516017
Output for 5.5.1
731974472351
Output for 5.5.0
883010678846
Output for 5.4.45
673626236448
Output for 5.4.44
606372553694
Output for 5.4.43
670305390565
Output for 5.4.42
535849034499
Output for 5.4.41
829202450365
Output for 5.4.40
911805499230
Output for 5.4.39
289291337995
Output for 5.4.38
342098382967
Output for 5.4.37
087719167052
Output for 5.4.36
158785986083
Output for 5.4.35
812638793199
Output for 5.4.34
925818624712
Output for 5.4.32
345185745783
Output for 5.4.31
931286307929
Output for 5.4.30
594139152205
Output for 5.4.29
386209787436
Output for 5.4.28
301958446383
Output for 5.4.27
273969584712
Output for 5.4.26
550060470722
Output for 5.4.25
126570358891
Output for 5.4.24
844126802611
Output for 5.4.23
241061931357
Output for 5.4.22
968929692969
Output for 5.4.21
281485069482
Output for 5.4.20
023880068407
Output for 5.4.19
555231939448
Output for 5.4.18
361077841652
Output for 5.4.17
640587900933
Output for 5.4.16
063516117233
Output for 5.4.15
143455196996
Output for 5.4.14
527065810616
Output for 5.4.13
700401961010
Output for 5.4.12
381593846256
Output for 5.4.11
917238770390
Output for 5.4.10
837630895423
Output for 5.4.9
907131861382
Output for 5.4.8
837220108347
Output for 5.4.7
369869116939
Output for 5.4.6
105135181496
Output for 5.4.5
916936419664
Output for 5.4.4
415856448125
Output for 5.4.3
211480502123
Output for 5.4.2
179765584355
Output for 5.4.1
714965099467
Output for 5.4.0
385342569809
Output for 5.3.29
986742012191
Output for 5.3.28
532411292002
Output for 5.3.27
567102475859
Output for 5.3.26
381781834159
Output for 5.3.25
219445877841
Output for 5.3.24
984781051667
Output for 5.3.23
646902426907
Output for 5.3.22
873378273014
Output for 5.3.21
519112310542
Output for 5.3.20
651286367272
Output for 5.3.19
335402662462
Output for 5.3.18
706533077092
Output for 5.3.17
974248182191
Output for 5.3.16
167609152545
Output for 5.3.15
246308761733
Output for 5.3.14
467634381612
Output for 5.3.13
882399028774
Output for 5.3.12
696752516420
Output for 5.3.11
019168704869
Output for 5.3.10
531940461149
Output for 5.3.9
775535371009
Output for 5.3.8
836058709748
Output for 5.3.7
393863660933
Output for 5.3.6
296065828107
Output for 5.3.5
496175872405
Output for 5.3.4
777585548875
Output for 5.3.3
287855005384
Output for 5.3.2
769238878815
Output for 5.3.1
813829556573
Output for 5.3.0
307805454947
Output for 5.2.17
663263501496
Output for 5.2.16
407090092242
Output for 5.2.15
031441039869
Output for 5.2.14
162997441766
Output for 5.2.13
642967669445
Output for 5.2.12
787107427433
Output for 5.2.11
703144389494
Output for 5.2.10
670162910632
Output for 5.2.9
114664677280
Output for 5.2.8
048534180476
Output for 5.2.7
024533239452
Output for 5.2.6
000473643296
Output for 5.2.5
464346802095
Output for 5.2.4
554787455112
Output for 5.2.3
264535311357
Output for 5.2.2
151154044580
Output for 5.2.1
380298171475
Output for 5.2.0
907203480924
Output for 5.1.6
969916762699
Output for 5.1.5
896091049859
Output for 5.1.4
314758882699
Output for 5.1.3
665220000512
Output for 5.1.2
303455253671
Output for 5.1.1
829014706571
Output for 5.1.0
905530464698
Output for 5.0.5
633613158180
Output for 5.0.4
905178164534
Output for 5.0.3
373646945770
Output for 5.0.2
130604972943
Output for 5.0.1
479386031418
Output for 5.0.0
709521740358
Output for 4.4.9
075739295895
Output for 4.4.8
178575515266
Output for 4.4.7
554877224661
Output for 4.4.6
743761837678
Output for 4.4.5
692041312585
Output for 4.4.4
808931103093
Output for 4.4.3
674795340396
Output for 4.4.2
990174516727
Output for 4.4.1
986940767125
Output for 4.4.0
126020352900
Output for 4.3.11
013306695990
Output for 4.3.10
603561381786
Output for 4.3.9
377594052234
Output for 4.3.8
022219712744
Output for 4.3.7
235290977060
Output for 4.3.6
215053193876
Output for 4.3.5
262344802621
Output for 4.3.4
104536914113
Output for 4.3.3
128722189287
Output for 4.3.2
857730106664
Output for 4.3.1
221156487291
Output for 4.3.0
022407094966