3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump([rand(0, 5000000),rand(0, 5000000),rand(0, 5000000)]);
Output for 7.1.0
array(3) { [0]=> int(3232898) [1]=> int(498188) [2]=> int(2887711) }
Output for 7.0.14
array(3) { [0]=> int(1401573) [1]=> int(1072208) [2]=> int(1899556) }
Output for 7.0.6
array(3) { [0]=> int(703192) [1]=> int(4858559) [2]=> int(3690650) }
Output for 7.0.5
array(3) { [0]=> int(4471028) [1]=> int(3459206) [2]=> int(4379298) }
Output for 7.0.4
array(3) { [0]=> int(1381804) [1]=> int(4219181) [2]=> int(1357806) }
Output for 7.0.3
array(3) { [0]=> int(2881013) [1]=> int(534006) [2]=> int(2826661) }
Output for 7.0.2
array(3) { [0]=> int(566281) [1]=> int(238553) [2]=> int(3103702) }
Output for 7.0.1
array(3) { [0]=> int(4123371) [1]=> int(256327) [2]=> int(3738802) }
Output for 7.0.0
array(3) { [0]=> int(1970508) [1]=> int(4553016) [2]=> int(3719641) }
Output for hhvm-3.12.0
array(3) { [0]=> int(2561404) [1]=> int(1979623) [2]=> int(3188847) }
Output for hhvm-3.10.0
array(3) { [0]=> int(3556983) [1]=> int(2191754) [2]=> int(3354005) }
Output for 5.6.28
array(3) { [0]=> int(1936915) [1]=> int(4453027) [2]=> int(992930) }
Output for 5.6.21
array(3) { [0]=> int(1384227) [1]=> int(4151745) [2]=> int(3432800) }
Output for 5.6.20
array(3) { [0]=> int(4586542) [1]=> int(1603781) [2]=> int(3103571) }
Output for 5.6.19
array(3) { [0]=> int(3985910) [1]=> int(4042071) [2]=> int(227743) }
Output for 5.6.18
array(3) { [0]=> int(2203472) [1]=> int(2937561) [2]=> int(1277316) }
Output for 5.6.17
array(3) { [0]=> int(2300738) [1]=> int(144911) [2]=> int(4522468) }
Output for 5.6.16
array(3) { [0]=> int(419981) [1]=> int(1399867) [2]=> int(2273477) }
Output for 5.6.15
array(3) { [0]=> int(1399076) [1]=> int(3175333) [2]=> int(1872509) }
Output for 5.6.14
array(3) { [0]=> int(2471658) [1]=> int(513385) [2]=> int(1426042) }
Output for 5.6.13
array(3) { [0]=> int(985179) [1]=> int(1188110) [2]=> int(1880135) }
Output for 5.6.12
array(3) { [0]=> int(1502282) [1]=> int(3541756) [2]=> int(1362424) }
Output for 5.6.11
array(3) { [0]=> int(4049136) [1]=> int(3913064) [2]=> int(190036) }
Output for 5.6.10
array(3) { [0]=> int(3384300) [1]=> int(3753101) [2]=> int(1112322) }
Output for 5.6.9
array(3) { [0]=> int(4349312) [1]=> int(1384991) [2]=> int(544773) }
Output for 5.6.8
array(3) { [0]=> int(3104376) [1]=> int(1016586) [2]=> int(3590778) }
Output for 5.5.35
array(3) { [0]=> int(915899) [1]=> int(4096187) [2]=> int(3640560) }
Output for 5.5.34
array(3) { [0]=> int(4219831) [1]=> int(163850) [2]=> int(4670776) }
Output for 5.5.33
array(3) { [0]=> int(3377408) [1]=> int(2192625) [2]=> int(1226670) }
Output for 5.5.32
array(3) { [0]=> int(4483323) [1]=> int(2275287) [2]=> int(1418879) }
Output for 5.5.31
array(3) { [0]=> int(490773) [1]=> int(212465) [2]=> int(3330442) }
Output for 5.5.30
array(3) { [0]=> int(2739743) [1]=> int(1751537) [2]=> int(3841895) }
Output for 5.5.29
array(3) { [0]=> int(2295876) [1]=> int(1846854) [2]=> int(3209342) }
Output for 5.5.28
array(3) { [0]=> int(4809699) [1]=> int(3669876) [2]=> int(1306955) }
Output for 5.5.27
array(3) { [0]=> int(4160999) [1]=> int(4964831) [2]=> int(4525357) }
Output for 5.5.26
array(3) { [0]=> int(4156646) [1]=> int(2183489) [2]=> int(2163880) }
Output for 5.5.25
array(3) { [0]=> int(2683952) [1]=> int(4852789) [2]=> int(2615330) }
Output for 5.5.24
array(3) { [0]=> int(1730602) [1]=> int(2490825) [2]=> int(2241676) }
Output for 5.4.45
array(3) { [0]=> int(1288260) [1]=> int(501994) [2]=> int(2230559) }
Output for 5.4.44
array(3) { [0]=> int(4848195) [1]=> int(4716733) [2]=> int(3802186) }
Output for 5.4.43
array(3) { [0]=> int(3500125) [1]=> int(520320) [2]=> int(1119144) }
Output for 5.4.42
array(3) { [0]=> int(4378501) [1]=> int(1210570) [2]=> int(4766370) }
Output for 5.4.41
array(3) { [0]=> int(1260793) [1]=> int(2351706) [2]=> int(3691572) }
Output for 5.4.40
array(3) { [0]=> int(2568749) [1]=> int(3826660) [2]=> int(1185286) }
Output for 5.4.39
array(3) { [0]=> int(1791230) [1]=> int(3287479) [2]=> int(4192569) }
Output for 5.4.38
array(3) { [0]=> int(2508572) [1]=> int(4093246) [2]=> int(247544) }
Output for 5.4.37
array(3) { [0]=> int(4408140) [1]=> int(1685556) [2]=> int(515309) }
Output for 5.4.36
array(3) { [0]=> int(4638508) [1]=> int(2749934) [2]=> int(4721494) }
Output for 5.4.35
array(3) { [0]=> int(3423035) [1]=> int(3229473) [2]=> int(2527143) }
Output for 5.4.34
array(3) { [0]=> int(4291527) [1]=> int(268208) [2]=> int(1141504) }
Output for 5.4.32
array(3) { [0]=> int(3461142) [1]=> int(1085857) [2]=> int(2877268) }
Output for 5.4.31
array(3) { [0]=> int(3177183) [1]=> int(1282919) [2]=> int(878229) }
Output for 5.4.30
array(3) { [0]=> int(308890) [1]=> int(1592767) [2]=> int(2712793) }
Output for 5.4.29
array(3) { [0]=> int(3518050) [1]=> int(3852192) [2]=> int(2745038) }
Output for 5.4.28
array(3) { [0]=> int(1464740) [1]=> int(2741131) [2]=> int(1842236) }
Output for 5.4.27
array(3) { [0]=> int(1342468) [1]=> int(796959) [2]=> int(103076) }
Output for 5.4.26
array(3) { [0]=> int(2556169) [1]=> int(3871536) [2]=> int(3043153) }
Output for 5.4.25
array(3) { [0]=> int(1376611) [1]=> int(3867106) [2]=> int(1423951) }
Output for 5.4.24
array(3) { [0]=> int(3471795) [1]=> int(1779488) [2]=> int(871906) }
Output for 5.4.23
array(3) { [0]=> int(1275737) [1]=> int(1151777) [2]=> int(4111855) }
Output for 5.4.22
array(3) { [0]=> int(2691829) [1]=> int(172708) [2]=> int(914266) }
Output for 5.4.21
array(3) { [0]=> int(4447571) [1]=> int(2450676) [2]=> int(4749654) }
Output for 5.4.20
array(3) { [0]=> int(1072680) [1]=> int(4544096) [2]=> int(550916) }
Output for 5.4.19
array(3) { [0]=> int(1009420) [1]=> int(3945663) [2]=> int(4437942) }
Output for 5.4.18
array(3) { [0]=> int(243189) [1]=> int(2058270) [2]=> int(2244227) }
Output for 5.4.17
array(3) { [0]=> int(2681041) [1]=> int(3550922) [2]=> int(3324782) }
Output for 5.4.16
array(3) { [0]=> int(1791933) [1]=> int(2161111) [2]=> int(3159490) }
Output for 5.4.15
array(3) { [0]=> int(4023556) [1]=> int(2060457) [2]=> int(2546977) }
Output for 5.4.14
array(3) { [0]=> int(1585896) [1]=> int(1571600) [2]=> int(2366441) }
Output for 5.4.13
array(3) { [0]=> int(4210562) [1]=> int(1884550) [2]=> int(531066) }
Output for 5.4.12
array(3) { [0]=> int(2624398) [1]=> int(3743) [2]=> int(1573031) }
Output for 5.4.11
array(3) { [0]=> int(2010312) [1]=> int(167667) [2]=> int(3272899) }
Output for 5.4.10
array(3) { [0]=> int(2440435) [1]=> int(2027675) [2]=> int(4055714) }
Output for 5.4.9
array(3) { [0]=> int(1474072) [1]=> int(4677284) [2]=> int(1665028) }
Output for 5.4.8
array(3) { [0]=> int(2044756) [1]=> int(3884003) [2]=> int(4189337) }
Output for 5.4.7
array(3) { [0]=> int(4369411) [1]=> int(1487413) [2]=> int(2134602) }
Output for 5.4.6
array(3) { [0]=> int(2537547) [1]=> int(4764827) [2]=> int(2415693) }
Output for 5.4.5
array(3) { [0]=> int(4274297) [1]=> int(4761720) [2]=> int(388088) }
Output for 5.4.4
array(3) { [0]=> int(4247848) [1]=> int(208848) [2]=> int(464336) }
Output for 5.4.3
array(3) { [0]=> int(3517779) [1]=> int(3299831) [2]=> int(4806168) }
Output for 5.4.2
array(3) { [0]=> int(3843514) [1]=> int(2747942) [2]=> int(3873131) }
Output for 5.4.1
array(3) { [0]=> int(1841991) [1]=> int(143195) [2]=> int(4305857) }
Output for 5.4.0
array(3) { [0]=> int(2559041) [1]=> int(4711744) [2]=> int(3839545) }
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/He9ZM on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[', expecting ')' in /in/He9ZM on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/He9ZM on line 3
Process exited with code 255.